Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/linkchecker/
Date: Wed, 03 Feb 2021 20:25:56
Message-Id: 1612383941.098056da2c62be61849596935272e8bec59a24fa.whissi@gentoo
1 commit: 098056da2c62be61849596935272e8bec59a24fa
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Wed Jan 20 14:52:46 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 3 20:25:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098056da
7
8 net-analyzer/linkchecker: bump to 10.0.0
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/19139
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 net-analyzer/linkchecker/Manifest | 1 +
15 net-analyzer/linkchecker/linkchecker-10.0.0.ebuild | 54 ++++++++++++++++++++++
16 2 files changed, 55 insertions(+)
17
18 diff --git a/net-analyzer/linkchecker/Manifest b/net-analyzer/linkchecker/Manifest
19 index ed397cd02a2..81c0c47c79c 100644
20 --- a/net-analyzer/linkchecker/Manifest
21 +++ b/net-analyzer/linkchecker/Manifest
22 @@ -1 +1,2 @@
23 +DIST linkchecker-10.0.0.tar.gz 512754 BLAKE2B ce6a83c57b3ab2a891913b1912d51315db4465fe5ae201b4a906d200c5f1807f53a5504fefca367f577239c2af99cb0dab7f744ccfe430e074fc85ddf063d2a0 SHA512 c16c52b63dd13f1afe31bfe294fb303b321af88fab1a8c7e8c94a32d1f330131e0188738b37806558e532109dac93656298878337538c7a83205f2a1fa73faa6
24 DIST linkchecker-10.0.0_pre20200729.tar.gz 401694 BLAKE2B f1a0918c30b292e569fd3168eee152e63ba7266f0ef848a55601e0205d8b0521cb653db77c8dc7b5d1140b493c95e50d76acba44e961586159f2b691e6898353 SHA512 35c49ca5de06688667e39f4eb0d8a048e565fe460a4aff125a484e3966c62cbea95fd95154cb2b544c0f4987f66012793726cf890d604321ed83970654a318f6
25
26 diff --git a/net-analyzer/linkchecker/linkchecker-10.0.0.ebuild b/net-analyzer/linkchecker/linkchecker-10.0.0.ebuild
27 new file mode 100644
28 index 00000000000..ed64f325657
29 --- /dev/null
30 +++ b/net-analyzer/linkchecker/linkchecker-10.0.0.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{7..9} )
38 +PYTHON_REQ_USE="sqlite?"
39 +
40 +inherit bash-completion-r1 distutils-r1 optfeature
41 +
42 +DESCRIPTION="Check websites for broken links"
43 +HOMEPAGE="https://github.com/linkcheck/linkchecker"
44 +
45 +if [[ "${PV}" == "9999" ]]; then
46 + EGIT_REPO_URI="https://github.com/linkcheck/linkchecker.git"
47 + inherit git-r3
48 +else
49 + SRC_URI="https://github.com/linkchecker/linkchecker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 + KEYWORDS="~amd64 ~x86"
51 +fi
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +IUSE="sqlite"
56 +# requires libs not present in portage yet
57 +RESTRICT="test"
58 +
59 +RDEPEND="
60 + dev-python/beautifulsoup[${PYTHON_USEDEP}]
61 + dev-python/dnspython[${PYTHON_USEDEP}]
62 + dev-python/pyxdg[${PYTHON_USEDEP}]
63 + dev-python/requests[${PYTHON_USEDEP}]
64 +"
65 +
66 +PATCHES=(
67 + "${FILESDIR}/${PN}-9.3-bash-completion.patch"
68 +)
69 +
70 +DOCS=(
71 + doc/changelog.txt
72 + doc/upgrading.txt
73 +)
74 +
75 +python_install_all() {
76 + distutils-r1_python_install_all
77 + newbashcomp config/linkchecker-completion ${PN}
78 +}
79 +
80 +pkg_postinst() {
81 + optfeature "bash-completion support" dev-python/argcomplete[${PYTHON_USEDEP}]
82 + optfeature "Virus scanning" app-antivirus/clamav
83 + optfeature "Geo IP support" dev-python/geoip-python[${PYTHON_USEDEP}]
84 + optfeature "GNOME proxy settings support" dev-python/pygobject[${PYTHON_USEDEP}]
85 +}