1 |
commit: 591ba30ad127b130af8624caf44329d3b4d377ca |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 16 06:30:35 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 18 14:58:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591ba30a |
7 |
|
8 |
dev-python/zope-exceptions: bump to 4.4 |
9 |
|
10 |
* Bump to 4.4, mostly for... |
11 |
* Add Python 3.9 |
12 |
|
13 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
dev-python/zope-exceptions/Manifest | 1 + |
17 |
.../zope-exceptions/zope-exceptions-4.4.ebuild | 34 ++++++++++++++++++++++ |
18 |
2 files changed, 35 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest |
21 |
index fd8a8cbe237..f5a9e3e1d4e 100644 |
22 |
--- a/dev-python/zope-exceptions/Manifest |
23 |
+++ b/dev-python/zope-exceptions/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST zope.exceptions-4.3.tar.gz 30704 BLAKE2B aa5319c8f9b3555038809f8209d121b4a8944a9df1c683302749c12e1e5097139047583b1f033e6530005232fadc326aed7da64fa585b749ec50cd22cb3411a5 SHA512 348c8edb0246bb2035ca5c1bcfaca7d3be2525157e2c9267a59a061c8ba749b364428e3d6a3aa3f967306abd0a319e4d6fa935b7fc35fff3bb53960015505695 |
26 |
+DIST zope.exceptions-4.4.tar.gz 28243 BLAKE2B 9af0b99826d574218c149c5a378886d3b3ec16935c0b6b883c0e048b22ba5ffee8408597f612a668eb18fc855a236e3810d6320c984faca4b7c5dfb4c76b303b SHA512 6ef175271ad1d62b450533e4c7d8f7380ffac519be5c48be084be297ad21d21fd8be380d9b5e221a8dac6a4c792bab14abc707331415c2df88208cac9c34013e |
27 |
|
28 |
diff --git a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..7e2c645a6e5 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild |
33 |
@@ -0,0 +1,34 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+MY_PN=${PN/-/.} |
44 |
+MY_P=${MY_PN}-${PV} |
45 |
+ |
46 |
+DESCRIPTION="General purpose exceptions for Zope packages" |
47 |
+HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions" |
48 |
+SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="ZPL" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
53 |
+ |
54 |
+RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] |
55 |
+ dev-python/zope-interface[${PYTHON_USEDEP}]" |
56 |
+BDEPEND="test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" |
57 |
+ |
58 |
+S="${WORKDIR}/${MY_P}" |
59 |
+ |
60 |
+distutils_enable_tests setup.py |
61 |
+ |
62 |
+python_install_all() { |
63 |
+ distutils-r1_python_install_all |
64 |
+ |
65 |
+ # remove .pth files since dev-python/namespace-zope handles the ns |
66 |
+ find "${D}" -name '*.pth' -delete || die |
67 |
+} |