diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/regex/Manifest | 1 | ||||
-rw-r--r-- | dev-python/regex/regex-2021.11.10.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index e608a389b583..134b7b588c73 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1,3 +1,4 @@ DIST regex-2021.10.23.tar.gz 703746 BLAKE2B e26ec50994375f8b128206743209dff1ceb760b67967ff66d2553c1da27840e0df1611bf1a2746fd26246d3ac8b4a3974c98c8b4d4ede4e6d7954875c17b2405 SHA512 6bc67a066a7f33f6567a672132b1b65d89b21152d5ec3546262e542413ce40999ad57fb55eec92b9f4010489968b6eed1dab27efa63e14b771d883a890ddf9ab DIST regex-2021.10.8.tar.gz 703541 BLAKE2B da2a35c0f95c208fe2a9951d4c8cf756cd9eecb3ff27c5d729e9b5702256cc12bdde896019abf2aa12d206cbaace0fa693be332ff8d8baa5e6e628866eb64dea SHA512 395fbef61d54fad539bbd1e51c9100cba02bcd3a147e95a32ff8c32cb7fca66df98bade638e24f9a5c6e5d6c7becca033f925c4fa675b4e6689cba8316a8b46d +DIST regex-2021.11.10.tar.gz 702813 BLAKE2B 4729067d690033ff3c6dabb4e180d9f46fbf9cb53c4244d7d76a96d90c07c14afd4487fb068d4b4eef17bc8457f8f9de1a8bcdcefd0fe1a6a74eae00e6fabeb4 SHA512 b821e2d5a9e21e24cacfb4ed7c4e64be89a50562f6159088587e7701940a0598114abe9b96b11b17d638b098beb070b6722ea8ca8a7ccd0d60cef6973df3ee7d DIST regex-2021.11.2.tar.gz 712630 BLAKE2B 0a6247d1ca26b0ce644f8036892ed4a5177d69b06eb6055bcd42a08874b24666df7525d19c270b61eca0c14474a0b68fb365e4f0499cdf5ede6510595bc302b8 SHA512 1863158271224595f6a540dcc0f7fd9125b69f9cdcf7b67efc589605b739e7ed7a09fbe30fbd1f26b1d57fca25df8b150b9726412d331a4aa757387c247cb904 diff --git a/dev-python/regex/regex-2021.11.10.ebuild b/dev-python/regex/regex-2021.11.10.ebuild new file mode 100644 index 000000000000..67c833d04b54 --- /dev/null +++ b/dev-python/regex/regex-2021.11.10.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~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_test() { + eunittest -s "${BUILD_DIR}"/lib +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/Features.html ) + local DOCS=( README.rst docs/*.rst ) + + distutils-r1_python_install_all +} |