diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-07-02 07:39:56 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-07-02 07:41:14 +0200 |
commit | e9978cd1682a82f56f463fb18a95ad2bbcdf461a (patch) | |
tree | 338b39b3379154cb6cecf91500beca83d6e4e33c /dev-python/regex | |
parent | dev-python/qrcode: Bump to 7.1 (diff) | |
download | gentoo-e9978cd1682a82f56f463fb18a95ad2bbcdf461a.tar.gz gentoo-e9978cd1682a82f56f463fb18a95ad2bbcdf461a.tar.bz2 gentoo-e9978cd1682a82f56f463fb18a95ad2bbcdf461a.zip |
dev-python/regex: Bump to 2021.7.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/regex')
-rw-r--r-- | dev-python/regex/Manifest | 1 | ||||
-rw-r--r-- | dev-python/regex/regex-2021.7.1.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index 9ba09870a389..f8099073633d 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -1 +1,2 @@ DIST regex-2021.4.4.tar.gz 693187 BLAKE2B a13a51a883599f726c20cdbf28d5b0f1a53d8f2eec5f4047da0ede2951694507c5065de5a84152510874db087c342d52f19d920a7b72c034325ddc91f5fb75ac SHA512 2eff9867639f16ad7894997f399262d653a9ef0bb4e8d40bd977e5c55625cf57b4bb593f84504009a0b3cd50b3876d1938c71fd733c0ad1a076de32b6b4b33b9 +DIST regex-2021.7.1.tar.gz 693459 BLAKE2B 484259e14af99d911a20835be73686fea621e501756b02e760128b60a52eb62719efaa0b788ca57026dbdc3dfd55aa321a0feb8e73f6b7435f8711cf465ec2f6 SHA512 7b28e24a829b8ac8f43fdfadf012e833c715b9743d1c9a7cd34eea2789ec54df23d651c8a15aabe8c5d69662402f6302cfdeb23287c49d91b4e9fb3b9452ef73 diff --git a/dev-python/regex/regex-2021.7.1.ebuild b/dev-python/regex/regex-2021.7.1.ebuild new file mode 100644 index 000000000000..271faa2b4fed --- /dev/null +++ b/dev-python/regex/regex-2021.7.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 flag-o-matic + +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" + +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 +} |