diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/regex/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/regex/regex-2025.7.31.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index f567f1bc8d0a..befebb95f27d 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1 +1,2 @@ DIST regex-2024.11.6.tar.gz 399494 BLAKE2B 5b805e71d505516f1b1454d5198591c902eadf56887529bff988e301af639e891b25196467d4b7e2a55144e223ae731e878e2237c1b1ac7852f282aad1d34e13 SHA512 e04c611c22c07cf649ca01517c2508ea5ffbc0c729c43e6f9e0274a7ede68ace88a452987b50345928317869f710c9c75e0c5a0280e2410fc760bcbac7482dd6 +DIST regex-2025.7.31.tar.gz 407354 BLAKE2B 76ff46c4d745c6710faeb2745b7e97260c07093d697dfc26c25118d988d3cb34efdb456417296de8bc3372c2c6e55dc7bb0407a2043ca418ebd1d8cb19a80a18 SHA512 d30a07dee87612efd743eee687c158a886d19de34bcf98183ccbf0c72f911c6f6534875312c46c77506e7897894bf96b6fb42fa7309825e12ea4855045896c3a diff --git a/dev-python/regex/regex-2025.7.31.ebuild b/dev-python/regex/regex-2025.7.31.ebuild new file mode 100644 index 000000000000..f59db819ba31 --- /dev/null +++ b/dev-python/regex/regex-2025.7.31.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 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_{11..14} ) + +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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc" + +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 +} |
