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: Sun, 03 May 2020 07:08:07
Message-Id: 1588489649.5e0bfdeef5d4348633d1479886d5f27704b58841.mgorny@gentoo
1 commit: 5e0bfdeef5d4348633d1479886d5f27704b58841
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 3 06:41:38 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 3 07:07:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e0bfdee
7
8 dev-python/rebulk: Bump to 2.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-2.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 e079271f18e..1682c45693d 100644
18 --- a/dev-python/rebulk/Manifest
19 +++ b/dev-python/rebulk/Manifest
20 @@ -1 +1,2 @@
21 DIST rebulk-0.9.0.tar.gz 257342 BLAKE2B a08b2d74685eea35597331bb2ef3c48e8a9cddc39ad3821cb7f33b80a47184a21f813b339e9d64548b3003913178191075455a6f787ab80ffa2cb3bf7f0db35d SHA512 25a22b3a5f5519f6f8c10abf6a477f212c0500264cfdcc5a9be09d3818462a051b1a7cd78f94991c44ac6bcdc7435b9909e65de48d1bd8138989e0da98d10262
22 +DIST rebulk-2.0.1.tar.gz 258115 BLAKE2B d19210911cf89cb7c371819e384da95c2159eb92abf9f027cbdf1803a18054c556e73364ae10c5bb0b5007cbdb2156b2118d22d6e278b6a02055bacbcbdbc322 SHA512 7d453b7ba952994dec3258aa95a3f6090e6f8afb5a674c1b5e54e036f41022b887d3d65d21f2023ae6e2596cce3baf52d33fc23708498a4f0aef26d3594c8289
23
24 diff --git a/dev-python/rebulk/rebulk-2.0.1.ebuild b/dev-python/rebulk/rebulk-2.0.1.ebuild
25 new file mode 100644
26 index 00000000000..65549c458c2
27 --- /dev/null
28 +++ b/dev-python/rebulk/rebulk-2.0.1.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} )
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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="MIT Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +
47 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
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 +}