Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/regex/
Date: Thu, 18 Aug 2022 18:11:52
Message-Id: 1660846297.9200af31af27b025599b737f90575fd359645f5b.arthurzam@gentoo
1 commit: 9200af31af27b025599b737f90575fd359645f5b
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 17:04:42 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 18:11:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9200af31
7
8 dev-python/regex: add 2022.8.17
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/regex/Manifest | 1 +
13 dev-python/regex/regex-2022.8.17.ebuild | 35 +++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest
17 index 0501cc9cc0d5..0b783f6c52d4 100644
18 --- a/dev-python/regex/Manifest
19 +++ b/dev-python/regex/Manifest
20 @@ -1,2 +1,3 @@
21 DIST regex-2022.7.25.tar.gz 385022 BLAKE2B 64c2ff2e9a41d6d559ed199e978b7eb453ffe872d3cbe3d14f31ed6f7df546aa33079ce1d8279b815a35a18d9ea75da6f0beb38e4df576037995518a38db688a SHA512 1179239e8e2a1ff55150b6c2e483f2d2b795a7f5cb400310c315a59aad19590d410cc9c1a862c66be2ca93b24b387a4c4fa0a5467d497a9bc5ffc79dac7cb0ff
22 DIST regex-2022.7.9.tar.gz 383431 BLAKE2B 9773b3e5c516d79ec6b37d288addb0638016716093ec49d8cdc4a2132fc16ea76c4a21fd02cc6bc6547fd0dd76bb0ec9984bb7f41eb88e4f89623a8d4a5be40d SHA512 0c8b78fc10e5ba4e95a3603a4958efb610168b63a490715c2556243af7bab4d04e6eab6cad6bc98816cfa94209404806ede28cf48643d7e92c9b8323c2b0c5e2
23 +DIST regex-2022.8.17.tar.gz 385777 BLAKE2B c4425e01fea5c25b9ad77e645d3671d65e747a6ee9bd7b8c1870396b4bd989c3a3ec73c33b72eb5e00f24b8e9fff2cef8c229280d2b98a13df7dd8a07bd1b2c9 SHA512 6a305c00a6355dfb9293876292e7d22de58cc00f15d7beadfaf49b49b5ef512404ad5d689f4b90f6302c5246610cb08ebd8ad6a4739818a43c6eb84fc5bc6421
24
25 diff --git a/dev-python/regex/regex-2022.8.17.ebuild b/dev-python/regex/regex-2022.8.17.ebuild
26 new file mode 100644
27 index 000000000000..d864a4bd8ea3
28 --- /dev/null
29 +++ b/dev-python/regex/regex-2022.8.17.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..11} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Alternative regular expression module to replace re"
42 +HOMEPAGE="
43 + https://bitbucket.org/mrabarnett/mrab-regex/
44 + https://pypi.org/project/regex/
45 +"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
51 +IUSE="doc"
52 +
53 +PATCHES=(
54 + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch"
55 + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch"
56 +)
57 +
58 +distutils_enable_tests unittest
59 +
60 +python_install_all() {
61 + use doc && local HTML_DOCS=( docs/Features.html )
62 + local DOCS=( README.rst docs/*.rst )
63 +
64 + distutils-r1_python_install_all
65 +}