Gentoo Archives: gentoo-commits

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