summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2019-11-17 16:21:10 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2019-11-17 18:11:58 +0300
commitda1b6870edc3742de0752cf6b8d3e2ca6d1b6663 (patch)
tree67c1d97c841360b8b9222757d7d03a05760b507b /dev-python/rnc2rng
parentdev-python/mmtf-python: Add py3.7 and move to eapi7 (diff)
downloadgentoo-da1b6870edc3742de0752cf6b8d3e2ca6d1b6663.tar.gz
gentoo-da1b6870edc3742de0752cf6b8d3e2ca6d1b6663.tar.bz2
gentoo-da1b6870edc3742de0752cf6b8d3e2ca6d1b6663.zip
dev-python/rnc2rng: Add py3.7
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'dev-python/rnc2rng')
-rw-r--r--dev-python/rnc2rng/rnc2rng-2.6.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/rnc2rng/rnc2rng-2.6.1.ebuild b/dev-python/rnc2rng/rnc2rng-2.6.1.ebuild
index 2dc7788f0234..e6b44ff88ee9 100644
--- a/dev-python/rnc2rng/rnc2rng-2.6.1.ebuild
+++ b/dev-python/rnc2rng/rnc2rng-2.6.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit distutils-r1
@@ -18,6 +18,8 @@ IUSE="test"
DEPEND="dev-python/rply[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
+RESTRICT="!test? ( test )"
+
python_test() {
"${PYTHON}" test.py
}