1 |
commit: aa8119f7057dea4d1ab6c3bf2abb715659941d98 |
2 |
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Nov 13 10:22:24 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 30 08:28:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8119f7 |
7 |
|
8 |
dev-python/zope-testrunner: bump v5.1, EAPI=7 |
9 |
|
10 |
add python3_7, python3_8 |
11 |
use distutils_enable_tests for tests |
12 |
|
13 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
14 |
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com> |
15 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
16 |
|
17 |
dev-python/zope-testrunner/Manifest | 1 + |
18 |
.../zope-testrunner/zope-testrunner-5.1.ebuild | 38 ++++++++++++++++++++++ |
19 |
2 files changed, 39 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/zope-testrunner/Manifest b/dev-python/zope-testrunner/Manifest |
22 |
index eac35f42bde..f412e799d31 100644 |
23 |
--- a/dev-python/zope-testrunner/Manifest |
24 |
+++ b/dev-python/zope-testrunner/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST zope.testrunner-4.7.0.zip 260508 BLAKE2B 5ff63debf8119aff46a8c3ee72a4431815b37de80922cb5b8e4a318cb99200acf7dd6181b15a8233ed879f312997aab68a3439dab3dbc737093cde1ae48d619e SHA512 edda96e6871d954bb1f46ca18e2de9d1726d68cb3787f080b3b858c4dbdc2ceeb809962d178350a354e16c04711a89b2c6d1f663f256e1f72c15a7c494e51d32 |
27 |
+DIST zope.testrunner-5.1.tar.gz 140679 BLAKE2B 4044b9c77bbda6610b803fbc91cb7bb4d1aaeeb041c32cb91ecd05e05d75a685cd4b6d4531fdcb74380e6ce3fc40f32d21f71ad346491667458a165a90e3a401 SHA512 685d1e1512bd85a00c34f4f89ca1e0f8d1f0939de7b25db0cb43da44e5e41e735e1e9a5ccf2a89b959d7d5f074da71dfe0fd931bd62082159ec65c0b53cd38c1 |
28 |
|
29 |
diff --git a/dev-python/zope-testrunner/zope-testrunner-5.1.ebuild b/dev-python/zope-testrunner/zope-testrunner-5.1.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..40796ed4ea3 |
32 |
--- /dev/null |
33 |
+++ b/dev-python/zope-testrunner/zope-testrunner-5.1.ebuild |
34 |
@@ -0,0 +1,38 @@ |
35 |
+# Copyright 1999-2019 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+MY_PN=${PN/-/.} |
44 |
+MY_P=${MY_PN}-${PV} |
45 |
+ |
46 |
+DESCRIPTION="Zope testrunner script" |
47 |
+HOMEPAGE="https://pypi.org/project/zope.testrunner/ https://github.com/zopefoundation/zope.testrunner" |
48 |
+SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="ZPL" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="test" |
54 |
+RESTRICT="!test? ( test )" |
55 |
+ |
56 |
+RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] |
57 |
+ dev-python/six[${PYTHON_USEDEP}] |
58 |
+ dev-python/zope-exceptions[${PYTHON_USEDEP}] |
59 |
+ dev-python/zope-interface[${PYTHON_USEDEP}]" |
60 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
+ test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )" |
62 |
+ |
63 |
+S="${WORKDIR}/${MY_P}" |
64 |
+ |
65 |
+distutils_enable_tests setup.py |
66 |
+ |
67 |
+python_install_all() { |
68 |
+ distutils-r1_python_install_all |
69 |
+ |
70 |
+ # remove .pth files since dev-python/namespace-zope handles the ns |
71 |
+ find "${D}" -name '*.pth' -delete || die |
72 |
+} |