commit:     807515ab196e26cb26a75227a85fc9c50cfd41ff
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 21:42:14 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 21:42:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=807515ab

net-misc/gallery-dl: bump to 1.30.0

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

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

diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 5daf46c691c9..00aef9454221 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -1 +1,2 @@
 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

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