Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-interface/
Date: Fri, 04 Feb 2022 18:45:34
Message-Id: 1644000222.4bd21592987ef4677cb1e6192af6af2664edd563.mgorny@gentoo
1 commit: 4bd21592987ef4677cb1e6192af6af2664edd563
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 4 18:42:06 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 4 18:43:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd21592
7
8 dev-python/zope-interface: Remove deprecated python_is_python3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/zope-interface/zope-interface-5.4.0.ebuild | 13 ++-----------
13 1 file changed, 2 insertions(+), 11 deletions(-)
14
15 diff --git a/dev-python/zope-interface/zope-interface-5.4.0.ebuild b/dev-python/zope-interface/zope-interface-5.4.0.ebuild
16 index 429b966e1740..851850bf4aee 100644
17 --- a/dev-python/zope-interface/zope-interface-5.4.0.ebuild
18 +++ b/dev-python/zope-interface/zope-interface-5.4.0.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=7
25 @@ -7,7 +7,7 @@ EAPI=7
26 DISTUTILS_USE_SETUPTOOLS=rdepend
27 PYTHON_COMPAT=( python3_{7..10} pypy3 )
28
29 -inherit distutils-r1 flag-o-matic
30 +inherit distutils-r1
31
32 MY_PN=${PN/-/.}
33 MY_P=${MY_PN}-${PV}
34 @@ -37,15 +37,6 @@ PATCHES=(
35
36 distutils_enable_tests setup.py
37
38 -python_compile() {
39 - if ! python_is_python3; then
40 - local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
41 - append-flags -fno-strict-aliasing
42 - fi
43 -
44 - distutils-r1_python_compile
45 -}
46 -
47 python_install_all() {
48 distutils-r1_python_install_all