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: Sat, 19 Jan 2019 03:22:32
Message-Id: 1547868106.1dc6f3c64fcd5de0fbd84275c333a2f082cf253c.whissi@gentoo
1 commit: 1dc6f3c64fcd5de0fbd84275c333a2f082cf253c
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Jan 18 08:06:36 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 19 03:21:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dc6f3c6
7
8 net-analyzer/linkchecker: bump to 9.4.0
9
10 Closes: https://bugs.gentoo.org/661792
11 Package-Manager: Portage-2.3.55, Repoman-2.3.12
12 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
13 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
14
15 net-analyzer/linkchecker/Manifest | 1 +
16 net-analyzer/linkchecker/linkchecker-9.4.0.ebuild | 62 +++++++++++++++++++++++
17 2 files changed, 63 insertions(+)
18
19 diff --git a/net-analyzer/linkchecker/Manifest b/net-analyzer/linkchecker/Manifest
20 index 20d81484882..667d05c1cc1 100644
21 --- a/net-analyzer/linkchecker/Manifest
22 +++ b/net-analyzer/linkchecker/Manifest
23 @@ -1 +1,2 @@
24 DIST linkchecker-9.3.1.tar.gz 779286 BLAKE2B eec374a3455b5348533b29b03ab14558dd19a20e1058947eed9d8027a8b1705b63525e6b8fcf2c4feb59a782ca0e0ad8567e321ca4679320e9d6f256e14df990 SHA512 355c9d262502e123732807b5aaabc17060d267de44a6dc1fee9dd6655c56320ded0c1ff638d985c2dbec366d15803cfb78fae4c1a9943de11c5b4292f5a99305
25 +DIST linkchecker-9.4.0.tar.gz 489909 BLAKE2B 1c9d9af96778f9d2b542a078ba9da8751d6f7bc170809d5eefef6e8e2d5587e969f1cba3d6ae116b6de981949dd638b0d78fc416ce5055b3156da308b5a95d67 SHA512 3423f710a46d921c4387ffcfe1a8632cb889bcfdb4d56cbabcae87ca41547221e854546efd6e440e798ea85531c34a35f3ab779cd6bc2b6e63095015ad0537ba
26
27 diff --git a/net-analyzer/linkchecker/linkchecker-9.4.0.ebuild b/net-analyzer/linkchecker/linkchecker-9.4.0.ebuild
28 new file mode 100644
29 index 00000000000..18909f2d05d
30 --- /dev/null
31 +++ b/net-analyzer/linkchecker/linkchecker-9.4.0.ebuild
32 @@ -0,0 +1,62 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python2_7 )
39 +PYTHON_REQ_USE="sqlite?"
40 +
41 +inherit bash-completion-r1 distutils-r1 eutils
42 +
43 +DESCRIPTION="Check websites for broken links"
44 +HOMEPAGE="https://github.com/linkcheck/linkchecker"
45 +SRC_URI="https://github.com/linkcheck/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-solaris"
50 +IUSE="sqlite"
51 +
52 +RDEPEND="
53 + dev-python/pyxdg[${PYTHON_USEDEP}]
54 + >=dev-python/requests-2.2[${PYTHON_USEDEP}]
55 + virtual/python-dnspython[${PYTHON_USEDEP}]
56 +"
57 +DEPEND=""
58 +
59 +RESTRICT="test"
60 +
61 +python_prepare_all() {
62 + local PATCHES=(
63 + "${FILESDIR}/${PN}-9.3-bash-completion.patch"
64 + )
65 +
66 + distutils-r1_python_prepare_all
67 +}
68 +
69 +python_install_all() {
70 + delete_gui() {
71 + rm -rf \
72 + "${ED}"/usr/bin/linkchecker-gui* \
73 + "${ED}"/$(python_get_sitedir)/linkcheck/gui* || die
74 + }
75 +
76 + DOCS=(
77 + doc/changelog.txt
78 + doc/development.mdwn
79 + doc/python3.txt
80 + doc/upgrading.txt
81 + )
82 + distutils-r1_python_install_all
83 +
84 + python_foreach_impl delete_gui
85 + rm -f "${ED}"/usr/share/applications/linkchecker*.desktop || die
86 +
87 + newbashcomp config/linkchecker-completion ${PN}
88 +}
89 +
90 +pkg_postinst() {
91 + optfeature "bash-completion support" dev-python/argcomplete[${PYTHON_USEDEP}]
92 + optfeature "Virus scanning" app-antivirus/clamav
93 + optfeature "Geo IP support" dev-python/geoip-python[${PYTHON_USEDEP}]
94 +}