1 |
commit: fe7e934efe1f7f3828f08804c4e92bbea008f363 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 4 20:41:11 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 4 20:47:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7e934e |
7 |
|
8 |
net-misc/gallery-dl: bump to 1.22.1 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
net-misc/gallery-dl/Manifest | 1 + |
13 |
net-misc/gallery-dl/gallery-dl-1.22.1.ebuild | 38 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest |
17 |
index 1b248c9509ac..3bb12067a788 100644 |
18 |
--- a/net-misc/gallery-dl/Manifest |
19 |
+++ b/net-misc/gallery-dl/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST gallery-dl-1.21.1.tar.gz 432380 BLAKE2B 58267dad8af16cb8b03bc7532e934e15c510f8ac36a92cfbf4cf48791634973fa68dc0c1fae8968a5df1a340833980ef032c8c47fc2b2ae4c7b9018bf2d6b197 SHA512 6725937e81ef0ff6b3ad2718f51eb7be09ce364584b16be6031e5608f6b58b366aa96cf0616974147d4ec101825cdedbed8c8790970040f4f80e955847772901 |
22 |
DIST gallery-dl-1.21.2.tar.gz 434114 BLAKE2B 2f1335d0745c3fd3de95f9f3005fc67f079fec16925b7ac8fb3f2e9c8521139e56bf18675e15e7e0edbad2889cd7fa895552e8b40d9f1cf6bc555894c8d1da48 SHA512 11615ebb3cab5a6d9e042a94cf802f3781af6166eb199ac22f70a0d3351299bdc82dda212a3a363c323e0edb6707355fe9b6f3d89a851037a8f6ebc12894558f |
23 |
DIST gallery-dl-1.22.0.tar.gz 455543 BLAKE2B 1f3f8cb30c2360a9218bea5521a2aedf74a17b82d973b5f3f3f2cfb0580acec1346c34df36a7f3465e641efadec4a599a7cfe35111a860f11238d6de49d1fb5a SHA512 c621103562ad008327c1748b5ce0b49b4832511e1e2e12ee8656f49d1ae57abb133268ff6024a96a961de0949eceabd2b069441ceef9d30ea50e9bf52f846907 |
24 |
+DIST gallery-dl-1.22.1.tar.gz 459120 BLAKE2B 2a3fcfcd10f9446ffdbcb44b920bbf962befcf8c338f7b48447d541e9f1c32a42ae7ac50b578fe8bce6039f3556d55d1fb0161689e0efbea6af9586668f4f488 SHA512 a277f70003603631a17081703fa1003791b106500422dabb406d20aaa80c71dcf3bfa8697ae8436025184e1a7115378a71b2a7e61eaa6b85195b4a3e5ba08ea6 |
25 |
|
26 |
diff --git a/net-misc/gallery-dl/gallery-dl-1.22.1.ebuild b/net-misc/gallery-dl/gallery-dl-1.22.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..d424151deeb1 |
29 |
--- /dev/null |
30 |
+++ b/net-misc/gallery-dl/gallery-dl-1.22.1.ebuild |
31 |
@@ -0,0 +1,38 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+PYTHON_REQ_USE="sqlite,ssl,xml" |
39 |
+ |
40 |
+inherit distutils-r1 optfeature |
41 |
+ |
42 |
+DESCRIPTION="Download image galleries and collections from several image hosting sites" |
43 |
+HOMEPAGE="https://github.com/mikf/gallery-dl" |
44 |
+ |
45 |
+if [[ ${PV} == 9999 ]]; then |
46 |
+ inherit git-r3 |
47 |
+ EGIT_REPO_URI="https://github.com/mikf/${PN}.git" |
48 |
+else |
49 |
+ SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
51 |
+fi |
52 |
+ |
53 |
+LICENSE="GPL-2" |
54 |
+SLOT="0" |
55 |
+# tests require network access |
56 |
+RESTRICT="test" |
57 |
+ |
58 |
+RDEPEND=">=dev-python/requests-2.11.0[${PYTHON_USEDEP}]" |
59 |
+ |
60 |
+distutils_enable_tests setup.py |
61 |
+ |
62 |
+python_compile_all() { |
63 |
+ emake PYTHON=${EPYTHON} data/completion/{,_}gallery-dl man |
64 |
+} |
65 |
+ |
66 |
+pkg_postinst() { |
67 |
+ optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg |
68 |
+ optfeature "video downloads" net-misc/youtube-dl |
69 |
+} |