From 3389dce3eacb0fe318123ccff9be7f76e8a98ba2 Mon Sep 17 00:00:00 2001 From: John Helmert III Date: Sat, 21 Aug 2021 17:50:47 -0500 Subject: [PATCH] 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 --- www-misc/buku/{buku-4.6.ebuild => buku-4.6-r1.ebuild} | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) rename www-misc/buku/{buku-4.6.ebuild => buku-4.6-r1.ebuild} (92%) 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 d7dd628bd7818..27a0923bc31d4 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}" }