net-misc/gallery-dl: bump to 1.30.2

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-07-28 15:54:13 +02:00
parent b0b5b79d42
commit 3678f330db
2 changed files with 50 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
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

View File

@@ -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
}