1 |
commit: c779208c2d5d0c3f8460f96e749488701a4aad55 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 06:18:17 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 07:51:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c779208c |
7 |
|
8 |
dev-python/zope-schema: Bump to 6.1.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/zope-schema/Manifest | 1 + |
13 |
dev-python/zope-schema/zope-schema-6.1.1.ebuild | 43 +++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zope-schema/Manifest b/dev-python/zope-schema/Manifest |
17 |
index a88f0390965..55500d81079 100644 |
18 |
--- a/dev-python/zope-schema/Manifest |
19 |
+++ b/dev-python/zope-schema/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST zope.schema-6.1.0.tar.gz 103042 BLAKE2B 1892e5724b6f947cda40567f0694821d49ee66239af51d13d331dbb55b8251352670a7b37ff77ad6b36da7c18a8614338364e43f1fcf92464121d6b5daf65985 SHA512 a832bc779195dc3f1ce812610adc97205a4074c9523d70ee4019e03285f7d94df24f165a834e65cf26b06fc48754b76189299e58af5d4888a4abb15dc0d64ec0 |
22 |
+DIST zope.schema-6.1.1.tar.gz 108603 BLAKE2B 9e2d4c48431408fd66c236fad44627f15443e29ff0c4af0a0734c3a1a9dfaee6c772463a7a121112b151699c184d39e307485a981ddb3e13f2f81c7c71543500 SHA512 af51f02818509eacdd558ee04c15bcf4e80321069b8c4a33636d520a8af7509e8d01b391fc1d327fc980ac27388f4e303a870afc5c4f9b5ff0770311a4f26978 |
23 |
|
24 |
diff --git a/dev-python/zope-schema/zope-schema-6.1.1.ebuild b/dev-python/zope-schema/zope-schema-6.1.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..4f5e20c9cfe |
27 |
--- /dev/null |
28 |
+++ b/dev-python/zope-schema/zope-schema-6.1.1.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_PN=${PN/-/.} |
41 |
+MY_P=${MY_PN}-${PV} |
42 |
+ |
43 |
+DESCRIPTION="Zope schema Architecture" |
44 |
+HOMEPAGE="https://github.com/zopefoundation/zope.schema http://docs.zope.org/zope.schema/" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
46 |
+S="${WORKDIR}/${MY_P}" |
47 |
+ |
48 |
+LICENSE="ZPL" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/zope-event[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/zope-interface-5.0.0[${PYTHON_USEDEP}]" |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] |
58 |
+ dev-python/zope-testing[${PYTHON_USEDEP}] |
59 |
+ )" |
60 |
+ |
61 |
+distutils_enable_tests unittest |
62 |
+ |
63 |
+python_test() { |
64 |
+ eunittest src |
65 |
+} |
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 |
+} |