1 |
commit: 2bbcbd8223c311410ea0d4df80968d5645e432a8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 3 04:41:42 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 05:37:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bbcbd82 |
7 |
|
8 |
dev-python/regex: Bump to 2022.6.2 |
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.6.2.ebuild | 35 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest |
17 |
index 3b66fac67416..7c8fe98d2e5d 100644 |
18 |
--- a/dev-python/regex/Manifest |
19 |
+++ b/dev-python/regex/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST regex-2022.4.24.tar.gz 383365 BLAKE2B 743a27afa1d504e9653b56d868b076479a476108213137ae7157772d29824204eeb781f5d939debfa8da122e22acbfbea6d8c356b14ad9c1eafca2be5970fdd2 SHA512 2b9e83c7164986eceed5ae0e33aca9075afa022398684bb688064394cfa43f06b0ce72c15fb7ceee55b7793072c7b1d7709513faedce4719f0c406164e9e0593 |
22 |
+DIST regex-2022.6.2.tar.gz 383342 BLAKE2B 48587a91366203301c517dc9cfe4f09e70905924484b906481bc89cf376854d406871312e154ac8b5833feeb50848636a95fdf99511df4feda4f16794a70856b SHA512 ce69a058aa05c471ce8728d29d5a498e387e5661d754d13bee51558a85f5e9e059a1464cc1b7721294cab421bae7219da7fd067e331e6cd6fd3dc464fdf0ecc1 |
23 |
|
24 |
diff --git a/dev-python/regex/regex-2022.6.2.ebuild b/dev-python/regex/regex-2022.6.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..d864a4bd8ea3 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/regex/regex-2022.6.2.ebuild |
29 |
@@ -0,0 +1,35 @@ |
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..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Alternative regular expression module to replace re" |
41 |
+HOMEPAGE=" |
42 |
+ https://bitbucket.org/mrabarnett/mrab-regex/ |
43 |
+ https://pypi.org/project/regex/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
50 |
+IUSE="doc" |
51 |
+ |
52 |
+PATCHES=( |
53 |
+ "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" |
54 |
+ "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" |
55 |
+) |
56 |
+ |
57 |
+distutils_enable_tests unittest |
58 |
+ |
59 |
+python_install_all() { |
60 |
+ use doc && local HTML_DOCS=( docs/Features.html ) |
61 |
+ local DOCS=( README.rst docs/*.rst ) |
62 |
+ |
63 |
+ distutils-r1_python_install_all |
64 |
+} |