dev-python/plyvel: Remove Py2

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2019-12-28 17:14:02 +01:00
parent 4ff37d7743
commit a66dfece76
2 changed files with 2 additions and 14 deletions

View File

@@ -4,7 +4,7 @@
EAPI=7
# Tests fail with PyPy: https://github.com/wbolster/plyvel/issues/38
PYTHON_COMPAT=( pypy3 python{2_7,3_{5,6,7}} )
PYTHON_COMPAT=( pypy3 python3_{5,6,7} )
inherit distutils-r1
@@ -28,12 +28,6 @@ DEPEND="
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
"
python_compile() {
# https://wiki.gentoo.org/wiki/Project:Python/Strict_aliasing
python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
distutils-r1_python_compile
}
python_compile_all() {
if use doc; then
sphinx-build doc doc/_build/html || die

View File

@@ -4,7 +4,7 @@
EAPI=7
# Tests fail with PyPy: https://github.com/wbolster/plyvel/issues/38
PYTHON_COMPAT=( pypy3 python{2_7,3_{5,6,7}} )
PYTHON_COMPAT=( pypy3 python3_{5,6,7} )
inherit distutils-r1
@@ -28,12 +28,6 @@ DEPEND="
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
"
python_compile() {
# https://wiki.gentoo.org/wiki/Project:Python/Strict_aliasing
python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
distutils-r1_python_compile
}
python_compile_all() {
if use doc; then
sphinx-build doc doc/_build/html || die