Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/linkchecker/
Date: Fri, 24 Dec 2021 06:47:57
Message-Id: 1640328423.c0e11b2971d847e7f3b3f7843d90eda060770746.sam@gentoo
1 commit: c0e11b2971d847e7f3b3f7843d90eda060770746
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Dec 24 06:35:22 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 06:47:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e11b29
7
8 net-analyzer/linkchecker: sync live ebuild
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 net-analyzer/linkchecker/linkchecker-9999.ebuild | 25 ++++++++++++------------
14 1 file changed, 13 insertions(+), 12 deletions(-)
15
16 diff --git a/net-analyzer/linkchecker/linkchecker-9999.ebuild b/net-analyzer/linkchecker/linkchecker-9999.ebuild
17 index 1d23dd82d824..9bcf1112b5ea 100644
18 --- a/net-analyzer/linkchecker/linkchecker-9999.ebuild
19 +++ b/net-analyzer/linkchecker/linkchecker-9999.ebuild
20 @@ -1,9 +1,9 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=7
25 +EAPI=8
26
27 -PYTHON_COMPAT=( python3_{7..9} )
28 +PYTHON_COMPAT=( python3_{7..10} )
29 PYTHON_REQ_USE="sqlite?"
30
31 inherit bash-completion-r1 distutils-r1 optfeature
32 @@ -22,7 +22,7 @@ fi
33 LICENSE="GPL-2"
34 SLOT="0"
35 IUSE="sqlite"
36 -# requires py2 only libs
37 +# requires libs not present in portage yet
38 RESTRICT="test"
39
40 RDEPEND="
41 @@ -30,23 +30,24 @@ RDEPEND="
42 dev-python/dnspython[${PYTHON_USEDEP}]
43 dev-python/pyxdg[${PYTHON_USEDEP}]
44 dev-python/requests[${PYTHON_USEDEP}]
45 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
46 "
47
48 -python_prepare_all() {
49 - local PATCHES=(
50 - "${FILESDIR}/${PN}-9.3-bash-completion.patch"
51 - )
52 +PATCHES=(
53 + "${FILESDIR}/${PN}-9.3-bash-completion.patch"
54 +)
55 +
56 +DOCS=(
57 + doc/changelog.txt
58 + doc/upgrading.txt
59 +)
60
61 +python_prepare_all() {
62 distutils-r1_python_prepare_all
63 }
64
65 python_install_all() {
66 - local DOCS=(
67 - doc/changelog.txt
68 - doc/upgrading.txt
69 - )
70 distutils-r1_python_install_all
71 -
72 newbashcomp config/linkchecker-completion ${PN}
73 }