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