summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <chr@chymera.eu>2020-03-24 00:32:37 -0400
committerMichał Górny <mgorny@gentoo.org>2020-03-27 16:24:32 +0100
commitbb46850e021ad9a10681c25afd76c59bf9fdc411 (patch)
tree00c86bdb532154b4674a9ba9d8ccd9477006be53 /dev-python/prov
parentdev-python/docker-py: Use localhost instead of hostname in tests (diff)
downloadgentoo-bb46850e021ad9a10681c25afd76c59bf9fdc411.tar.gz
gentoo-bb46850e021ad9a10681c25afd76c59bf9fdc411.tar.bz2
gentoo-bb46850e021ad9a10681c25afd76c59bf9fdc411.zip
dev-python/prov: added PYTHON_COMPAT 3_7
and uptdated test suite to actually run tests Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Horea Christian <chr@chymera.eu> Closes: https://github.com/gentoo/gentoo/pull/15082 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/prov')
-rw-r--r--dev-python/prov/prov-1.5.3.ebuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/dev-python/prov/prov-1.5.3.ebuild b/dev-python/prov/prov-1.5.3.ebuild
index a85f51451d3f..45cb6db0b677 100644
--- a/dev-python/prov/prov-1.5.3.ebuild
+++ b/dev-python/prov/prov-1.5.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
@@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="
dev-python/pydot[${PYTHON_USEDEP}]
@@ -25,11 +23,5 @@ RDEPEND="
dev-python/rdflib[${PYTHON_USEDEP}]
>=dev-python/six-1.10[${PYTHON_USEDEP}]
"
-DEPEND="
- test? ( ${RDEPEND} )
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-python_test() {
- ${EPYTHON} -m unittest discover || die
-}
+distutils_enable_tests setup.py