summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-09 05:01:46 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-09 05:09:00 +0200
commit1292a2d1063251dde1b83da03c2275014db1ddd1 (patch)
treea5cb0a66b25e58a1a6b525e09b192d86df04c9e3 /dev-python/regex
parentsys-apps/portage: add 3.0.50 (diff)
downloadgentoo-1292a2d1063251dde1b83da03c2275014db1ddd1.tar.gz
gentoo-1292a2d1063251dde1b83da03c2275014db1ddd1.tar.bz2
gentoo-1292a2d1063251dde1b83da03c2275014db1ddd1.zip
dev-python/regex: Bump to 2023.8.8
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-2023.8.8.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest
index 032bc9ec1190..350774846df2 100644
--- a/dev-python/regex/Manifest
+++ b/dev-python/regex/Manifest
@@ -1 +1,2 @@
DIST regex-2023.6.3.tar.gz 392247 BLAKE2B c7735e19df80e919fd577723c54f6761698adf014dd4e936cda6a1ed745f26f083abd59ed2a772a70e16bec742f8d29a1e76a726b28e1395265c9941ff4e7b99 SHA512 092f316621a0237425a6e8124b289f4156256424b28cb36c590b8d89d731cfa363a97051199b16ede6520e12e99659497f230338a6f913587f578ededdedc408
+DIST regex-2023.8.8.tar.gz 392505 BLAKE2B 0d0f582e42c93ec4497f82ac69aaad6a69dd4bbb482bef6e06a51340a67b8d041ec554d878d8f0dcb57dce08b708fd87762ed8451f0221019f38d8188031711b SHA512 81a8421df5ab2db0eb4a5d1c434933d1513f634f32f57a48b32dede3bfddb379345baf7ecec0241338c0fc0f96463489ffa64c3214ee58a92ab5592cf9893bef
diff --git a/dev-python/regex/regex-2023.8.8.ebuild b/dev-python/regex/regex-2023.8.8.ebuild
new file mode 100644
index 000000000000..69354dc06042
--- /dev/null
+++ b/dev-python/regex/regex-2023.8.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+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
+}