Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/git-repo-updater/
Date: Mon, 02 Mar 2020 19:36:08
Message-Id: 1583177757.0727330e5e1d9eb27de65a96daf20dd1f238e352.andrewammerlaan@gentoo
1 commit: 0727330e5e1d9eb27de65a96daf20dd1f238e352
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Mon Mar 2 19:35:57 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Mon Mar 2 19:35:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0727330e
7
8 dev-vcs/git-repo-updater: Add DISTUTILS_USE_SETUPTOOLS=rdepend
9
10 Also replaced deployed distutils_enable_tests
11 it does exactly the same as the code that was there
12 but it is shorter
13
14 Package-Manager: Portage-2.3.91, Repoman-2.3.20
15 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
16
17 dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild | 14 ++++----------
18 1 file changed, 4 insertions(+), 10 deletions(-)
19
20 diff --git a/dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild b/dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild
21 index 23a9d55..e7c418b 100644
22 --- a/dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild
23 +++ b/dev-vcs/git-repo-updater/git-repo-updater-0.5.1.ebuild
24 @@ -2,8 +2,11 @@
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI="7"
28 +
29 PYTHON_COMPAT=( python3_{6,7} )
30
31 +DISTUTILS_USE_SETUPTOOLS=rdepend
32 +
33 inherit distutils-r1
34
35 DESCRIPTION="Easily update multiple git repositories at once"
36 @@ -13,20 +16,11 @@ SRC_URI="https://github.com/earwig/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
37 LICENSE="MIT"
38 SLOT="0"
39 KEYWORDS="~amd64"
40 -IUSE="test"
41 -RESTRICT="!test? ( test )"
42
43 RDEPEND="
44 >=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
45 >=dev-python/git-python-2.1.8[${PYTHON_USEDEP}]
46 dev-python/setuptools[${PYTHON_USEDEP}]
47 "
48 -DEPEND="${RDEPEND}
49 - test? (
50 - dev-python/pytest[${PYTHON_USEDEP}]
51 - )
52 -"
53
54 -python_test() {
55 - pytest -vv gitup/test || die
56 -}
57 +distutils_enable_tests pytest