commit:     3c637f55603894de43b61c18319f3cd251165c12
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon May  5 11:54:38 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon May  5 15:14:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c637f55

net-misc/gallery-dl: bump to 1.29.6

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

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

diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 083f9f7c7224..c250790dffdf 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -2,3 +2,4 @@ DIST gallery-dl-1.29.2.gh.tar.gz 820020 BLAKE2B 
9164c697ed888d211726229d5b904c01
 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
 DIST gallery-dl-1.29.5.gh.tar.gz 839586 BLAKE2B 
b801d8c3ef3257161f6b39f578d91d8defdd091a513b1caaa61e661b45ed410e37e8d671377f4f3f17059234a653f83bd6d7a8d1af1a1029c922d1136bd88123
 SHA512 
36c02dd5150af6e286c36b1f0cbebfeaea30ac234c642371cd586ed17db935c7f3915cee487c92c99d542c2a2b94cd45cb0d96c105e85023aada4947aa8be5a5
+DIST gallery-dl-1.29.6.gh.tar.gz 844013 BLAKE2B 
8ed1f0372eb326d5c914215a8eeda67a967a2c5c5906703d24f3daec585c195dff8bd8133f4ad62a090f1d4c50ed34e414260488ec07672e6a9591a671cc1a02
 SHA512 
bc0f1c74a9ed3d28e46e52f0c130491853ac095570a07b4078667e19abc0fe16e7b946798655f69ea42174a3eb2e711e89b235c34fc39915a59ea72c672d6474

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