dev-python/pyproject2setuppy: Remove Python 2
authorMichał Górny <mgorny@gentoo.org>
Sat, 18 Jan 2020 18:30:07 +0000 (19:30 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 18 Jan 2020 18:47:59 +0000 (19:47 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/pyproject2setuppy/pyproject2setuppy-2.ebuild

index e93f5bdf05f761d510afd78279ba6313ae0f5d19..8f1cdd4f6e3b11f8694609bfa818f521449bcc5c 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=manual
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
 
 inherit distutils-r1
 
@@ -21,12 +21,6 @@ KEYWORDS="~amd64 ~x86"
 RDEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
        dev-python/toml[${PYTHON_USEDEP}]"
-BDEPEND="${RDEPEND}
-       test? (
-               $(python_gen_cond_dep '
-                       dev-python/backports-tempfile[${PYTHON_USEDEP}]
-                       dev-python/mock[${PYTHON_USEDEP}]
-               ' -2)
-       )"
+BDEPEND="${RDEPEND}"
 
 distutils_enable_tests pytest