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