commit: 73f10734b72424864a535d18901ec890e9e174d3
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 16 16:22:36 2025 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 16 22:08:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f10734
net-misc/gallery-dl: bump to 1.30.4
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
net-misc/gallery-dl/Manifest | 1 +
net-misc/gallery-dl/gallery-dl-1.30.4.ebuild | 49 ++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 5d68b7fefb91..ea08f1e43207 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -1,3 +1,4 @@
DIST gallery-dl-1.29.7.gh.tar.gz 852964 BLAKE2B
a5870e526b7df4c12b877bd0b0cf5582a206ef79bd006f8fb15041ae09838a9fdb209e6ecc299550cb9f7f3b0343c9fa856a8e9351ec01a1570e125a2e095ab9
SHA512
632a703ec18dbaf127e60b4f90210f83fc5f2e3f0db3471ec5295671d84550c1c75eea4c1a1903473d4729e8132f564ebd4bf924fed56cdcd89cee418c80b9e5
DIST gallery-dl-1.30.0.gh.tar.gz 897871 BLAKE2B
20a394f9db1b54cfda54726785aee626a87d9371622f9c2b2395d748af3435e770f07bb76b33ec9b8a904621c2e6ac2f54248334200a948a4d3aed6697f6d9c5
SHA512
471aed1ff3aba4e394516afc387679346bec598fb2cd5cbf68ab5bd5922bb941cb8a1bca7ea7f676b7ce193ae7811370909539520a27190c5f1fa528d6af7981
DIST gallery-dl-1.30.2.gh.tar.gz 918363 BLAKE2B
b79f9e1dce8061f3a9b69ae916563ac23d4d20fa401e50785a4465d7f4b7a56f6c71511eba9d183e1e6df8443d5ff033485e945afd92016774a5d209aaf4c108
SHA512
493caa4d3aa71bf4e40142dff7ed60431277b9d8032304f5816e966e8ab27d4c3c988ff22f9debe14971bcda50150d69282055a249b7a6b48bb52ee16e7c7544
+DIST gallery-dl-1.30.4.gh.tar.gz 938199 BLAKE2B
e8d9f245fe5da37dd996bf2bd66edf7e1ee553ea62fe16ce9fb98c0d473bdb2dd0cbe3459da2fa5c9215cffc4eef7b599e3c25135ffaa7af0a36bf6e285c404c
SHA512
7c1b723d5e8bba3020b669f47543653ef04dd2c99bcc3109006631c4963237caadb791befe80288d810f2e897d0272b20f6ce75a46dc87f66a1c85da25709ee0
diff --git a/net-misc/gallery-dl/gallery-dl-1.30.4.ebuild
b/net-misc/gallery-dl/gallery-dl-1.30.4.ebuild
new file mode 100644
index 000000000000..00e51376ef1f
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.30.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{12..14} )
+PYTHON_REQ_USE="sqlite,ssl,xml(+)"
+DISTUTILS_USE_PEP517="setuptools"
+
+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"
+
+RDEPEND="
+ >=dev-python/requests-2.11.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ # Tests against real servers, some tests always fail and some are
subject to change.
+ rm ./test/test_{extractor,results}.py || die
+
+ distutils-r1_src_prepare
+}
+
+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
+}