1 |
commit: 95b6d5f369cfc998e54f678786bf68f62e509ea6 |
2 |
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Nov 13 10:27:38 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 30 08:28:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b6d5f3 |
7 |
|
8 |
dev-python/zope-exceptions: bump v4.3, EAPI=7 |
9 |
|
10 |
use distutils_enable_tests for tests |
11 |
|
12 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
13 |
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com> |
14 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
15 |
|
16 |
dev-python/zope-exceptions/Manifest | 1 + |
17 |
.../zope-exceptions/zope-exceptions-4.3.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 4de2a948e94..dc76e3266ec 100644 |
22 |
--- a/dev-python/zope-exceptions/Manifest |
23 |
+++ b/dev-python/zope-exceptions/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST zope.exceptions-4.1.0.tar.gz 26605 BLAKE2B c57ed6536e4e2eee973864b2cff4e5559f7a184c49714ca5b8b6c7c5bf56aa0e4580d149a9dfe0607ba8b1738e88f05b65c145ccdeb20ef82826be2009eaca05 SHA512 7491a0558a999d6907d2d1adb33086ef047dd4fc5d39709da628a94ee11f5afaec4b2cb456c19b16595cfaf46cc0d25fb847196d331c9d9c80d2ba3a582b415f |
26 |
+DIST zope.exceptions-4.3.tar.gz 30704 BLAKE2B aa5319c8f9b3555038809f8209d121b4a8944a9df1c683302749c12e1e5097139047583b1f033e6530005232fadc326aed7da64fa585b749ec50cd22cb3411a5 SHA512 348c8edb0246bb2035ca5c1bcfaca7d3be2525157e2c9267a59a061c8ba749b364428e3d6a3aa3f967306abd0a319e4d6fa935b7fc35fff3bb53960015505695 |
27 |
|
28 |
diff --git a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..3a2d52809d5 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild |
33 |
@@ -0,0 +1,34 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+MY_PN=${PN/-/.} |
43 |
+MY_P=${MY_PN}-${PV} |
44 |
+ |
45 |
+DESCRIPTION="General purpose exceptions for Zope packages" |
46 |
+HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions" |
47 |
+SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="ZPL" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+ |
53 |
+RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] |
54 |
+ dev-python/zope-interface[${PYTHON_USEDEP}]" |
55 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
+ 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 |
+} |