1 |
commit: fe37a533c3af1660abc1843397a9989e90e77be6 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 30 00:04:40 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 30 00:04:40 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe37a533 |
7 |
|
8 |
dev-python/zope-testing: version bump to 4.6.2 |
9 |
|
10 |
dev-python/zope-testing/Manifest | 1 + |
11 |
dev-python/zope-testing/zope-testing-4.6.2.ebuild | 36 +++++++++++++++++++++++ |
12 |
2 files changed, 37 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/zope-testing/Manifest b/dev-python/zope-testing/Manifest |
15 |
index a3bfa8c8851..d9735431287 100644 |
16 |
--- a/dev-python/zope-testing/Manifest |
17 |
+++ b/dev-python/zope-testing/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST zope.testing-4.6.1.tar.gz 59292 SHA256 a65c15b8e35a2dde138bc29deac1116658fedeea41baa942147c1ffaab847def SHA512 13ab0ce01efc42227980e79e97ea91d37d377b83d38e897750cee344e9ab1a82f6d860d7884374da55cd0e102447f56fb69970fbfad2de927c0cee3c18b0ddb9 WHIRLPOOL bdca81b71912af70e89a814f39ffb7dd38db8d1c71413c2ee1b2eae4911b287218b0709e7a01ea79e52559be0f8c48474708abc6b871dad6e89349fb03c15a8c |
20 |
+DIST zope.testing-4.6.2.tar.gz 62710 SHA256 6f60f9847b33f3b63ad42cee67019f2013eb37384c49f7f77d624e2821293846 SHA512 816c87a38c847aad67857c364bb9999f4283484c933be2bcb54066dac4a6f8c6f94dfde61860397003e7f17b8669e7964a7fbe28e7ca7313f5d131f17c0b672d WHIRLPOOL 224553da60857b6a02417a1b493f1312807455223e4e717ca6a3cb7ea52ff7fa047eb59d99ae0aff2232821fad1eb691137a3b9aea72476ae56e0f161f56be7b |
21 |
|
22 |
diff --git a/dev-python/zope-testing/zope-testing-4.6.2.ebuild b/dev-python/zope-testing/zope-testing-4.6.2.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..a66cd8e49b1 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/zope-testing/zope-testing-4.6.2.ebuild |
27 |
@@ -0,0 +1,36 @@ |
28 |
+# Copyright 1999-2017 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
34 |
+inherit distutils-r1 |
35 |
+ |
36 |
+MY_PN=${PN/-/.} |
37 |
+MY_P=${MY_PN}-${PV} |
38 |
+ |
39 |
+DESCRIPTION="Zope testing helpers" |
40 |
+HOMEPAGE="https://pypi.python.org/pypi/zope.testing https://github.com/zopefoundation/zope.testing" |
41 |
+SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="ZPL" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
51 |
+ |
52 |
+S=${WORKDIR}/${MY_P} |
53 |
+ |
54 |
+python_test() { |
55 |
+ esetup.py test |
56 |
+} |
57 |
+ |
58 |
+python_install_all() { |
59 |
+ distutils-r1_python_install_all |
60 |
+ |
61 |
+ # remove .pth files since dev-python/namespace-zope handles the ns |
62 |
+ find "${D}" -name '*.pth' -delete || die |
63 |
+} |