Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/gixy/
Date: Mon, 28 Jun 2021 17:11:50
Message-Id: 1624900287.4189f529dec8932bcccc9a2ec64c99b1750bf6a4.soap@gentoo
1 commit: 4189f529dec8932bcccc9a2ec64c99b1750bf6a4
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 28 17:11:27 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 28 17:11:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4189f529
7
8 app-admin/gixy: [QA] fix python_prepare_all
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-admin/gixy/gixy-0.1.20.ebuild | 22 ++++++----------------
14 1 file changed, 6 insertions(+), 16 deletions(-)
15
16 diff --git a/app-admin/gixy/gixy-0.1.20.ebuild b/app-admin/gixy/gixy-0.1.20.ebuild
17 index c31b3f93008..6f531a1ac95 100644
18 --- a/app-admin/gixy/gixy-0.1.20.ebuild
19 +++ b/app-admin/gixy/gixy-0.1.20.ebuild
20 @@ -1,10 +1,10 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 DISTUTILS_USE_SETUPTOOLS=rdepend
28 -PYTHON_COMPAT=( python3_{7..9} )
29 +PYTHON_COMPAT=( python3_{8..10} )
30
31 inherit distutils-r1
32
33 @@ -16,27 +16,17 @@ SRC_URI="https://github.com/yandex/gixy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
34 LICENSE="MPL-2.0"
35 SLOT="0"
36 KEYWORDS="~amd64 ~x86"
37 -IUSE="test"
38 -RESTRICT="!test? ( test )"
39
40 -RDEPEND=">=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}]
41 +RDEPEND="
42 + >=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}]
43 >=dev-python/cached-property-1.2.0[${PYTHON_USEDEP}]
44 >=dev-python/configargparse-0.11.0[${PYTHON_USEDEP}]
45 >=dev-python/jinja-2.8[${PYTHON_USEDEP}]
46 >=dev-python/six-1.1.0[${PYTHON_USEDEP}]"
47
48 -BDEPEND="
49 - test? (
50 - dev-python/nose[${PYTHON_USEDEP}]
51 - ${RDEPEND}
52 - )
53 -"
54 +distutils_enable_tests nose
55
56 -python_prepare() {
57 +python_prepare_all() {
58 sed -i -e "/argparse/d" setup.py || die
59 distutils-r1_python_prepare_all
60 }
61 -
62 -python_test() {
63 - nosetests -v || die
64 -}