1 |
commit: e327358f85ed6359cedb374b8b14d9af544ad447 |
2 |
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jul 29 18:48:56 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 09:20:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e327358f |
7 |
|
8 |
net-analyzer/linkchecker: sync live ebuild |
9 |
|
10 |
Bug: https://bugs.gentoo.org/712958 |
11 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/linkchecker/linkchecker-9999.ebuild | 32 +++++++++++++----------- |
15 |
1 file changed, 17 insertions(+), 15 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/linkchecker/linkchecker-9999.ebuild b/net-analyzer/linkchecker/linkchecker-9999.ebuild |
18 |
index 32272ea2e2c..96c44d5d7cb 100644 |
19 |
--- a/net-analyzer/linkchecker/linkchecker-9999.ebuild |
20 |
+++ b/net-analyzer/linkchecker/linkchecker-9999.ebuild |
21 |
@@ -1,31 +1,36 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-PYTHON_COMPAT=( python2_7 ) |
29 |
+PYTHON_COMPAT=( python3_{6..8} ) |
30 |
PYTHON_REQ_USE="sqlite?" |
31 |
|
32 |
-EGIT_REPO_URI="https://github.com/linkcheck/linkchecker.git" |
33 |
-inherit bash-completion-r1 distutils-r1 eutils git-r3 |
34 |
+inherit bash-completion-r1 distutils-r1 eutils |
35 |
|
36 |
DESCRIPTION="Check websites for broken links" |
37 |
HOMEPAGE="https://github.com/linkcheck/linkchecker" |
38 |
-SRC_URI="" |
39 |
+ |
40 |
+if [[ "${PV}" == "9999" ]]; then |
41 |
+ EGIT_REPO_URI="https://github.com/linkcheck/linkchecker.git" |
42 |
+ inherit git-r3 |
43 |
+else |
44 |
+ SRC_URI="" |
45 |
+ KEYWORDS="~amd64 ~x86" |
46 |
+fi |
47 |
|
48 |
LICENSE="GPL-2" |
49 |
SLOT="0" |
50 |
-KEYWORDS="" |
51 |
IUSE="sqlite" |
52 |
+# requires py2 only libs |
53 |
+RESTRICT="test" |
54 |
|
55 |
RDEPEND=" |
56 |
+ dev-python/beautifulsoup[${PYTHON_USEDEP}] |
57 |
dev-python/dnspython[${PYTHON_USEDEP}] |
58 |
dev-python/pyxdg[${PYTHON_USEDEP}] |
59 |
- >=dev-python/requests-2.4[${PYTHON_USEDEP}] |
60 |
+ dev-python/requests[${PYTHON_USEDEP}] |
61 |
" |
62 |
-DEPEND="" |
63 |
- |
64 |
-RESTRICT="test" |
65 |
|
66 |
python_prepare_all() { |
67 |
local PATCHES=( |
68 |
@@ -36,16 +41,12 @@ python_prepare_all() { |
69 |
} |
70 |
|
71 |
python_install_all() { |
72 |
- DOCS=( |
73 |
+ local DOCS=( |
74 |
doc/changelog.txt |
75 |
- doc/development.mdwn |
76 |
- doc/python3.txt |
77 |
doc/upgrading.txt |
78 |
) |
79 |
distutils-r1_python_install_all |
80 |
|
81 |
- rm "${ED}"/usr/share/applications/linkchecker.desktop || die |
82 |
- |
83 |
newbashcomp config/linkchecker-completion ${PN} |
84 |
} |
85 |
|
86 |
@@ -53,4 +54,5 @@ pkg_postinst() { |
87 |
optfeature "bash-completion support" dev-python/argcomplete[${PYTHON_USEDEP}] |
88 |
optfeature "Virus scanning" app-antivirus/clamav |
89 |
optfeature "Geo IP support" dev-python/geoip-python[${PYTHON_USEDEP}] |
90 |
+ optfeature "GNOME proxy settings support" dev-python/pygobject[${PYTHON_USEDEP}] |
91 |
} |