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: Sun, 30 Oct 2022 18:13:27
Message-Id: 1667152249.def3ab9796b3a4c5be8eebf7e4120ce35a648b72.xgqt@gentoo
1 commit: def3ab9796b3a4c5be8eebf7e4120ce35a648b72
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 17:50:49 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 17:50:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=def3ab97
7
8 net-misc/gallery-dl: bump to 1.23.5
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.5.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 33d98d973381..cc079f19cac3 100644
18 --- a/net-misc/gallery-dl/Manifest
19 +++ b/net-misc/gallery-dl/Manifest
20 @@ -3,3 +3,4 @@ DIST gallery-dl-1.23.0.gh.tar.gz 473431 BLAKE2B 1f485477ea150585050f24fbe3605195
21 DIST gallery-dl-1.23.1.gh.tar.gz 477797 BLAKE2B abb04762755cc941d3fef31ba2cf21eab4b0afa196a67276d26199a044950cf68607bf7bd4e26bd3631de1e715a7ca25248a658aac1ac56cbb3e2a6ef5b2d71b SHA512 898fd952cc6e590a11e4154449153bd48547c9f21cba6864c95953f9be18ad27391d8033e5350d41714b28ded5711ddefefd4ca0f3c13016972a16b028a0fc1d
22 DIST gallery-dl-1.23.3.gh.tar.gz 488200 BLAKE2B 88482c7f41da00447b6eeb6331d61f6c0f7eebc5c597f16bb197b2f3c431803c15179a27ba66909ca5354d9031667bbe4303653701cae96d9aadecb507f9df00 SHA512 ca7bf54ac3244fbf62398981b82094220c6cfe5c548b4a1bacddc67ab8abc87fa8f1f59bdeff4015ce9406ca289fa4ec8965c85b839acb9f218545f28d368d39
23 DIST gallery-dl-1.23.4.gh.tar.gz 491268 BLAKE2B 55606eaab571cb907fa11efd1b0aa8af169f4eda8d3a28a2730b98dbe102a74df5237bf4d0ae32ee4f1703a9a61c0e60031528090bc5c183ab30ca34fdd27b00 SHA512 b02f68707432b1d3e0ec225d19fd9b8951c847af2b7213f9255252ea6ad099253945b8e5af18a544135e8f383fa5e30fdcce205e2cb6428469062da6c90f4c12
24 +DIST gallery-dl-1.23.5.gh.tar.gz 491336 BLAKE2B 6690444508af66f1293f773f2795aae1546e1ce2daf4bedef32fa7aa801d0d6ce82b2825e008a6db7e2e8e6e6c4bce095f0a453cfd23d7ae9ebf09a717b8d07e SHA512 541d1452e55e58a319e3c2523d81d190b2c348c798977d32c091118f5f2eb6a930e27b0029900d98a9cb731e86c43c3fd8e0121fe4caf05db4296c15c8637194
25
26 diff --git a/net-misc/gallery-dl/gallery-dl-1.23.5.ebuild b/net-misc/gallery-dl/gallery-dl-1.23.5.ebuild
27 new file mode 100644
28 index 000000000000..982779112300
29 --- /dev/null
30 +++ b/net-misc/gallery-dl/gallery-dl-1.23.5.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 +}