commit: dda9becf18900acf7a185224cc677b5835d9a212 Author: William Pettersson <william <AT> ewpettersson <DOT> se> AuthorDate: Tue Jul 20 18:49:39 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Jul 22 07:47:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda9becf
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 <AT> ewpettersson.se> Closes: https://github.com/gentoo/gentoo/pull/21732 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> app-text/xapers/xapers-0.9.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app-text/xapers/xapers-0.9.0.ebuild b/app-text/xapers/xapers-0.9.0.ebuild index 7be1659cd17..50456ea2f2e 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 }
