diff options
Diffstat (limited to 'dev-python/regex')
-rw-r--r-- | dev-python/regex/Manifest | 2 | ||||
-rw-r--r-- | dev-python/regex/regex-2023.12.25.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index 60d72be17799..930b2291e668 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1,5 +1,7 @@ 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.10.3.tar.gz 394659 BLAKE2B 2a842b307efb32c87087991312d09a03f0772729ba290222c9917073a6335c7d6cc76bc0d193352d9904ce655868d3415f75b93861de612fceeb8507080da1fb SHA512 c300f5c8218697362a15ec9bcbef60e510743ab098d8f2fcf1c8e9e39c19f848c60ae85def93780a1696a7ed864a69e704e045e995cd5bafb26bfec117a16609 +DIST regex-2023.12.25.tar.gz 394706 BLAKE2B 742abe3a3515b527465d81df8fd9404aaa6aa1545e3e6a8c4a87d72d41138caf7f63bceae8bf06b3576656a6b5577bfec51629a60fe837ad2f3a4cd60a08ac06 SHA512 ecc5916633e2acb8d8a0c5ccfdc1c612f673546c42271d5627aa92a163fa6c8fd5a30ed734a02c23fa64807aaf2f883fa51175b7f482888631f699e77d1c0e15 EBUILD regex-2023.10.3.ebuild 869 BLAKE2B d663ee6efdb0e594489f14b2582a31ee19fc0195ab38b9bdf129bad76002e9ca31d379c51ecaec40b5d159dca6f657d976b74fb988ac376b3ff42dba80f9bcb3 SHA512 63560ba290178a1cbf5db138b5d5ac47a92747973f5ae8f47d3767baf1d485b8c066e6bbe823f0cc38b088d5e80874d98d6098893570b0c4bccaf8bba26215eb +EBUILD regex-2023.12.25.ebuild 877 BLAKE2B f259b1ff19e1438b06edd85ac67728f576c44396dea6d56f5b64eb1fd9765d7ef5cc7e40a4118b3cfd4910a05e77af9a1ff987f6aff65d00b3d2803d65b0eb99 SHA512 c8fc361f0017b6f74c6ba8d8b436bd6f6cd5b436764c3364f59593d6df7fde1be14115c7fa7ee52634ce88c1d59a6d16f9bb4b16d43b54373b3484fdfc9ec29b MISC metadata.xml 448 BLAKE2B ce92d069195d11c558d338d4f21cc9bb48e50f21a44aacee610f88283aeae0319b9a31b987fc1b6206832f7b251bb1f64b0d9bccd3eefd6c54953192911eb5e9 SHA512 a9b18af0c107005e8a9e0e7bc4e1dd44891faa9a5234365ddc39ecac2e3dc197c58b31087b4d97d94b48644be7c984d773e50ddb03063c6c95b1f94884483dfc diff --git a/dev-python/regex/regex-2023.12.25.ebuild b/dev-python/regex/regex-2023.12.25.ebuild new file mode 100644 index 000000000000..69354dc06042 --- /dev/null +++ b/dev-python/regex/regex-2023.12.25.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 +} |