commit:     3184357c471dc6f1c6ed7784ce2999de082a2907
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun May  7 20:20:56 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun May  7 20:22:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3184357c

net-misc/gallery-dl: bump to 1.25.4

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 net-misc/gallery-dl/Manifest                 |  1 +
 net-misc/gallery-dl/gallery-dl-1.25.4.ebuild | 40 ++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index f307ef00ee07..c876acc4970d 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -2,3 +2,4 @@ DIST gallery-dl-1.25.0.gh.tar.gz 540793 BLAKE2B 
e02daf0b2deb8196fc587a3fd17e4bb8
 DIST gallery-dl-1.25.1.gh.tar.gz 543977 BLAKE2B 
ab6437ebb4f840fb3fac27a3f0d2536215dc02376b0129d9b7d4c9420cc64405edf5961c0155d7fb9d7001028bf218a299bfd44bbf2ef2b60f567e51050e504e
 SHA512 
96f929af5cf70c7a89eca2ac8380cd7ba36ed806d062a6e339238ebfec2387aa4806d432cd28599b37382a69d7cdb33306069d41954e1421dff2523e2ae6a8df
 DIST gallery-dl-1.25.2.gh.tar.gz 546468 BLAKE2B 
ee40766e581afa8ab1119d656131a1e467fc1b6b5d92491ee384428ee4a02fd2b0b261657f175cb6d6bc8e79a622a14b7308ccb0e129535e7718503a6828ae53
 SHA512 
99bc319427c067f039df7f34988b44da2db028afc33188454879c46abbacfaac6fb8a5d0d0aec1fd4d7ba97862b100675cab55094b9d8979a5240f516fe4b855
 DIST gallery-dl-1.25.3.gh.tar.gz 554284 BLAKE2B 
8e8cedec35a913fbdde2be2c4bf126d5514ad5df257df73df1525391709ecc72dff3c8218fc1ce2aeca3b001ba37ed87c4ed077e8ead569480ac746c5b19a3fc
 SHA512 
270d2748ef83a7adf04f62f48bd099f2bc97bcef72dcfdce95e7ec54829494cd52e9149770aa8bb7db86c663ae2455ce3b531625ad96724a7aae9d36a72b422a
+DIST gallery-dl-1.25.4.gh.tar.gz 555479 BLAKE2B 
c209d494014db2978722e70ad6442244ddd283c0e7169a90256eaf6ddaf6ffbe2a85129369d5207eb31512ca13298fe290b3f5fa41e9949db402ee6637ff139c
 SHA512 
163033515925f13b8d19c98a45ef50e316be92cbaf439322a47d074a783519c389a685005b7f33a9d384791315d53cb2d59af030ab96ff8eaed7caa31f0e8e17

diff --git a/net-misc/gallery-dl/gallery-dl-1.25.4.ebuild 
b/net-misc/gallery-dl/gallery-dl-1.25.4.ebuild
new file mode 100644
index 000000000000..b3da2a9c870f
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.25.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="sqlite,ssl,xml(+)"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Download image galleries and collections from several image 
hosting sites"
+HOMEPAGE="https://github.com/mikf/gallery-dl";
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/mikf/${PN}.git";
+else
+       SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+       KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+# Tests require network access.
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND=">=dev-python/requests-2.11.0[${PYTHON_USEDEP}]"
+
+distutils_enable_tests setup.py
+
+python_compile_all() {
+       emake PYTHON=${EPYTHON} data/completion/{,_}gallery-dl man
+}
+
+pkg_postinst() {
+       optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg
+       optfeature "video downloads" net-misc/yt-dlp
+}

Reply via email to