1 |
commit: 4c662d2c0f785f9ceaeda2e4d17c1bb0e39ed43d |
2 |
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
3 |
AuthorDate: Mon Oct 26 13:22:38 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Mon Oct 26 13:22:38 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c662d2c |
7 |
|
8 |
net-misc/gallery-dl: bring QA fixes from PR review |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> |
12 |
|
13 |
net-misc/gallery-dl/gallery-dl-1.15.0.ebuild | 15 ++++----------- |
14 |
net-misc/gallery-dl/gallery-dl-9999.ebuild | 15 ++++----------- |
15 |
2 files changed, 8 insertions(+), 22 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild b/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild |
18 |
index cd69e03d..1fc6f3ea 100644 |
19 |
--- a/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild |
20 |
+++ b/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild |
21 |
@@ -6,7 +6,7 @@ EAPI=7 |
22 |
PYTHON_COMPAT=(python3_{7,8}) |
23 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
24 |
|
25 |
-inherit eutils distutils-r1 optfeature |
26 |
+inherit distutils-r1 optfeature |
27 |
|
28 |
DESCRIPTION="Download image galleries and collections from several image hosting sites" |
29 |
HOMEPAGE="https://github.com/mikf/gallery-dl" |
30 |
@@ -14,33 +14,26 @@ HOMEPAGE="https://github.com/mikf/gallery-dl" |
31 |
if [[ "${PV}" == *9999* ]]; then |
32 |
inherit git-r3 |
33 |
EGIT_REPO_URI="https://github.com/mikf/${PN}.git" |
34 |
- KEYWORDS="" |
35 |
else |
36 |
SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
37 |
KEYWORDS="~amd64" |
38 |
fi |
39 |
|
40 |
+# tests require network access |
41 |
RESTRICT="test" |
42 |
LICENSE="GPL-2" |
43 |
SLOT="0" |
44 |
-IUSE="bash-completion zsh-completion" |
45 |
|
46 |
RDEPEND=" |
47 |
>=dev-python/requests-2.11.0[${PYTHON_USEDEP}] |
48 |
" |
49 |
|
50 |
-# tests require network access |
51 |
distutils_enable_tests setup.py |
52 |
|
53 |
src_compile() { |
54 |
- if use bash-completion || use zsh-completion |
55 |
- then |
56 |
- emake completion |
57 |
- fi |
58 |
- |
59 |
+ emake data/completion/gallery-dl |
60 |
+ emake data/completion/_gallery-dl |
61 |
emake man |
62 |
- |
63 |
- # this will install shell completion and man pages generated above (if any) |
64 |
distutils-r1_src_compile |
65 |
} |
66 |
|
67 |
|
68 |
diff --git a/net-misc/gallery-dl/gallery-dl-9999.ebuild b/net-misc/gallery-dl/gallery-dl-9999.ebuild |
69 |
index cd69e03d..1fc6f3ea 100644 |
70 |
--- a/net-misc/gallery-dl/gallery-dl-9999.ebuild |
71 |
+++ b/net-misc/gallery-dl/gallery-dl-9999.ebuild |
72 |
@@ -6,7 +6,7 @@ EAPI=7 |
73 |
PYTHON_COMPAT=(python3_{7,8}) |
74 |
DISTUTILS_USE_SETUPTOOLS=rdepend |
75 |
|
76 |
-inherit eutils distutils-r1 optfeature |
77 |
+inherit distutils-r1 optfeature |
78 |
|
79 |
DESCRIPTION="Download image galleries and collections from several image hosting sites" |
80 |
HOMEPAGE="https://github.com/mikf/gallery-dl" |
81 |
@@ -14,33 +14,26 @@ HOMEPAGE="https://github.com/mikf/gallery-dl" |
82 |
if [[ "${PV}" == *9999* ]]; then |
83 |
inherit git-r3 |
84 |
EGIT_REPO_URI="https://github.com/mikf/${PN}.git" |
85 |
- KEYWORDS="" |
86 |
else |
87 |
SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
88 |
KEYWORDS="~amd64" |
89 |
fi |
90 |
|
91 |
+# tests require network access |
92 |
RESTRICT="test" |
93 |
LICENSE="GPL-2" |
94 |
SLOT="0" |
95 |
-IUSE="bash-completion zsh-completion" |
96 |
|
97 |
RDEPEND=" |
98 |
>=dev-python/requests-2.11.0[${PYTHON_USEDEP}] |
99 |
" |
100 |
|
101 |
-# tests require network access |
102 |
distutils_enable_tests setup.py |
103 |
|
104 |
src_compile() { |
105 |
- if use bash-completion || use zsh-completion |
106 |
- then |
107 |
- emake completion |
108 |
- fi |
109 |
- |
110 |
+ emake data/completion/gallery-dl |
111 |
+ emake data/completion/_gallery-dl |
112 |
emake man |
113 |
- |
114 |
- # this will install shell completion and man pages generated above (if any) |
115 |
distutils-r1_src_compile |
116 |
} |