commit: 190c1966f4268f731d697c49a52e1c0144ab413f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 3 15:46:27 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 3 16:27:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=190c1966
dev-python/libpillowfight: Simplify test logic
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild
b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild
index fa61cfd2453e..729c78ebf43d 100644
--- a/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild
+++ b/dev-python/libpillowfight/libpillowfight-0.3.0_p20210816-r1.ebuild
@@ -27,7 +27,6 @@ RDEPEND="
distutils_enable_tests pytest
python_prepare_all() {
- ln -s "${S}"/tests "${T}"/tests || die
sed -e "/'nose>=1.0'/d" -i setup.py || die
cat > src/pillowfight/_version.h <<- EOF || die
#define INTERNAL_PILLOWFIGHT_VERSION "$(ver_cut 1-3)"
@@ -36,6 +35,5 @@ python_prepare_all() {
}
python_test() {
- cd "${T}" || die
- epytest "${S}"/tests -o addopts=
+ epytest tests -o addopts=
}