1 |
commit: 844887b36df18844254f45a32c79d85a5bb780df |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 8 09:10:49 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 8 09:29:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844887b3 |
7 |
|
8 |
dev-python/zope-testing: Bump to 4.9 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/zope-testing/Manifest | 1 + |
13 |
dev-python/zope-testing/zope-testing-4.9.ebuild | 31 +++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zope-testing/Manifest b/dev-python/zope-testing/Manifest |
17 |
index f43107314bd..177d213024f 100644 |
18 |
--- a/dev-python/zope-testing/Manifest |
19 |
+++ b/dev-python/zope-testing/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST zope.testing-4.7.tar.gz 63474 BLAKE2B dc825849c288b9f8ab9e4edfe670e09aa49f28c64047da8e0fb36cbfa6cf24d70cf6a49ea8a51ca1831b152f3ffa4b0c62cde29750036f13c9f754df2bb80da2 SHA512 cdf87f95196880a0f55c740f6340286bb29e96e9273d0c645bbb50def54a0645cce22d971adba3f15ff57b1021a72749219af83abc4e8fa775fb982d8164791d |
22 |
DIST zope.testing-4.8.tar.gz 63626 BLAKE2B 1e6910f3e6d0cbee8ea08f4af2c9ae8708183779749e02d9fe71b5726dfd6c0d94a2fca12a8b150044c29a75edf2cbd0783f83b735eecf061488b2e642ad4db9 SHA512 5f89a8babaa94d46d67c29f1f10b1b8dd4196093f6aea66668d93a5256539cc1bbf6ba689c592031df62e300db9cd1fedf9f38490c73355fb415a02e351bb92f |
23 |
+DIST zope.testing-4.9.tar.gz 62294 BLAKE2B 34b2fc10e7220d88451b655d0e43f513d004779c496c824fa3e58b17c883a401f4707d5dbe7a547f1f97fe7db73b25cdf16997f2733b832ceabc37f1d5265397 SHA512 04b660aa93e120ae7e57bf637d99302d26912800ea3995a24c6d252ee4bd8e06fd8d4a24d980f591846d9bca93523373a92528ef492ff4d6990887ab6cf527d0 |
24 |
|
25 |
diff --git a/dev-python/zope-testing/zope-testing-4.9.ebuild b/dev-python/zope-testing/zope-testing-4.9.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..395e49e0ae3 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/zope-testing/zope-testing-4.9.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
37 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_PN=${PN/-/.} |
41 |
+MY_P=${MY_PN}-${PV} |
42 |
+ |
43 |
+DESCRIPTION="Zope testing helpers" |
44 |
+HOMEPAGE="https://pypi.org/project/zope.testing/ https://github.com/zopefoundation/zope.testing" |
45 |
+SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" |
46 |
+S="${WORKDIR}/${MY_P}" |
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 |
+ |
54 |
+distutils_enable_tests setup.py |
55 |
+ |
56 |
+python_install_all() { |
57 |
+ distutils-r1_python_install_all |
58 |
+ |
59 |
+ # remove .pth files since dev-python/namespace-zope handles the ns |
60 |
+ find "${D}" -name '*.pth' -delete || die |
61 |
+} |