commit: 0b6721799c06032cdfb95c38dedd3617878c7c0f
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 17 13:36:10 2026 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 17 17:55:07 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b672179
net-misc/gallery-dl: bump to 1.31.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
net-misc/gallery-dl/Manifest | 1 +
net-misc/gallery-dl/gallery-dl-1.31.3.ebuild | 49 ++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 02bbd64329ac..20202eca82a2 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -1,2 +1,3 @@
DIST gallery-dl-1.30.10.gh.tar.gz 1000053 BLAKE2B
13e653d05b5b4c0df6e5ca51cc25cc0f3c3d00bf606ce6274fe93751cf714ed7d76df38306bd4908d5b4d54fdb5291f3f993e142437eeecb68d8f7899b9f801e
SHA512
fd2e2b2a8095d376e8fc9fcc0379bceb209385e50c708cb66b3168e5dc67dd0da8b51d70b944f1a426b9bb515b606db9b688fd5855d014cb1a63876d75e9c644
DIST gallery-dl-1.31.2.gh.tar.gz 1062859 BLAKE2B
3044690ebda9a54cea436f31954b784886f2c532c2e8b450995cc24f5ec10daf1ece8c011d18df8e20c7e9d3b4100d7701b2a92ce28a8164713fcd704687d120
SHA512
b2c243e814830192a01df1d79fe3d05e7f07f1ae56339d24ba44d3661a1193f80b4973966b0126a535d97173c35b4a88eea19b47fd3869216443e955725e659f
+DIST gallery-dl-1.31.3.gh.tar.gz 1072777 BLAKE2B
1fc4c411422759ce59cc99b03c17986966c3b10a3cc09ec2dcafcb3ddb3a498e844fd83d1ca0de6c9a89cd15df71c8b917519ccac4d9b2a09db11a9a89e03978
SHA512
223a4f797d002d06e06025a043d22e9d74fa1db7cf513bbc07a004e2f150db3003a27a1f3e8e76206dfa943f08511226b09b977a3ab593028cef9660b0021990
diff --git a/net-misc/gallery-dl/gallery-dl-1.31.3.ebuild
b/net-misc/gallery-dl/gallery-dl-1.31.3.ebuild
new file mode 100644
index 000000000000..3efa68ea9dc7
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.31.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2026 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
+}