summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-03 21:37:52 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-03 21:45:57 +0100
commit617c1b8f02d9a2f1dcd5b053f78a74d144595fb5 (patch)
tree4fec4f3bc22f157431fe1fa10124b68a93b193e1 /dev-python/aniso8601/aniso8601-4.0.1.ebuild
parentdev-python/flask-restful: Remove py2 (diff)
downloadgentoo-617c1b8f02d9a2f1dcd5b053f78a74d144595fb5.tar.gz
gentoo-617c1b8f02d9a2f1dcd5b053f78a74d144595fb5.tar.bz2
gentoo-617c1b8f02d9a2f1dcd5b053f78a74d144595fb5.zip
dev-python/aniso8601: Remove py2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aniso8601/aniso8601-4.0.1.ebuild')
-rw-r--r--dev-python/aniso8601/aniso8601-4.0.1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-python/aniso8601/aniso8601-4.0.1.ebuild b/dev-python/aniso8601/aniso8601-4.0.1.ebuild
index bfa2cb8ec8c9..3251321fa7ca 100644
--- a/dev-python/aniso8601/aniso8601-4.0.1.ebuild
+++ b/dev-python/aniso8601/aniso8601-4.0.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
+PYTHON_COMPAT=( python3_{6,7} pypy3 )
inherit distutils-r1
@@ -17,8 +17,7 @@ IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/python-dateutil-2.7.3[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
PATCHES=( "${FILESDIR}"/${P}-mock.patch )