summaryrefslogtreecommitdiff
path: root/dev-python/regex
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/regex')
-rw-r--r--dev-python/regex/Manifest16
-rw-r--r--dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_empty_array.patch35
-rw-r--r--dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_issue_18468.patch31
-rw-r--r--dev-python/regex/regex-2023.12.25.ebuild37
-rw-r--r--dev-python/regex/regex-2024.4.16.ebuild37
-rw-r--r--dev-python/regex/regex-2024.5.15.ebuild37
-rw-r--r--dev-python/regex/regex-2024.7.24.ebuild (renamed from dev-python/regex/regex-2024.4.28.ebuild)7
-rw-r--r--dev-python/regex/regex-2024.9.11.ebuild (renamed from dev-python/regex/regex-2024.5.10.ebuild)7
8 files changed, 6 insertions, 201 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest
index bebb95505420..d46eda1a5386 100644
--- a/dev-python/regex/Manifest
+++ b/dev-python/regex/Manifest
@@ -1,13 +1,5 @@
-AUX regex-2021.4.4-pypy3-fix-test_empty_array.patch 1103 BLAKE2B 2498de0ebaa68fcb99653a40bfbb9a1009519a79244fa3193ca43b9b8b3ef714f066fdac68f32d7f24c275690cb24bd1deca6b30120519b99a3402db7b4d4d48 SHA512 d55643d7ca251f465d14d8cffab60e6f2c8fb18ec6f9032a5318fab17a8b8e5ae5c98d22e0eff28aacd5bb8ec2ff606022921f73f3c9f7e54ee0853de262cfa7
-AUX regex-2021.4.4-pypy3-fix-test_issue_18468.patch 1078 BLAKE2B 3545ee5167790fbb1d068afdac3f6dbba28ea92d6c1d4ef31b60a8406061deb8609d7fd9a659b45715d4af0f2deb1da0ef9865aebe58919c2b392e2a1a833cae SHA512 182628709ef0f373037acf197c2ade3215684b2c805a96a600a3dfcb092e6fd134c261330ed76c7c248e72f439e464ccde432444bfe4a9610bd36c777bf45c9d
-DIST regex-2023.12.25.tar.gz 394706 BLAKE2B 742abe3a3515b527465d81df8fd9404aaa6aa1545e3e6a8c4a87d72d41138caf7f63bceae8bf06b3576656a6b5577bfec51629a60fe837ad2f3a4cd60a08ac06 SHA512 ecc5916633e2acb8d8a0c5ccfdc1c612f673546c42271d5627aa92a163fa6c8fd5a30ed734a02c23fa64807aaf2f883fa51175b7f482888631f699e77d1c0e15
-DIST regex-2024.4.16.tar.gz 394724 BLAKE2B 75df2f861116ebf37845abdb0883774ac53d7d61e4cdf18128c74b4c1d5a55b86bfd447616cdb8fc14239c0a5aeaa2c7e59cb0b2b365b57185d785a3728e6dce SHA512 15da80751f1a4b000e4ea59887963aec939fc6431a672391a7f882e05ff15934b89e191d19fd388b9dd6032d2ea44f8511c0ce238e5f1d8db102a89d1866f456
-DIST regex-2024.4.28.tar.gz 394810 BLAKE2B 6fa882219feb783c7340015769655e05257ddd17a6e34f830a60f319afca5face64de72511b0bef0820ace4f379ff5ad557bbdfef414cc0371136a79949a7e13 SHA512 3a05ea8f197d6924f6fd3db2609c1ca13f452f1bc598f8d6ec2ee45a0e5966655e93f039cc76e1cdc714856fa5d21e64aae8d83063ebafdd85e44c82e65f8c50
-DIST regex-2024.5.10.tar.gz 394828 BLAKE2B a16a9b2bcfbec0df059342aee3faa6d71342f8cca78d8db2176be89ee9ababfa03875177f860791701eee2b1b6f3f00ad5e0a7ee74fc78d3c19279893098b69f SHA512 349c2961d96d39cdb76d2f05c7238f0d7e8726445b945001673ad989e2d72e045aeac0f4e661b510cf177bc3634e4573edef211b3b825840acb328be7cf0c9df
-DIST regex-2024.5.15.tar.gz 394856 BLAKE2B 8990bbc78f7f9c6a4dc07d913ec5557a4cd1bac022bc71093e3d8083b5d547182e08f2e8189c3808d8e368ed42530578df9951367b59dc3450bb09458b57f496 SHA512 7e465987bff529a6895cd6606b5a188c0fb2cdf333de108a4e3e37c7badeea146fd23d1d757f47b65d4facdc30cbdb0ca3c0df2395124c8e3e6946a98f52f413
-EBUILD regex-2023.12.25.ebuild 1025 BLAKE2B 16326df8fa7bdde8e12a9fffd24e7f649ce394daad21a2b0a94e3a49151425970d464e69a9deaff80f773fd3768065cd090c9b599e292314888850d67872e2ec SHA512 538ec38186fddb6c9c7ddadf4902a80ea532e025dd2e80a76dc931b402659a8069a8f034ed94fd7f813f50626b842faada6b5ec95cb9edf2b020478602f3e793
-EBUILD regex-2024.4.16.ebuild 1026 BLAKE2B 81b7d57dd55681487134459e481ece63160cf70a6d0ea8a57f39f3f8d9ff5ef1236a3d6cd58ad6de5d9107fc38abf075e493026b0d09e8bf7c24f1f5b3c945f3 SHA512 83d188af08677410aa4459a25a587e792e1c7d269fd7a709830ee7bd347390474652e0a1c3903562af35c4fee1ee65d1c569f0e3970c29199f91d3c1a065ef4e
-EBUILD regex-2024.4.28.ebuild 1026 BLAKE2B 18a3bbf470d249dec183cf355df23fc9cb03f5a73ba06a3c8d27ebf2cb67f5cb373146f89148c823ebcbc3648dff5893c8d099abf6262688846019031e59f8ac SHA512 10af358ee2fc684e91c0cc3080ce199149540954aeec8d162b0428961a82282f4eb20662d6c808e8de9b19addbcfd5f45c434dd19a1137d729e0d34082aa5931
-EBUILD regex-2024.5.10.ebuild 1033 BLAKE2B bcb1085a9b89e0e1a16bc04f8f3923f1d0aed7a40d9bed9185dcb910a11b9537cc598b35fd30c3708a6ee6023057f7164dec4dbcee9ac0c492bbbc5b4b21b110 SHA512 e377cece222733cd3ba98d63322c4ee2e4d1cb75e25565fe157171cb7a72c796319d5f64dda2d899c8eda06a19464bb7a7905ce9a24f370f2515768c594e25fc
-EBUILD regex-2024.5.15.ebuild 1033 BLAKE2B bcb1085a9b89e0e1a16bc04f8f3923f1d0aed7a40d9bed9185dcb910a11b9537cc598b35fd30c3708a6ee6023057f7164dec4dbcee9ac0c492bbbc5b4b21b110 SHA512 e377cece222733cd3ba98d63322c4ee2e4d1cb75e25565fe157171cb7a72c796319d5f64dda2d899c8eda06a19464bb7a7905ce9a24f370f2515768c594e25fc
+DIST regex-2024.7.24.tar.gz 393485 BLAKE2B d2a46fe2039f78fc3f1e8cda1b7b1808b160018d8e0c1b880bb1a573b36a3e1e7c7ccfa238f99719b5a484fa3b7457109f9e8668fbf16cbaef52006e0e6f6f89 SHA512 7b9efc5bdefa6610862be06831404380939dfffad6e2a488d362f4a247356eb0739c2b9078f41e554eca21d64fd4b1b145291ca8140f18d1586328f7d19cefc9
+DIST regex-2024.9.11.tar.gz 399403 BLAKE2B 6ddf11954723183aa2cf15568592e0466a072897f7d69a22139c3db08fbf113a5b5df5df8b7982e4dc1987be836bbd323612549ba4723408cc235b36c21ae7b1 SHA512 5fec15361d19df69445093a3e4ef59e66d72c5c0a661d83640877850e31d874827aab5ebece2004a93534d7c4cc6084f76f76dda5db8ca3196f9f0a5f98a0043
+EBUILD regex-2024.7.24.ebuild 880 BLAKE2B d58c28324c3ac0305e038ef9bab023f8edf96e7875557cc54d22106fbce4e658f7a1e98dbae05714887e6df8f8188b2c8ada519a95258754f59f8203b539072d SHA512 23eef2b29ccffb8ba6946404dbf07627c02e26fe9a8233aa190cd32e7906f35d3a0e9d176a2931313d46693e55dea3995fd66f16a0a70a05fb3351d87b37b675
+EBUILD regex-2024.9.11.ebuild 881 BLAKE2B ff0f51db3d12e5043833958388b6bbc64ac78d5e05512b4d7a36fb8b7e279760310bef91f2b47952029d993451638eb0aa8773583d6601b8c84b46b491727ddf SHA512 d3f68c419ce95807fabc8a555299a3c9406b79f1397c65831619f45505735c75090c51bbcea9a425c7d44a6ec4fe39d8ac12b80770ca8a1788dd3f522a2eefbc
MISC metadata.xml 448 BLAKE2B ce92d069195d11c558d338d4f21cc9bb48e50f21a44aacee610f88283aeae0319b9a31b987fc1b6206832f7b251bb1f64b0d9bccd3eefd6c54953192911eb5e9 SHA512 a9b18af0c107005e8a9e0e7bc4e1dd44891faa9a5234365ddc39ecac2e3dc197c58b31087b4d97d94b48644be7c984d773e50ddb03063c6c95b1f94884483dfc
diff --git a/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_empty_array.patch b/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_empty_array.patch
deleted file mode 100644
index 706b41b74688..000000000000
--- a/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_empty_array.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Arthur Zamarin <arthurzam@gmail.com>
-Date: Fri, 30 Jul 2021 11:13:41 +0300
-[PATCH] PyPy3: fix test_empty_array
-
-As an optimization, PyPy sets empty array.array to use a NULL buffer
-pointer, while CPython uses empty buffer (but not NULL).
-Add a very specially crafted fix for PyPy3
-
-Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
----
- regex_3/_regex.c | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
---- a/regex_3/_regex.c
-+++ b/regex_3/_regex.c
-@@ -18062,9 +18062,19 @@ Py_LOCAL_INLINE(BOOL) get_string(PyObject* string, RE_StringInfo* str_info) {
- }
-
- if (!str_info->view.buf) {
-+#if defined(PYPY_VERSION)
-+ /* In PyPy3, when the array.array is empty, it's buffer is NULL */
-+ str_info->characters = NULL;
-+ str_info->length = 0;
-+ str_info->charsize = 1;
-+ str_info->is_unicode = FALSE;
-+ str_info->should_release = FALSE;
-+ return TRUE;
-+#else
- PyBuffer_Release(&str_info->view);
- PyErr_SetString(PyExc_ValueError, "buffer is NULL");
- return FALSE;
-+#endif
- }
-
- str_info->should_release = TRUE;
diff --git a/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_issue_18468.patch b/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_issue_18468.patch
deleted file mode 100644
index ae5958021781..000000000000
--- a/dev-python/regex/files/regex-2021.4.4-pypy3-fix-test_issue_18468.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Arthur Zamarin <arthurzam@gmail.com>
-Date: Fri, 30 Jul 2021 11:38:26 +0300
-[PATCH] PyPy3: fix test_issue_18468
-
-When using the small subclass classes to test correctness of split
-results, there are difference between CPython and PyPy3:
- - CPython returns always the base class (for example str instead
- of StrSubclass)
- - PyPy3 returns the same class, so we get an StrSubclass
-
-Based on the test, it looks like the behaviour of PyPy3 is correct,
-but the test works based on CPython.
-
-The fix was to relax the equals type to check that it is a subclass.
-
-Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
----
- regex_3/test_regex.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/regex_3/test_regex.py
-+++ b/regex_3/test_regex.py
-@@ -52,7 +52,7 @@ class RegexTests(unittest.TestCase):
- for x, y in zip(actual, expect):
- recurse(x, y)
- else:
-- self.assertIs(type(actual), type(expect), msg)
-+ self.assertIsInstance(actual, type(expect), msg)
-
- recurse(actual, expect)
-
diff --git a/dev-python/regex/regex-2023.12.25.ebuild b/dev-python/regex/regex-2023.12.25.ebuild
deleted file mode 100644
index 2e070fd4b84d..000000000000
--- a/dev-python/regex/regex-2023.12.25.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-# pypy isn't supported upstream because of its UTF8 representation for strings
-# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187.
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Alternative regular expression module to replace re"
-HOMEPAGE="
- https://github.com/mrabarnett/mrab-regex/
- https://pypi.org/project/regex/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
-IUSE="doc"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch"
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch"
-)
-
-distutils_enable_tests unittest
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/Features.html )
- local DOCS=( README.rst docs/*.rst )
-
- distutils-r1_python_install_all
-}
diff --git a/dev-python/regex/regex-2024.4.16.ebuild b/dev-python/regex/regex-2024.4.16.ebuild
deleted file mode 100644
index 13181b517dbc..000000000000
--- a/dev-python/regex/regex-2024.4.16.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-# pypy isn't supported upstream because of its UTF8 representation for strings
-# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187.
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Alternative regular expression module to replace re"
-HOMEPAGE="
- https://github.com/mrabarnett/mrab-regex/
- https://pypi.org/project/regex/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
-IUSE="doc"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch"
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch"
-)
-
-distutils_enable_tests unittest
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/Features.html )
- local DOCS=( README.rst docs/*.rst )
-
- distutils-r1_python_install_all
-}
diff --git a/dev-python/regex/regex-2024.5.15.ebuild b/dev-python/regex/regex-2024.5.15.ebuild
deleted file mode 100644
index 850003b0471d..000000000000
--- a/dev-python/regex/regex-2024.5.15.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-# pypy isn't supported upstream because of its UTF8 representation for strings
-# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187.
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Alternative regular expression module to replace re"
-HOMEPAGE="
- https://github.com/mrabarnett/mrab-regex/
- https://pypi.org/project/regex/
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
-IUSE="doc"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch"
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch"
-)
-
-distutils_enable_tests unittest
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/Features.html )
- local DOCS=( README.rst docs/*.rst )
-
- distutils-r1_python_install_all
-}
diff --git a/dev-python/regex/regex-2024.4.28.ebuild b/dev-python/regex/regex-2024.7.24.ebuild
index 4cabe9493565..eebf53e45d69 100644
--- a/dev-python/regex/regex-2024.4.28.ebuild
+++ b/dev-python/regex/regex-2024.7.24.ebuild
@@ -19,14 +19,9 @@ HOMEPAGE="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
IUSE="doc"
-PATCHES=(
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch"
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch"
-)
-
distutils_enable_tests unittest
python_install_all() {
diff --git a/dev-python/regex/regex-2024.5.10.ebuild b/dev-python/regex/regex-2024.9.11.ebuild
index 850003b0471d..f4a838965832 100644
--- a/dev-python/regex/regex-2024.5.10.ebuild
+++ b/dev-python/regex/regex-2024.9.11.ebuild
@@ -19,14 +19,9 @@ HOMEPAGE="
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
IUSE="doc"
-PATCHES=(
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch"
- "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch"
-)
-
distutils_enable_tests unittest
python_install_all() {