summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-20 17:28:38 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-20 17:37:47 +0200
commit0012b61f3d0c37b8f5a924b705b893f3fb7342d1 (patch)
treebaa2c591eab2568494dcbd2878ca7520190223ee /dev-python/importlib_metadata
parentdev-python/importlib_resources: Remove python2 (diff)
downloadgentoo-0012b61f3d0c37b8f5a924b705b893f3fb7342d1.tar.gz
gentoo-0012b61f3d0c37b8f5a924b705b893f3fb7342d1.tar.bz2
gentoo-0012b61f3d0c37b8f5a924b705b893f3fb7342d1.zip
dev-python/importlib_metadata: Remove python2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/importlib_metadata')
-rw-r--r--dev-python/importlib_metadata/importlib_metadata-1.7.0-r2.ebuild (renamed from dev-python/importlib_metadata/importlib_metadata-1.7.0-r1.ebuild)9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-python/importlib_metadata/importlib_metadata-1.7.0-r1.ebuild b/dev-python/importlib_metadata/importlib_metadata-1.7.0-r2.ebuild
index 207c75be649e..20283369fcf4 100644
--- a/dev-python/importlib_metadata/importlib_metadata-1.7.0-r1.ebuild
+++ b/dev-python/importlib_metadata/importlib_metadata-1.7.0-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} )
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
inherit distutils-r1
@@ -17,17 +17,12 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
RDEPEND="
dev-python/zipp[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '>=dev-python/configparser-3.5[${PYTHON_USEDEP}]' -2)
- $(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' -2)
- $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2)
"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
${RDEPEND}
- $(python_gen_cond_dep '
- >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}]
- ' pypy3 python{2_7,3_{6,7,8}})
+ >=dev-python/importlib_resources-1.3.0[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyfakefs[${PYTHON_USEDEP}]
)