summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-27 16:10:17 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-27 16:11:10 +0200
commit5410468e597dcd1244811b02b215c8df918e2c41 (patch)
treecbb90fef6d0cd4a7ed84dd2f70ab40e04564a794 /dev-python/rply
parentnet-proxy/trojan: fix permission with log file (diff)
downloadgentoo-5410468e597dcd1244811b02b215c8df918e2c41.tar.gz
gentoo-5410468e597dcd1244811b02b215c8df918e2c41.tar.bz2
gentoo-5410468e597dcd1244811b02b215c8df918e2c41.zip
dev-python/rply: Enable up to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rply')
-rw-r--r--dev-python/rply/rply-0.7.7-r1.ebuild (renamed from dev-python/rply/rply-0.7.7.ebuild)11
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-python/rply/rply-0.7.7.ebuild b/dev-python/rply/rply-0.7.7-r1.ebuild
index 7517d698f0a8..cbe95f22ad3c 100644
--- a/dev-python/rply/rply-0.7.7.ebuild
+++ b/dev-python/rply/rply-0.7.7-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -14,16 +14,11 @@ SRC_URI="https://github.com/alex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
DEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
- dev-python/py[${PYTHON_USEDEP}]
- dev-python/pytest[${PYTHON_USEDEP}] )"
+ dev-python/py[${PYTHON_USEDEP}] )"
-python_test() {
- pytest -vv || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests pytest