summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-10 12:41:15 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-10 12:48:37 +0200
commit67157a3f1e13f3b0942902429643b57833a88f40 (patch)
tree325c2bf2c185497a3771b82fa3d56ac19a436254 /dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild
parentdev-python/jdcal: Bump to 1.4.1 (diff)
downloadgentoo-67157a3f1e13f3b0942902429643b57833a88f40.tar.gz
gentoo-67157a3f1e13f3b0942902429643b57833a88f40.tar.bz2
gentoo-67157a3f1e13f3b0942902429643b57833a88f40.zip
dev-python/et_xmlfile: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild')
-rw-r--r--dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild14
1 files changed, 3 insertions, 11 deletions
diff --git a/dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild b/dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild
index 015d1dd5cfb3..26d29a58cee3 100644
--- a/dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild
+++ b/dev-python/et_xmlfile/et_xmlfile-1.0.1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6..9} )
inherit distutils-r1
@@ -14,15 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
-python_test() {
- py.test -vv || die
-}
+distutils_enable_tests pytest