1 |
commit: 77e8f09d8f128a136919a48443b89d6e6873ab5f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 8 09:33:07 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 8 09:42:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77e8f09d |
7 |
|
8 |
dev-python/zope-interface: Remove old |
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 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest |
17 |
index fbe8f5ad8b3..53878e77b86 100644 |
18 |
--- a/dev-python/zope-interface/Manifest |
19 |
+++ b/dev-python/zope-interface/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST zope.interface-5.1.2.tar.gz 228946 BLAKE2B 20740fdf2c0298dc852b7c1ca9acdd125fe355dc2032e4ad990af67bc06e505e744c930420bb0c82b2b9c765f642c15b0a398c40dda637eabba7e237f8e7913e SHA512 c0efd82d1b2f3bb6c71d89a74ccbef60955c74012fe2b87c752198c02374b3e5e113679451f2239474dbed0cbebb82b3fdefc3524d00a6f3896a16505847e519 |
22 |
DIST zope.interface-5.2.0.tar.gz 227058 BLAKE2B d5afcaf56d77431436bc6f2ccf566e835c0908f7037ecd2a93e2b2681c0588b2baeacb0ec50207e59e67f7c4ac3cc76bca657330b48991f22835637985b85ccd SHA512 64688b8a823d63fc78720ee15d59cc54c07a700dc45e46336cb23cd1a0a3eb998284a4d954d3fa08c7f26b35583c0284fb2fcd18f84f3133ce93f7c3ade0a988 |
23 |
|
24 |
diff --git a/dev-python/zope-interface/zope-interface-5.1.2.ebuild b/dev-python/zope-interface/zope-interface-5.1.2.ebuild |
25 |
deleted file mode 100644 |
26 |
index 12cf5497347..00000000000 |
27 |
--- a/dev-python/zope-interface/zope-interface-5.1.2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,53 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-# pkg_resources namespace |
36 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
-PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) |
38 |
- |
39 |
-inherit distutils-r1 flag-o-matic |
40 |
- |
41 |
-MY_PN=${PN/-/.} |
42 |
-MY_P=${MY_PN}-${PV} |
43 |
- |
44 |
-DESCRIPTION="Interfaces for Python" |
45 |
-HOMEPAGE="https://pypi.org/project/zope.interface/ https://github.com/zopefoundation/zope.interface" |
46 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
47 |
- |
48 |
-LICENSE="ZPL" |
49 |
-SLOT="0" |
50 |
-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" |
51 |
- |
52 |
-RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]" |
53 |
-BDEPEND=" |
54 |
- test? ( |
55 |
- dev-python/zope-event[${PYTHON_USEDEP}] |
56 |
- dev-python/zope-testing[${PYTHON_USEDEP}] |
57 |
- ) |
58 |
-" |
59 |
- |
60 |
-S="${WORKDIR}/${MY_P}" |
61 |
- |
62 |
-PATCHES=( |
63 |
- "${FILESDIR}"/5.1.0-drop-coverage.patch |
64 |
-) |
65 |
- |
66 |
-distutils_enable_tests setup.py |
67 |
- |
68 |
-python_compile() { |
69 |
- if ! python_is_python3; then |
70 |
- local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" |
71 |
- append-flags -fno-strict-aliasing |
72 |
- fi |
73 |
- |
74 |
- distutils-r1_python_compile |
75 |
-} |
76 |
- |
77 |
-python_install_all() { |
78 |
- distutils-r1_python_install_all |
79 |
- |
80 |
- # remove .pth files since dev-python/namespace-zope handles the ns |
81 |
- find "${D}" -name '*.pth' -delete || die |
82 |
-} |