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/cli_helpers/
Date: Thu, 28 May 2020 07:19:36
Message-Id: 1590649696.386bb11c209b36897fb45715834b7cadbcaf2c93.mgorny@gentoo
1 commit: 386bb11c209b36897fb45715834b7cadbcaf2c93
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 28 07:08:16 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 28 07:08:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386bb11c
7
8 dev-python/cli_helpers: Bump to 2.0.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cli_helpers/Manifest | 1 +
13 ..._helpers-9999.ebuild => cli_helpers-2.0.1.ebuild} | 20 ++++----------------
14 dev-python/cli_helpers/cli_helpers-9999.ebuild | 13 +------------
15 3 files changed, 6 insertions(+), 28 deletions(-)
16
17 diff --git a/dev-python/cli_helpers/Manifest b/dev-python/cli_helpers/Manifest
18 index ac694707858..a1bbe298380 100644
19 --- a/dev-python/cli_helpers/Manifest
20 +++ b/dev-python/cli_helpers/Manifest
21 @@ -1,2 +1,3 @@
22 DIST cli_helpers-1.2.1.tar.gz 31104 BLAKE2B ded2b9b7825ddaeb33acf64b65362251f773a4a0a74aec1c79bdd8ef77f8f6953dd8761fd926f7a2b210c69534bee220f88e816dd63277b27db15b400510c9f3 SHA512 299fa4984b7c76e6be0527f040582242a746938f8725b6193895f9bbb835c82078658bbb8d1ea0000c26f3c8d2dad93139fd600e7c8d7c2d89777de27a5b26cf
23 DIST cli_helpers-2.0.0.tar.gz 31320 BLAKE2B dbda2c7128ac7a5f21ce9f12f866cffde1be9a4bb422c1233b32d9f346c54a73df5e5ea7734cb64ca13f3aeec7c11678c8090499cb5aa4b6d385c4fbc394f8e9 SHA512 fadee3d356d5a687d2f618801f31d0cd4b6c9a4ea1fad4d5fed087a95c3343ab90622e6c246d9a3bd878bc8324d3e9b3626ed3f1436c5d68698562ff6abec3a5
24 +DIST cli_helpers-2.0.1.tar.gz 32633 BLAKE2B 4bb66cd86871b18f52c737a06968a56098151273ab0a87386db62543961f3a699f37018f9e722a55635dca3136253c59a50d3ec7cb6ebb68d833abe2a320526c SHA512 e470eff51760c5e80d01a318eeb3d91510bd34ed7c094c4196342a74306ec0fe0751514d2ef2a5f77570d8434d417557cc83a8c34d0febdbc7c2cce7b1faf8a6
25
26 diff --git a/dev-python/cli_helpers/cli_helpers-9999.ebuild b/dev-python/cli_helpers/cli_helpers-2.0.1.ebuild
27 similarity index 58%
28 copy from dev-python/cli_helpers/cli_helpers-9999.ebuild
29 copy to dev-python/cli_helpers/cli_helpers-2.0.1.ebuild
30 index 0f8b17a25d1..b4159629ae3 100644
31 --- a/dev-python/cli_helpers/cli_helpers-9999.ebuild
32 +++ b/dev-python/cli_helpers/cli_helpers-2.0.1.ebuild
33 @@ -4,19 +4,15 @@
34 EAPI=7
35
36 PYTHON_COMPAT=( python3_{6,7} )
37 -EGIT_REPO_URI="https://github.com/dbcli/${PN}.git"
38 -inherit distutils-r1 git-r3
39 +inherit distutils-r1
40
41 DESCRIPTION="Python helpers for common CLI tasks"
42 HOMEPAGE="https://cli-helpers.rtfd.io/"
43 -SRC_URI=""
44 +SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45
46 LICENSE="BSD"
47 SLOT="0"
48 -KEYWORDS=""
49 -IUSE=""
50 -IUSE="test"
51 -RESTRICT="!test? ( test )"
52 +KEYWORDS="~amd64 ~x86"
53
54 RDEPEND="
55 >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}]
56 @@ -25,13 +21,5 @@ RDEPEND="
57 >=dev-python/terminaltables-3.0.0[${PYTHON_USEDEP}]
58 dev-python/wcwidth[${PYTHON_USEDEP}]
59 "
60 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
61 - test? (
62 - ${RDEPEND}
63 - >=dev-python/mock-2[${PYTHON_USEDEP}]
64 - dev-python/pytest[${PYTHON_USEDEP}]
65 - )"
66
67 -python_test() {
68 - pytest -vv || die "Tests fail with ${EPYTHON}"
69 -}
70 +distutils_enable_tests pytest
71
72 diff --git a/dev-python/cli_helpers/cli_helpers-9999.ebuild b/dev-python/cli_helpers/cli_helpers-9999.ebuild
73 index 0f8b17a25d1..67e147c6285 100644
74 --- a/dev-python/cli_helpers/cli_helpers-9999.ebuild
75 +++ b/dev-python/cli_helpers/cli_helpers-9999.ebuild
76 @@ -14,9 +14,6 @@ SRC_URI=""
77 LICENSE="BSD"
78 SLOT="0"
79 KEYWORDS=""
80 -IUSE=""
81 -IUSE="test"
82 -RESTRICT="!test? ( test )"
83
84 RDEPEND="
85 >=dev-python/configobj-5.0.5[${PYTHON_USEDEP}]
86 @@ -25,13 +22,5 @@ RDEPEND="
87 >=dev-python/terminaltables-3.0.0[${PYTHON_USEDEP}]
88 dev-python/wcwidth[${PYTHON_USEDEP}]
89 "
90 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
91 - test? (
92 - ${RDEPEND}
93 - >=dev-python/mock-2[${PYTHON_USEDEP}]
94 - dev-python/pytest[${PYTHON_USEDEP}]
95 - )"
96
97 -python_test() {
98 - pytest -vv || die "Tests fail with ${EPYTHON}"
99 -}
100 +distutils_enable_tests pytest