Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/xapers/
Date: Thu, 22 Jul 2021 07:49:05
Message-Id: 1626940073.dda9becf18900acf7a185224cc677b5835d9a212.juippis@gentoo
1 commit: dda9becf18900acf7a185224cc677b5835d9a212
2 Author: William Pettersson <william <AT> ewpettersson <DOT> se>
3 AuthorDate: Tue Jul 20 18:49:39 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 22 07:47:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda9becf
7
8 app-text/xapers: Use python_test() for testing
9
10 Changing src_test() to python_test() so the correct interpreter is used
11 for tests, instead of just using the latest selected python interpreter.
12 Also addresses QA notice by adding DISTUTILS_USE_SETUPTOOLS=rdepend
13
14 Closes: https://bugs.gentoo.org/803023
15 Package-Manager: Portage-3.0.20, Repoman-3.0.3
16 Signed-off-by: William Pettersson <william <AT> ewpettersson.se>
17 Closes: https://github.com/gentoo/gentoo/pull/21732
18 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
19
20 app-text/xapers/xapers-0.9.0.ebuild | 4 +++-
21 1 file changed, 3 insertions(+), 1 deletion(-)
22
23 diff --git a/app-text/xapers/xapers-0.9.0.ebuild b/app-text/xapers/xapers-0.9.0.ebuild
24 index 7be1659cd17..50456ea2f2e 100644
25 --- a/app-text/xapers/xapers-0.9.0.ebuild
26 +++ b/app-text/xapers/xapers-0.9.0.ebuild
27 @@ -18,6 +18,8 @@ LICENSE="GPL-3"
28 SLOT="0"
29 KEYWORDS="~amd64"
30
31 +DISTUTILS_USE_SETUPTOOLS=rdepend
32 +
33 RDEPEND="app-text/poppler[utils]
34 dev-libs/xapian-bindings[python,${PYTHON_USEDEP}]
35 dev-python/pybtex[${PYTHON_USEDEP}]
36 @@ -28,7 +30,7 @@ RDEPEND="app-text/poppler[utils]
37
38 BDEPEND="test? ( ${RDEPEND} )"
39
40 -src_test() {
41 +python_test() {
42 cd test || die
43 ./all || die
44 }