summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-03-16 10:14:06 +0100
committerMichał Górny <mgorny@gentoo.org>2022-03-16 10:14:06 +0100
commit6c2dc990faa8441dae2e17d196abb98519b841e4 (patch)
treebcd2a819cf2f6d55dbac78c013564524555d577a /dev-python/regex
parentdev-python/suds: Bump to 1.1.0 (diff)
downloadgentoo-6c2dc990faa8441dae2e17d196abb98519b841e4.tar.gz
gentoo-6c2dc990faa8441dae2e17d196abb98519b841e4.tar.bz2
gentoo-6c2dc990faa8441dae2e17d196abb98519b841e4.zip
dev-python/regex: Bump to 2022.3.15
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/regex')
-rw-r--r--dev-python/regex/Manifest1
-rw-r--r--dev-python/regex/regex-2022.3.15.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest
index 6bd51193e205..2f7b917b2954 100644
--- a/dev-python/regex/Manifest
+++ b/dev-python/regex/Manifest
@@ -1,2 +1,3 @@
DIST regex-2022.1.18.tar.gz 382589 BLAKE2B aa11459d2a2a7d6032c7f7ff0dc6eadaa6bf091637dee7ea8c8e6508a37dbf34b22923346b047b1d37d988981de5572d4dce903855e82b47a09f101200b5b146 SHA512 23f782c98c4dc98e51296626b3c6466058771d11a398a92f1ebdd69795dbe318aeeb3f1a551c817b8f06df1c1373af5a93a1590d15168569419fa439b3163edd
+DIST regex-2022.3.15.tar.gz 383001 BLAKE2B 459fed91a8996d6191ccd220869cf0c0e793f774552702c9aaec00882f71adae1e7378233811f6885d95b10db963d098a1d4c45aa0887c26d304df85fa9fb124 SHA512 99ef24b28dc5b1ec6a5d670698a98025aff14d082f6c24a3122157d28879f71c3ced2f5d2a3c8c6091609d93b7a500b2882b92b29a8fe1527532dd9f280cd51b
DIST regex-2022.3.2.tar.gz 383148 BLAKE2B 6f908207f759b1eadec44cca89c2eeffc42d798bd8a33ae3bf1ab1bbf0486040bb18a270836ebe2c7ae0518f01dd0e9467fe3a213284d433ceff0b51cf4bbe31 SHA512 176f675cb7698a28472128e2676ac735c37194c40151ea8aa32c6959dc42b9f54a6d7762a4628e50cfa21ffbe1db1a6c6a771e95c00882d975d5361cf67871ef
diff --git a/dev-python/regex/regex-2022.3.15.ebuild b/dev-python/regex/regex-2022.3.15.ebuild
new file mode 100644
index 000000000000..69fdfef34a6f
--- /dev/null
+++ b/dev-python/regex/regex-2022.3.15.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Alternative regular expression module to replace re"
+HOMEPAGE="https://bitbucket.org/mrabarnett/mrab-regex"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~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
+}