1 |
commit: ca5e0acb91cde33aeb3443463718437789ce17af |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 15:25:39 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 15:49:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5e0acb |
7 |
|
8 |
dev-python/regex: Bump to 2022.10.31 |
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.10.31.ebuild | 35 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest |
17 |
index 13dc4662993a..515f71eea275 100644 |
18 |
--- a/dev-python/regex/Manifest |
19 |
+++ b/dev-python/regex/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST regex-2022.10.31.tar.gz 391554 BLAKE2B 060822767ab28e26d000faa198f4226ba1e4600141a7b3e0f656df8d004b5007a0a7934057e608d524f6a21421573fbeb8a1be208ce69ba2d912a55d19fb3f22 SHA512 d461cddea75f2a8ceb749d7e1a54f3543fe4cb3418976ded26101cb53c333f0e2eabaa824239c89c50c94c6736409566215cb7b6c6c3a0544678d10b6af76cc5 |
22 |
DIST regex-2022.9.13.tar.gz 391531 BLAKE2B 83e8f1aabe15e65fb4f96072be3ccd5ddf1dcbffeeecb9d7a2889fb910d4095e902bfd45f43184b0df115b1116ddfc3e67d68a2fa903f19a8cbc6844ce023a3b SHA512 a991d6358001297db2b57855e76b8de680941ddefe9d18af1e9ee033da4e519df7b4553d138e7adf32b30593290284c91a954363bcc30b215409efe121e41e69 |
23 |
|
24 |
diff --git a/dev-python/regex/regex-2022.10.31.ebuild b/dev-python/regex/regex-2022.10.31.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..d864a4bd8ea3 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/regex/regex-2022.10.31.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 |
+} |