From 4bd21592987ef4677cb1e6192af6af2664edd563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 4 Feb 2022 19:42:06 +0100 Subject: [PATCH] dev-python/zope-interface: Remove deprecated python_is_python3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../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 429b966e17403..851850bf4aeee 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