Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gallery-dl/
Date: Mon, 27 Jun 2022 22:07:43
Message-Id: 1656367650.7b10c2a3dbcc4c6f56a07307cb13be94dbf563f4.xgqt@gentoo
1 commit: 7b10c2a3dbcc4c6f56a07307cb13be94dbf563f4
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 27 22:07:30 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 27 22:07:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b10c2a3
7
8 net-misc/gallery-dl: bump to 1.22.2
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.2.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 4245e448d7c6..44c9aeb9909b 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.1.tar.gz 459120 BLAKE2B 2a3fcfcd10f9446ffdbcb44b920bbf962befcf8c338f7b48447d541e9f1c32a42ae7ac50b578fe8bce6039f3556d55d1fb0161689e0efbea6af9586668f4f488 SHA512 a277f70003603631a17081703fa1003791b106500422dabb406d20aaa80c71dcf3bfa8697ae8436025184e1a7115378a71b2a7e61eaa6b85195b4a3e5ba08ea6
24 +DIST gallery-dl-1.22.2.gh.tar.gz 463977 BLAKE2B f84837eaa0bdeccf7a63267c08657dc2fcbb17c218a10ed4b16d8b086f4aabca6097cb4161058b76796e96fa5fc57c8cde2a2f0387a28413cc6b6eab7a3f429b SHA512 b3a9790beed25a362a573b33dfaa18739072503d264044953b97e661e22c4850bfff04803e65f39b6ea9a077d3ffaa96a3c859f580f25890938e4f187c13a527
25
26 diff --git a/net-misc/gallery-dl/gallery-dl-1.22.2.ebuild b/net-misc/gallery-dl/gallery-dl-1.22.2.ebuild
27 new file mode 100644
28 index 000000000000..60c3846252ce
29 --- /dev/null
30 +++ b/net-misc/gallery-dl/gallery-dl-1.22.2.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}.gh.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 +}