diff options
Diffstat (limited to 'dev-python/terminaltables')
-rw-r--r-- | dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild | 9 | ||||
-rw-r--r-- | dev-python/terminaltables/terminaltables-9999.ebuild | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild index b08a653b797d..2e78fc2ba3c7 100644 --- a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild +++ b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 @@ -38,3 +38,10 @@ src_prepare() { distutils-r1_src_prepare } + +python_test() { + # We override FORCE_COLOR otherwise termcolor + # would pick it up from env. and give unexpected + # output for tests. + FORCE_COLOR=1 epytest +} diff --git a/dev-python/terminaltables/terminaltables-9999.ebuild b/dev-python/terminaltables/terminaltables-9999.ebuild index c5cb790fdd38..5b904f1c7220 100644 --- a/dev-python/terminaltables/terminaltables-9999.ebuild +++ b/dev-python/terminaltables/terminaltables-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 git-r3 @@ -32,3 +32,10 @@ src_prepare() { distutils-r1_src_prepare } + +python_test() { + # We override FORCE_COLOR otherwise termcolor + # would pick it up from env. and give unexpected + # output for tests. + FORCE_COLOR=1 epytest +} |