1 |
commit: 2fda98ffba56c967b9078502f4d9ae2ac3a72fd1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 14:46:01 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 17:00:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fda98ff |
7 |
|
8 |
dev-python/zope-interface: Bump to 5.1.2 |
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.1.2.ebuild | 53 ++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest |
17 |
index d78a0dac486..4a726346ac5 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.1.0.tar.gz 225400 BLAKE2B 6ad412bbf3c0327d2b8f37899c1e71fe4bf63c3840c9f2c7e776e3208ec8999c4812aaae89cb9a78724b40ef3dd883323b00eeccab44714eabef6c33c171be48 SHA512 be8319913222ada47a22559e22322ec12dff3adf17f45335d007c5aa3509d84a7d0a7e6c113967b91810b3613344b5c60e002eb740af2bbb454b2807de8dad98 |
22 |
DIST zope.interface-5.1.1.tar.gz 228612 BLAKE2B 4452a9e75feb496e933add5b15c17a782c78aaa0274eae09955ce618dd5946997d29aedbd4856952467e243ccdda923b66925af27afefeda03aff78f5f8f1fe4 SHA512 9cf195154592f5bac3335420eb01c55914b856e4b135b1756c9d812aa9418dcbd82a7e8438d3d1b5891867ca655c722641eb4d1606c47132aa8f9523b67c5725 |
23 |
+DIST zope.interface-5.1.2.tar.gz 228946 BLAKE2B 20740fdf2c0298dc852b7c1ca9acdd125fe355dc2032e4ad990af67bc06e505e744c930420bb0c82b2b9c765f642c15b0a398c40dda637eabba7e237f8e7913e SHA512 c0efd82d1b2f3bb6c71d89a74ccbef60955c74012fe2b87c752198c02374b3e5e113679451f2239474dbed0cbebb82b3fdefc3524d00a6f3896a16505847e519 |
24 |
|
25 |
diff --git a/dev-python/zope-interface/zope-interface-5.1.2.ebuild b/dev-python/zope-interface/zope-interface-5.1.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5de915fb7e9 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/zope-interface/zope-interface-5.1.2.ebuild |
30 |
@@ -0,0 +1,53 @@ |
31 |
+# Copyright 1999-2020 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_{6,7,8,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 |
+ |
49 |
+LICENSE="ZPL" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
52 |
+ |
53 |
+RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]" |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/zope-event[${PYTHON_USEDEP}] |
57 |
+ dev-python/zope-testing[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+S="${WORKDIR}/${MY_P}" |
62 |
+ |
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}"/5.1.0-drop-coverage.patch |
65 |
+) |
66 |
+ |
67 |
+distutils_enable_tests setup.py |
68 |
+ |
69 |
+python_compile() { |
70 |
+ if ! python_is_python3; then |
71 |
+ local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" |
72 |
+ append-flags -fno-strict-aliasing |
73 |
+ fi |
74 |
+ |
75 |
+ distutils-r1_python_compile |
76 |
+} |
77 |
+ |
78 |
+python_install_all() { |
79 |
+ distutils-r1_python_install_all |
80 |
+ |
81 |
+ # remove .pth files since dev-python/namespace-zope handles the ns |
82 |
+ find "${D}" -name '*.pth' -delete || die |
83 |
+} |