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: Sat, 29 Oct 2022 23:06:29
Message-Id: 1667084782.dd76a2dbc5912761d66cb7ea6e8341ba195579d4.xgqt@gentoo
1 commit: dd76a2dbc5912761d66cb7ea6e8341ba195579d4
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 29 19:23:00 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 29 23:06:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd76a2db
7
8 net-misc/gallery-dl: bump to 1.23.4
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.23.4.ebuild | 39 ++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
17 index 95486dece893..33d98d973381 100644
18 --- a/net-misc/gallery-dl/Manifest
19 +++ b/net-misc/gallery-dl/Manifest
20 @@ -2,3 +2,4 @@ DIST gallery-dl-1.22.4.tar.gz 467129 BLAKE2B f2f656b3255d091361bd2c80bb2647de47a
21 DIST gallery-dl-1.23.0.gh.tar.gz 473431 BLAKE2B 1f485477ea150585050f24fbe3605195b9b8ffca3d39d3dde5f2160c2ceb3dd75bb691cc14c178d236c690ff6d2effe147242abcb67feda7b77b829f440e2ac4 SHA512 8e17532c094c9516593f9009eca7139e60d7474a56c76bb07a68c03eae4e2e8e31c6bd1f167388d05a1104d5964e2d0b62272c506b2b6988b1832a36a492cbf9
22 DIST gallery-dl-1.23.1.gh.tar.gz 477797 BLAKE2B abb04762755cc941d3fef31ba2cf21eab4b0afa196a67276d26199a044950cf68607bf7bd4e26bd3631de1e715a7ca25248a658aac1ac56cbb3e2a6ef5b2d71b SHA512 898fd952cc6e590a11e4154449153bd48547c9f21cba6864c95953f9be18ad27391d8033e5350d41714b28ded5711ddefefd4ca0f3c13016972a16b028a0fc1d
23 DIST gallery-dl-1.23.3.gh.tar.gz 488200 BLAKE2B 88482c7f41da00447b6eeb6331d61f6c0f7eebc5c597f16bb197b2f3c431803c15179a27ba66909ca5354d9031667bbe4303653701cae96d9aadecb507f9df00 SHA512 ca7bf54ac3244fbf62398981b82094220c6cfe5c548b4a1bacddc67ab8abc87fa8f1f59bdeff4015ce9406ca289fa4ec8965c85b839acb9f218545f28d368d39
24 +DIST gallery-dl-1.23.4.gh.tar.gz 491268 BLAKE2B 55606eaab571cb907fa11efd1b0aa8af169f4eda8d3a28a2730b98dbe102a74df5237bf4d0ae32ee4f1703a9a61c0e60031528090bc5c183ab30ca34fdd27b00 SHA512 b02f68707432b1d3e0ec225d19fd9b8951c847af2b7213f9255252ea6ad099253945b8e5af18a544135e8f383fa5e30fdcce205e2cb6428469062da6c90f4c12
25
26 diff --git a/net-misc/gallery-dl/gallery-dl-1.23.4.ebuild b/net-misc/gallery-dl/gallery-dl-1.23.4.ebuild
27 new file mode 100644
28 index 000000000000..982779112300
29 --- /dev/null
30 +++ b/net-misc/gallery-dl/gallery-dl-1.23.4.ebuild
31 @@ -0,0 +1,39 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +PYTHON_REQ_USE="sqlite,ssl,xml(+)"
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}.gh.tar.gz"
51 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
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 +python_compile_all() {
64 + emake PYTHON=${EPYTHON} data/completion/{,_}gallery-dl man
65 +}
66 +
67 +pkg_postinst() {
68 + optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg
69 + optfeature "video downloads" net-misc/youtube-dl
70 +}