diff options
author | William Pettersson <william@ewpettersson.se> | 2021-07-20 19:49:39 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-07-22 10:47:53 +0300 |
commit | dda9becf18900acf7a185224cc677b5835d9a212 (patch) | |
tree | 14c87b2bf76ba2990f0b360348cde7d8ac3856e5 /app-text/xapers | |
parent | games-util/pyfa: remove old version (diff) | |
download | gentoo-dda9becf18900acf7a185224cc677b5835d9a212.tar.gz gentoo-dda9becf18900acf7a185224cc677b5835d9a212.tar.bz2 gentoo-dda9becf18900acf7a185224cc677b5835d9a212.zip |
app-text/xapers: Use python_test() for testing
Changing src_test() to python_test() so the correct interpreter is used
for tests, instead of just using the latest selected python interpreter.
Also addresses QA notice by adding DISTUTILS_USE_SETUPTOOLS=rdepend
Closes: https://bugs.gentoo.org/803023
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: William Pettersson <william@ewpettersson.se>
Closes: https://github.com/gentoo/gentoo/pull/21732
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-text/xapers')
-rw-r--r-- | app-text/xapers/xapers-0.9.0.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app-text/xapers/xapers-0.9.0.ebuild b/app-text/xapers/xapers-0.9.0.ebuild index 7be1659cd179..50456ea2f2ef 100644 --- a/app-text/xapers/xapers-0.9.0.ebuild +++ b/app-text/xapers/xapers-0.9.0.ebuild @@ -18,6 +18,8 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" +DISTUTILS_USE_SETUPTOOLS=rdepend + RDEPEND="app-text/poppler[utils] dev-libs/xapian-bindings[python,${PYTHON_USEDEP}] dev-python/pybtex[${PYTHON_USEDEP}] @@ -28,7 +30,7 @@ RDEPEND="app-text/poppler[utils] BDEPEND="test? ( ${RDEPEND} )" -src_test() { +python_test() { cd test || die ./all || die } |