1 |
commit: fe0935bd6d0646cc360dcd6a7431065bd7da6f44 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 24 00:15:39 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 24 00:19:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe0935bd |
7 |
|
8 |
dev-python/rebulk: Bump to 3.0.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/rebulk/Manifest | 1 + |
13 |
dev-python/rebulk/rebulk-3.0.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/rebulk/Manifest b/dev-python/rebulk/Manifest |
17 |
index 6af83f50253..9feac58b6a6 100644 |
18 |
--- a/dev-python/rebulk/Manifest |
19 |
+++ b/dev-python/rebulk/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST rebulk-2.0.1.tar.gz 258115 BLAKE2B d19210911cf89cb7c371819e384da95c2159eb92abf9f027cbdf1803a18054c556e73364ae10c5bb0b5007cbdb2156b2118d22d6e278b6a02055bacbcbdbc322 SHA512 7d453b7ba952994dec3258aa95a3f6090e6f8afb5a674c1b5e54e036f41022b887d3d65d21f2023ae6e2596cce3baf52d33fc23708498a4f0aef26d3594c8289 |
22 |
+DIST rebulk-3.0.0.gh.tar.gz 252364 BLAKE2B 669f25fa4cf25d4de426552eafd1f3463c05e42eb6f587b8c15d0d319c9c81e515d8461c5c412bd89a483d619374af0a93849deb0ccb3af9ccd7617ebd908504 SHA512 eb474b8b8509f291938bc3c96ef591b8233a41b9eb28f7957f3d20e098140ac6d80a1337c6ff1c89eeea4c34f94eb37af811d2200a8f2a574fc93b8fa1ea3c5d |
23 |
|
24 |
diff --git a/dev-python/rebulk/rebulk-3.0.0.ebuild b/dev-python/rebulk/rebulk-3.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..35dcb15832c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/rebulk/rebulk-3.0.0.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python library that performs advanced searches in strings" |
40 |
+HOMEPAGE="https://github.com/Toilal/rebulk https://pypi.org/project/rebulk/" |
41 |
+SRC_URI=" |
42 |
+ https://github.com/Toilal/rebulk/archive/v${PV}.tar.gz |
43 |
+ -> ${P}.gh.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ # Remove base64-encoded zip archive with pytest. |
53 |
+ rm runtests.py || die |
54 |
+ |
55 |
+ # Disable unconditional dependency on dev-python/pytest-runner. |
56 |
+ sed -i -e "s|'pytest-runner'||g" setup.py || die |
57 |
+ |
58 |
+ distutils-r1_python_prepare_all |
59 |
+} |