commit:     fb99cc65368880c69f279a09490641c6ece0308f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 18 19:05:03 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Sep 18 21:50:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb99cc65

net-misc/gallery-dl: bump to 1.30.7

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

 net-misc/gallery-dl/Manifest                 |  1 +
 net-misc/gallery-dl/gallery-dl-1.30.7.ebuild | 49 ++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 79a426eaa9ef..a38d55b4090f 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -2,3 +2,4 @@ DIST gallery-dl-1.30.2.gh.tar.gz 918363 BLAKE2B 
b79f9e1dce8061f3a9b69ae916563ac2
 DIST gallery-dl-1.30.4.gh.tar.gz 938199 BLAKE2B 
e8d9f245fe5da37dd996bf2bd66edf7e1ee553ea62fe16ce9fb98c0d473bdb2dd0cbe3459da2fa5c9215cffc4eef7b599e3c25135ffaa7af0a36bf6e285c404c
 SHA512 
7c1b723d5e8bba3020b669f47543653ef04dd2c99bcc3109006631c4963237caadb791befe80288d810f2e897d0272b20f6ce75a46dc87f66a1c85da25709ee0
 DIST gallery-dl-1.30.5.gh.tar.gz 944331 BLAKE2B 
59c32d0f4a45a43aa8b1f1a989b44567a2d574724e9b2a73c5160f12352d880d83a1fdca0113b4367d17fc60a3ffc399bc553ddebe3c09c74e2623b5f683e584
 SHA512 
baa2fd47b94b09f28b6064ea39daa9fc2b984c0dee5f1a5df158f5b4d6a39761842f4114164012f433ceb935cecc337195ea0b53015db6a4b80b82b99c3c4141
 DIST gallery-dl-1.30.6.gh.tar.gz 955999 BLAKE2B 
865485af007dcb3aa211b6b18ea8bf4be4be47e46133939e4f8f4d76d490d5ab12bf09e0613f30fee7997bb9d2454f1070efc0a03b7b886727559c3e0cbbcf7a
 SHA512 
661dad760388497f71344e04f1d1b138ecc98de98bf07194302c2ddfcfdff8417dcd0a9558ca8fcf0339122588f8ec018a350d14d53db4740cdba3e2eb224600
+DIST gallery-dl-1.30.7.gh.tar.gz 966725 BLAKE2B 
c59b156c9a9c81f7ee9d73ed7f8c2f127b25b3112774596ca6dc6244252826488563b270052d8eee249489326079ce366f5b109dc647884e7750b7bb8caf5e10
 SHA512 
bc1f2af34d0d69f1aa13e4318c689b2f2383e73be9a2cfb2d17e7ab6ca5187ee7a52ff47b5d40e41b9f545dd1618a5a2dd75351e9e80eed245bfe0b69faf7c0f

diff --git a/net-misc/gallery-dl/gallery-dl-1.30.7.ebuild 
b/net-misc/gallery-dl/gallery-dl-1.30.7.ebuild
new file mode 100644
index 000000000000..00e51376ef1f
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.30.7.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
+}

Reply via email to