summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-17 00:59:42 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-17 01:08:38 +0100
commitaff5d939aad8a53a3cc6c54c9f5a2dd1816eafb8 (patch)
tree1a509d519ee49324d83a16047c20dac7c56d91af /dev-python/colorlog
parentdev-python/cli_helpers: Sync the live ebuild (diff)
downloadgentoo-aff5d939aad8a53a3cc6c54c9f5a2dd1816eafb8.tar.gz
gentoo-aff5d939aad8a53a3cc6c54c9f5a2dd1816eafb8.tar.bz2
gentoo-aff5d939aad8a53a3cc6c54c9f5a2dd1816eafb8.zip
dev-python/colorlog: Port up to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/colorlog')
-rw-r--r--dev-python/colorlog/colorlog-3.1.4.ebuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/dev-python/colorlog/colorlog-3.1.4.ebuild b/dev-python/colorlog/colorlog-3.1.4.ebuild
index a548343d5989..a70b472915e9 100644
--- a/dev-python/colorlog/colorlog-3.1.4.ebuild
+++ b/dev-python/colorlog/colorlog-3.1.4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{6,7} )
+PYTHON_COMPAT=( pypy3 python3_{6..9} )
inherit distutils-r1
@@ -14,15 +14,9 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-RDEPEND=""
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
+distutils_enable_tests pytest
python_test() {
- py.test -vv -p no:logging || die
+ pytest -vv -p no:logging || die
}