commit:     3389dce3eacb0fe318123ccff9be7f76e8a98ba2
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 21 22:50:47 2021 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sat Aug 21 23:20:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3389dce3

www-misc/buku: python bump, fix DISTUTILS_USE_SETUPTOOLS, fix test bug

This test suite isn't compatible with pytest-verbose-parametrize, so
force it to be ignored at test time.

Closes: https://bugs.gentoo.org/809371
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 www-misc/buku/{buku-4.6.ebuild => buku-4.6-r1.ebuild} | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/www-misc/buku/buku-4.6.ebuild b/www-misc/buku/buku-4.6-r1.ebuild
similarity index 92%
rename from www-misc/buku/buku-4.6.ebuild
rename to www-misc/buku/buku-4.6-r1.ebuild
index d7dd628bd78..27a0923bc31 100644
--- a/www-misc/buku/buku-4.6.ebuild
+++ b/www-misc/buku/buku-4.6-r1.ebuild
@@ -3,9 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
 PYTHON_REQ_USE="sqlite"
-DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit bash-completion-r1 distutils-r1
 
@@ -37,10 +36,6 @@ DEPEND="${RDEPEND}
        )
 "
 
-PATCHES=(
-       #"${FILESDIR}/${P}-hypothesis-fix.patch"
-)
-
 python_prepare_all() {
        # Remove support for bukuserver - complex depgraph which isn't all
        # sufficiently packaged in Gentoo
@@ -91,5 +86,5 @@ python_test() {
        )
 
        # tests/test_server.py is bukuserver tests, ignore it
-       pytest -v --ignore tests/test_server.py ${skipped_tests[@]/#/--deselect 
} || die "Tests failed with ${EPYTHON}"
+       pytest -p no:verbose-parametrize -v --ignore tests/test_server.py 
${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}"
 }

Reply via email to