1 |
commit: 5e2ab5ec8ceda7d012ee4f67549783696257cfa3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 9 19:08:25 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 9 19:08:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2ab5ec |
7 |
|
8 |
dev-python/zope-exceptions: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/zope-exceptions/Manifest | 1 - |
13 |
.../zope-exceptions-4.4-fix-test-py3.10.patch | 23 ------------- |
14 |
.../zope-exceptions/zope-exceptions-4.4.ebuild | 38 ---------------------- |
15 |
3 files changed, 62 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest |
18 |
index 67261529a5bd..d3cc351c6b45 100644 |
19 |
--- a/dev-python/zope-exceptions/Manifest |
20 |
+++ b/dev-python/zope-exceptions/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST zope.exceptions-4.4.tar.gz 28243 BLAKE2B 9af0b99826d574218c149c5a378886d3b3ec16935c0b6b883c0e048b22ba5ffee8408597f612a668eb18fc855a236e3810d6320c984faca4b7c5dfb4c76b303b SHA512 6ef175271ad1d62b450533e4c7d8f7380ffac519be5c48be084be297ad21d21fd8be380d9b5e221a8dac6a4c792bab14abc707331415c2df88208cac9c34013e |
23 |
DIST zope.exceptions-4.5.tar.gz 29609 BLAKE2B 63c853105d3a588418f79e877aeedf0b001bbe52eb3e6c82687127a8cc0b8e424143e75c7a77b224ede31c5db0efb1bbc126e851dbc8bef5b856615b0717f6ea SHA512 f3f75b2f9ecfe74d3bb081904750769bf331fb594d266907782b7ce7f9d062c261b2f95a50ce21cf8917c56a25899274dae466a5b59afa5ec66480182df55bd2 |
24 |
|
25 |
diff --git a/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch b/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch |
26 |
deleted file mode 100644 |
27 |
index a218797b25a2..000000000000 |
28 |
--- a/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch |
29 |
+++ /dev/null |
30 |
@@ -1,23 +0,0 @@ |
31 |
-From 71be9d0724f087c99857edeef514d0b99e429cc9 Mon Sep 17 00:00:00 2001 |
32 |
-From: Zamarin Arthur <arthurzam@×××××.com> |
33 |
-Date: Mon, 31 May 2021 12:14:30 +0300 |
34 |
-Subject: [PATCH] Adapt to python 3.10 SyntaxError messages |
35 |
- |
36 |
-Signed-off-by: Zamarin Arthur <arthurzam@×××××.com> |
37 |
---- |
38 |
- src/zope/exceptions/tests/test_exceptionformatter.py | 2 +- |
39 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
40 |
- |
41 |
-diff --git a/src/zope/exceptions/tests/test_exceptionformatter.py b/src/zope/exceptions/tests/test_exceptionformatter.py |
42 |
-index 64729b1..0f5ee8c 100644 |
43 |
---- a/src/zope/exceptions/tests/test_exceptionformatter.py |
44 |
-+++ b/src/zope/exceptions/tests/test_exceptionformatter.py |
45 |
-@@ -668,7 +668,7 @@ def test_multiline_exception(self): |
46 |
- self.assertEqual(lines[0], ' syntax error') |
47 |
- # PyPy has a shorter prefix |
48 |
- self.assertTrue(lines[1].endswith(' ^')) |
49 |
-- self.assertEqual(lines[2], 'SyntaxError: invalid syntax') |
50 |
-+ self.assertRegex(lines[2], '^SyntaxError: invalid syntax') |
51 |
- |
52 |
- def test_traceback_info_non_ascii(self): |
53 |
- __traceback_info__ = u"Have a Snowman: \u2603" |
54 |
|
55 |
diff --git a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild |
56 |
deleted file mode 100644 |
57 |
index e3e9b985874f..000000000000 |
58 |
--- a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild |
59 |
+++ /dev/null |
60 |
@@ -1,38 +0,0 @@ |
61 |
-# Copyright 1999-2021 Gentoo Authors |
62 |
-# Distributed under the terms of the GNU General Public License v2 |
63 |
- |
64 |
-EAPI=7 |
65 |
- |
66 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
67 |
-PYTHON_COMPAT=( python3_{7..10} pypy3 ) |
68 |
- |
69 |
-inherit distutils-r1 |
70 |
- |
71 |
-MY_PN=${PN/-/.} |
72 |
-MY_P=${MY_PN}-${PV} |
73 |
- |
74 |
-DESCRIPTION="General purpose exceptions for Zope packages" |
75 |
-HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions" |
76 |
-SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" |
77 |
-S="${WORKDIR}/${MY_P}" |
78 |
- |
79 |
-LICENSE="ZPL" |
80 |
-SLOT="0" |
81 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
82 |
- |
83 |
-RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] |
84 |
- dev-python/zope-interface[${PYTHON_USEDEP}]" |
85 |
-BDEPEND="test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" |
86 |
- |
87 |
-PATCHES=( |
88 |
- "${FILESDIR}/${P}-fix-test-py3.10.patch" |
89 |
-) |
90 |
- |
91 |
-distutils_enable_tests setup.py |
92 |
- |
93 |
-python_install_all() { |
94 |
- distutils-r1_python_install_all |
95 |
- |
96 |
- # remove .pth files since dev-python/namespace-zope handles the ns |
97 |
- find "${D}" -name '*.pth' -delete || die |
98 |
-} |