net-misc/gallery-dl: bump to 1.29.2

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2025-03-15 16:59:46 +01:00
parent 11e165148d
commit ea694bf4c2
2 changed files with 50 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST gallery-dl-1.28.5.gh.tar.gz 787201 BLAKE2B 54023e19ed9dde897fe921595adc7cacd06a2e9b226957ea19e242bbcffdb6ecde64017906cc30b1551d559cccdaab3268e2fa8d2018a77992c866b52f219bf6 SHA512 877b4d3e29634625d89e28744a53f132c198399a309d2d912c022661a9961d67062b8f344a2f345dcfe4f3dfef549d3c4293f1d334e65bb0f636b826e3eb921c
DIST gallery-dl-1.29.0.gh.tar.gz 807857 BLAKE2B 9ac82c216099a12b89e9c64437ecd773f152548cc4734b76d46c76fdd87d669f668e843edf301cdb31f5f227d7de015e9411e4fcbb50546c918972b7ee911fbb SHA512 4d7e8d55a67ce32882266786241763b30f2067f097e23a5519792f144353ca8599b86928e2a567f0e241b134f7970f1bc83b73d91ebfe944ef4ad6341c273477
DIST gallery-dl-1.29.2.gh.tar.gz 820020 BLAKE2B 9164c697ed888d211726229d5b904c013665abf56d332945e8870e51487644bfc30290a992d0531a362837435052201894239c4ac67862a3b1421a30adf5cf56 SHA512 5d1cf2b9d6f51ffa363c4c33f82b99b673640d73962130f142759a5be88c62f09c58653e3a3f435f7ebf82f640e44cdafad785d93948c932a7a5a9243fe29dac

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..13} )
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
}