1 |
commit: b2568bc02a52a2feda0653c2fe9c4fc0adcc11d1 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 25 20:15:38 2021 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 25 20:26:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2568bc0 |
7 |
|
8 |
net-misc/gallery-dl: bump to 1.19.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
12 |
|
13 |
net-misc/gallery-dl/Manifest | 1 + |
14 |
net-misc/gallery-dl/gallery-dl-1.19.2.ebuild | 41 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 42 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest |
18 |
index 53186ac6a256..88be233ad842 100644 |
19 |
--- a/net-misc/gallery-dl/Manifest |
20 |
+++ b/net-misc/gallery-dl/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST gallery-dl-1.17.5.tar.gz 359212 BLAKE2B 12c8ba8e25e8979cb9230283b40f9e11c23032f281cdf73975b1099c76d9007c68246be0e961d29d4686ce12790cf31c4ed0e3c83d91984ce11b0008176157a3 SHA512 c630156c3b16499f33d3850935f5f37d85a443041448f1edf5d0b91a36b8b73a83248a9b2f6da99d5c679b6d1759100eb42f6b50650b914f67c1928e2491bf00 |
23 |
DIST gallery-dl-1.18.1.tar.gz 368692 BLAKE2B f92eb7a876563ed5bc78ca1222b8c45fe78ad6d899a55bf2edefece14209acfc784bc3ac84c7e84397746f5a5ab01c2c6f94efcb0f28d2aacac3cbd68ebcd545 SHA512 20e4f983160870a646a66963505d2c53f5498b9bbbb869a603ae53848ee788f26c6df4c5951805d99f225954ddbe692c2da5501a409650cc3e522d97f34a7c0d |
24 |
+DIST gallery-dl-1.19.2.tar.gz 393664 BLAKE2B cae6b2cdd9f940892032498c0450918481aea22a701b236f580e6c7d2f77b7ce5fb2336a93c882b35063eb0193b9ebb956f8d12e8b6794255318b6eb65ee9de9 SHA512 7aa014e0e84d856bd9ca45131baed513f1d3c73c1500df32c39b5a40f17cd951e80b819130254f9b563a504866e5feebabf6b5c8bf517a43a6ad7a15e41f0476 |
25 |
|
26 |
diff --git a/net-misc/gallery-dl/gallery-dl-1.19.2.ebuild b/net-misc/gallery-dl/gallery-dl-1.19.2.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..5ceaa421ee3b |
29 |
--- /dev/null |
30 |
+++ b/net-misc/gallery-dl/gallery-dl-1.19.2.ebuild |
31 |
@@ -0,0 +1,41 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=(python3_{8,9}) |
38 |
+PYTHON_REQ_USE="sqlite,ssl,xml" |
39 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
+ |
41 |
+inherit distutils-r1 optfeature |
42 |
+ |
43 |
+DESCRIPTION="Download image galleries and collections from several image hosting sites" |
44 |
+HOMEPAGE="https://github.com/mikf/gallery-dl" |
45 |
+ |
46 |
+if [[ ${PV} == 9999 ]]; then |
47 |
+ inherit git-r3 |
48 |
+ EGIT_REPO_URI="https://github.com/mikf/${PN}.git" |
49 |
+else |
50 |
+ SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
+ KEYWORDS="~amd64" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="GPL-2" |
55 |
+SLOT="0" |
56 |
+# tests require network access |
57 |
+RESTRICT="test" |
58 |
+ |
59 |
+RDEPEND=">=dev-python/requests-2.11.0[${PYTHON_USEDEP}]" |
60 |
+ |
61 |
+distutils_enable_tests setup.py |
62 |
+ |
63 |
+src_compile() { |
64 |
+ emake data/completion/{,_}gallery-dl man |
65 |
+ |
66 |
+ distutils-r1_src_compile |
67 |
+} |
68 |
+ |
69 |
+pkg_postinst() { |
70 |
+ optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg |
71 |
+ optfeature "video downloads" net-misc/youtube-dl |
72 |
+} |