1 |
commit: 43cd582145205649e6024124bc4016ed393419a9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 18 21:57:29 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 18 22:44:24 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43cd5821 |
7 |
|
8 |
dev-python/regex: Bump to 2022.1.18 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/regex/Manifest | 1 + |
13 |
dev-python/regex/regex-2022.1.18.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest |
17 |
index 6f47fe84a969..175e1f220711 100644 |
18 |
--- a/dev-python/regex/Manifest |
19 |
+++ b/dev-python/regex/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST regex-2021.11.10.tar.gz 702813 BLAKE2B 4729067d690033ff3c6dabb4e180d9f46fbf9cb53c4244d7d76a96d90c07c14afd4487fb068d4b4eef17bc8457f8f9de1a8bcdcefd0fe1a6a74eae00e6fabeb4 SHA512 b821e2d5a9e21e24cacfb4ed7c4e64be89a50562f6159088587e7701940a0598114abe9b96b11b17d638b098beb070b6722ea8ca8a7ccd0d60cef6973df3ee7d |
22 |
+DIST regex-2022.1.18.tar.gz 382589 BLAKE2B aa11459d2a2a7d6032c7f7ff0dc6eadaa6bf091637dee7ea8c8e6508a37dbf34b22923346b047b1d37d988981de5572d4dce903855e82b47a09f101200b5b146 SHA512 23f782c98c4dc98e51296626b3c6466058771d11a398a92f1ebdd69795dbe318aeeb3f1a551c817b8f06df1c1373af5a93a1590d15168569419fa439b3163edd |
23 |
|
24 |
diff --git a/dev-python/regex/regex-2022.1.18.ebuild b/dev-python/regex/regex-2022.1.18.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..1190952959cc |
27 |
--- /dev/null |
28 |
+++ b/dev-python/regex/regex-2022.1.18.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Alternative regular expression module to replace re" |
40 |
+HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
46 |
+IUSE="doc" |
47 |
+ |
48 |
+PATCHES=( |
49 |
+ "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" |
50 |
+ "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" |
51 |
+) |
52 |
+ |
53 |
+distutils_enable_tests unittest |
54 |
+ |
55 |
+python_install_all() { |
56 |
+ use doc && local HTML_DOCS=( docs/Features.html ) |
57 |
+ local DOCS=( README.rst docs/*.rst ) |
58 |
+ |
59 |
+ distutils-r1_python_install_all |
60 |
+} |