commit:     675c12d642e1815f3c42db9af2e6e6e9d97344e9
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 13 14:31:05 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 13 15:14:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=675c12d6

net-misc/gallery-dl: bump to 1.29.4

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

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

diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index df48d0204ff3..c5ea340c0128 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -1,3 +1,4 @@
 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
 DIST gallery-dl-1.29.3.gh.tar.gz 828081 BLAKE2B 
cb58ba324940034de3bde678c183f2bbc72eb5bc04cb874792df576fc6327dacd3b73ccbe11f157606dc2ecfe0e0e9d30469f574efdeab2a8d31191c50947816
 SHA512 
0a59e344c00f5db9a147a1c62aea55d18d5fb17e73dc4234d682b6aa0c6c457990dcba7f28e79dc03400aa491a7c04228ce3e6ee815a716211f4757ccaf4f706
+DIST gallery-dl-1.29.4.gh.tar.gz 831705 BLAKE2B 
f26261ef5ed9a97c8e7237a96c50bb9a3fd5fcb3a8b86e36c060f4377445e7c79c30ddb5480bc0c686df041cdbd95cd432658d72d1088d2c047224110426c0df
 SHA512 
7c5cb239ef3cfb862ccb3d2bbf4592f5fcc15c0dc66ee0e0b9772fb2c7d81adb52c69209fe58cdd528254ff349b3401e5dd1afc1956283b05280734ebd26fa40

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

Reply via email to