commit:     4bd21592987ef4677cb1e6192af6af2664edd563
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  4 18:42:06 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb  4 18:43:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd21592

dev-python/zope-interface: Remove deprecated python_is_python3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/zope-interface/zope-interface-5.4.0.ebuild | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/dev-python/zope-interface/zope-interface-5.4.0.ebuild 
b/dev-python/zope-interface/zope-interface-5.4.0.ebuild
index 429b966e1740..851850bf4aee 100644
--- a/dev-python/zope-interface/zope-interface-5.4.0.ebuild
+++ b/dev-python/zope-interface/zope-interface-5.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,7 +7,7 @@ EAPI=7
 DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python3_{7..10} pypy3 )
 
-inherit distutils-r1 flag-o-matic
+inherit distutils-r1
 
 MY_PN=${PN/-/.}
 MY_P=${MY_PN}-${PV}
@@ -37,15 +37,6 @@ PATCHES=(
 
 distutils_enable_tests setup.py
 
-python_compile() {
-       if ! python_is_python3; then
-               local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
-               append-flags -fno-strict-aliasing
-       fi
-
-       distutils-r1_python_compile
-}
-
 python_install_all() {
        distutils-r1_python_install_all
 

Reply via email to