From 4c15d275084ca8de6e26b7302d31ea6f0cc1780c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sat, 27 Sep 2025 15:22:01 +0200 Subject: [PATCH] net-misc/gallery-dl: bump to 1.30.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- net-misc/gallery-dl/Manifest | 1 + net-misc/gallery-dl/gallery-dl-1.30.8.ebuild | 49 ++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 net-misc/gallery-dl/gallery-dl-1.30.8.ebuild diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index a38d55b4090fa..d9e1c8d94cbff 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -3,3 +3,4 @@ DIST gallery-dl-1.30.4.gh.tar.gz 938199 BLAKE2B e8d9f245fe5da37dd996bf2bd66edf7e 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 +DIST gallery-dl-1.30.8.gh.tar.gz 981766 BLAKE2B 8c5f620cbd7af620aab62ff4ce2cf12054e32002570af0547d86448865a32d4d2686e9988e1d95d9fad5a639c68608e20723c88a23cc4135192f13d19144656d SHA512 e9c070f5bdc1bd24b675a31a568971420bbcb26b6ad9ec0db87b6504d8ced7ed1b8087f2fa37f5b50f6a736c22a900c379596f230c41eed0ec7c071816ed1be2 diff --git a/net-misc/gallery-dl/gallery-dl-1.30.8.ebuild b/net-misc/gallery-dl/gallery-dl-1.30.8.ebuild new file mode 100644 index 0000000000000..00e51376ef1ff --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.30.8.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 +}