From: David Seifert Date: Sat, 28 Dec 2019 16:13:07 +0000 (+0100) Subject: dev-python/jpype: Remove Py2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b4bef7a21bec3918f3600df0bfc01e81364c1a6;p=gentoo.git dev-python/jpype: Remove Py2 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert --- diff --git a/dev-python/jpype/jpype-0.6.1.ebuild b/dev-python/jpype/jpype-0.6.1.ebuild index a2273fdac726..eeaf9bcade93 100644 --- a/dev-python/jpype/jpype-0.6.1.ebuild +++ b/dev-python/jpype/jpype-0.6.1.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_5 ) +PYTHON_COMPAT=( python3_5 ) inherit java-pkg-2 distutils-r1 @@ -24,14 +24,6 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch ) -python_compile() { - if ! python_is_python3; then - local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" - export CXXFLAGS - fi - distutils-r1_python_compile -} - python_install() { use doc && local DOCS=( doc/* ) use examples && local EXAMPLES=( examples/. ) diff --git a/dev-python/jpype/jpype-0.6.2.ebuild b/dev-python/jpype/jpype-0.6.2.ebuild index f22d95317f78..4e32b234ffa7 100644 --- a/dev-python/jpype/jpype-0.6.2.ebuild +++ b/dev-python/jpype/jpype-0.6.2.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{5,6} ) +PYTHON_COMPAT=( python3_{5,6} ) inherit java-pkg-2 distutils-r1 @@ -24,14 +24,6 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch ) -python_compile() { - if ! python_is_python3; then - local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" - export CXXFLAGS - fi - distutils-r1_python_compile -} - python_install() { use doc && local DOCS=( doc/* ) use examples && local EXAMPLES=( examples/. ) diff --git a/dev-python/jpype/jpype-0.6.3.ebuild b/dev-python/jpype/jpype-0.6.3.ebuild index 49ac5fd6f988..cef98e04c3c8 100644 --- a/dev-python/jpype/jpype-0.6.3.ebuild +++ b/dev-python/jpype/jpype-0.6.3.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{5,6} ) +PYTHON_COMPAT=( python3_{5,6} ) inherit java-pkg-2 distutils-r1 @@ -24,14 +24,6 @@ DEPEND=" #PATCHES=( "${FILESDIR}"/${PN}-gcc6-noexcept.patch ) -python_compile() { - if ! python_is_python3; then - local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" - export CXXFLAGS - fi - distutils-r1_python_compile -} - python_install() { use doc && local DOCS=( doc/* ) use examples && local EXAMPLES=( examples/. )