1 |
commit: 4cf66402875ce823bd8e78abe921e3c6e448a081 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 16 06:53:51 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 16 08:29:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf66402 |
7 |
|
8 |
dev-python/zope-interface: Bump to 5.4.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/zope-interface/Manifest | 1 + |
13 |
.../zope-interface/zope-interface-5.4.0.ebuild | 54 ++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest |
17 |
index 3771804b510..6d1d4cad705 100644 |
18 |
--- a/dev-python/zope-interface/Manifest |
19 |
+++ b/dev-python/zope-interface/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST zope.interface-5.2.0.tar.gz 227058 BLAKE2B d5afcaf56d77431436bc6f2ccf566e835c0908f7037ecd2a93e2b2681c0588b2baeacb0ec50207e59e67f7c4ac3cc76bca657330b48991f22835637985b85ccd SHA512 64688b8a823d63fc78720ee15d59cc54c07a700dc45e46336cb23cd1a0a3eb998284a4d954d3fa08c7f26b35583c0284fb2fcd18f84f3133ce93f7c3ade0a988 |
22 |
DIST zope.interface-5.3.0.tar.gz 241964 BLAKE2B 4b1ea32f3f08e2d49afa402358760dd575057bc4487ad52686a2aaceee782501c3c1891dda00cbd306abe35e7bfea4cf41a4a340644258cf478a637abd62c103 SHA512 3544c64d64f32e4635031325b38500b8ed5888b03821c5ff2e07c2d88bb50ccb0b6fe24c6a55813bbe05caf2b847be832182e04dcd8e9ff29f1e68c1fda7c680 |
23 |
+DIST zope.interface-5.4.0.tar.gz 249329 BLAKE2B 3a35ce6ff2a9984ed865cfb3bc3371e8069eb416d11bddbc56e27db4d76762fb1b87d295b51258ec006fddcbb38a8752b47a2d7874c0c8a959ca78101eae2750 SHA512 ef15d63397e05ad9fc44b2d5d786b0399b6973bb5f4866fab839ff612756f3157f2099d0f5c0469b574a5c8b5920a7c2a5c6eab8e8f84c24d5c43e816669bffe |
24 |
|
25 |
diff --git a/dev-python/zope-interface/zope-interface-5.4.0.ebuild b/dev-python/zope-interface/zope-interface-5.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7c0a39bc13a |
28 |
--- /dev/null |
29 |
+++ b/dev-python/zope-interface/zope-interface-5.4.0.ebuild |
30 |
@@ -0,0 +1,54 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+# pkg_resources namespace |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
39 |
+ |
40 |
+inherit distutils-r1 flag-o-matic |
41 |
+ |
42 |
+MY_PN=${PN/-/.} |
43 |
+MY_P=${MY_PN}-${PV} |
44 |
+ |
45 |
+DESCRIPTION="Interfaces for Python" |
46 |
+HOMEPAGE="https://pypi.org/project/zope.interface/ https://github.com/zopefoundation/zope.interface" |
47 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
48 |
+S=${WORKDIR}/${MY_P} |
49 |
+ |
50 |
+LICENSE="ZPL" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/namespace-zope[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+BDEPEND=" |
58 |
+ test? ( |
59 |
+ dev-python/zope-event[${PYTHON_USEDEP}] |
60 |
+ dev-python/zope-testing[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}"/5.1.0-drop-coverage.patch |
66 |
+) |
67 |
+ |
68 |
+distutils_enable_tests setup.py |
69 |
+ |
70 |
+python_compile() { |
71 |
+ if ! python_is_python3; then |
72 |
+ local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" |
73 |
+ append-flags -fno-strict-aliasing |
74 |
+ fi |
75 |
+ |
76 |
+ distutils-r1_python_compile |
77 |
+} |
78 |
+ |
79 |
+python_install_all() { |
80 |
+ distutils-r1_python_install_all |
81 |
+ |
82 |
+ # remove .pth files since dev-python/namespace-zope handles the ns |
83 |
+ find "${D}" -name '*.pth' -delete || die |
84 |
+} |