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@gentoo.org>
This commit is contained in:
John Helmert III
2021-08-21 17:50:47 -05:00
parent a786bf0592
commit 3389dce3ea

View File

@@ -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}"
}