mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
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:
@@ -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user