Gentoo Archives: gentoo-commits

From: John Helmert III <ajak@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/buku/
Date: Sat, 21 Aug 2021 23:25:06
Message-Id: 1629588054.3389dce3eacb0fe318123ccff9be7f76e8a98ba2.ajak@gentoo
1 commit: 3389dce3eacb0fe318123ccff9be7f76e8a98ba2
2 Author: John Helmert III <ajak <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 21 22:50:47 2021 +0000
4 Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 21 23:20:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3389dce3
7
8 www-misc/buku: python bump, fix DISTUTILS_USE_SETUPTOOLS, fix test bug
9
10 This test suite isn't compatible with pytest-verbose-parametrize, so
11 force it to be ignored at test time.
12
13 Closes: https://bugs.gentoo.org/809371
14 Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
15
16 www-misc/buku/{buku-4.6.ebuild => buku-4.6-r1.ebuild} | 9 ++-------
17 1 file changed, 2 insertions(+), 7 deletions(-)
18
19 diff --git a/www-misc/buku/buku-4.6.ebuild b/www-misc/buku/buku-4.6-r1.ebuild
20 similarity index 92%
21 rename from www-misc/buku/buku-4.6.ebuild
22 rename to www-misc/buku/buku-4.6-r1.ebuild
23 index d7dd628bd78..27a0923bc31 100644
24 --- a/www-misc/buku/buku-4.6.ebuild
25 +++ b/www-misc/buku/buku-4.6-r1.ebuild
26 @@ -3,9 +3,8 @@
27
28 EAPI=7
29
30 -PYTHON_COMPAT=( python3_{7,8,9} )
31 +PYTHON_COMPAT=( python3_{8,9,10} )
32 PYTHON_REQ_USE="sqlite"
33 -DISTUTILS_USE_SETUPTOOLS=rdepend
34
35 inherit bash-completion-r1 distutils-r1
36
37 @@ -37,10 +36,6 @@ DEPEND="${RDEPEND}
38 )
39 "
40
41 -PATCHES=(
42 - #"${FILESDIR}/${P}-hypothesis-fix.patch"
43 -)
44 -
45 python_prepare_all() {
46 # Remove support for bukuserver - complex depgraph which isn't all
47 # sufficiently packaged in Gentoo
48 @@ -91,5 +86,5 @@ python_test() {
49 )
50
51 # tests/test_server.py is bukuserver tests, ignore it
52 - pytest -v --ignore tests/test_server.py ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}"
53 + pytest -p no:verbose-parametrize -v --ignore tests/test_server.py ${skipped_tests[@]/#/--deselect } || die "Tests failed with ${EPYTHON}"
54 }