summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-01-06 17:56:06 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-01-06 19:42:00 +0100
commit952ad4204c86ef464f7f7fae46cca6f44c2ea65c (patch)
tree5c32019681dd0daeab3d28c4ad0a495e1fc6849e /net-misc/gallery-dl
parentdev-python/ytmusicapi: drop old 1.4.1 (diff)
downloadgentoo-952ad4204c86ef464f7f7fae46cca6f44c2ea65c.tar.gz
gentoo-952ad4204c86ef464f7f7fae46cca6f44c2ea65c.tar.bz2
gentoo-952ad4204c86ef464f7f7fae46cca6f44c2ea65c.zip
net-misc/gallery-dl: bump to 1.26.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc/gallery-dl')
-rw-r--r--net-misc/gallery-dl/Manifest1
-rw-r--r--net-misc/gallery-dl/gallery-dl-1.26.6.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 28ebf156604e..0244cea5df97 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -2,3 +2,4 @@ DIST gallery-dl-1.26.2.gh.tar.gz 607389 BLAKE2B 9bacfa4ba4019dbd8abd87ad868b1f6d
DIST gallery-dl-1.26.3.gh.tar.gz 621229 BLAKE2B d85be6e8f3e21d5f8e18bcf70fb51f46d5672d48115bf88fb5fa3316b6e8cddca8c8c6f540f3b1529e6607d746aba98097aa95f692e98effa4e51ba4578d16aa SHA512 43891d40de26527b7195c064fda6c8303461c5e4107b0482ca535f06b8fe923513acc212bd75b4d8d82fa12e19ef214e1ee395ced1525eceda7a433d3d05fef3
DIST gallery-dl-1.26.4.gh.tar.gz 626072 BLAKE2B 84711edcb8bd78732a0a065c7c1df5c8ff159cd5c494dd95bba4823aedb38e9435876335b7aa665270644a5d608c154d2ab5057d8c86d6f5cbc73073b819f017 SHA512 d39a8635949150a41b6c86b449ac2c42a96ac15b36555d9ea09071bf91984e64868331bfe6cb1de17ba90c509c3003a01fe5c80918d02176cae6cd6eef826a01
DIST gallery-dl-1.26.5.gh.tar.gz 631129 BLAKE2B a9870436eb41269bcb5ff7f339473d1b6e2b39b83245fff2a029fc2e3c2d71a254be45954968cdef06c70139792051b82e8a00daeed9884af1cde6edf1d63828 SHA512 23421a36d1a915cabacad38948c60baca3041d43e2f763d97e516a35da1e8bc8ab8726b3e6b525aadd7ec48444df9caa0079f49b6193e33014f66c7c606952d4
+DIST gallery-dl-1.26.6.gh.tar.gz 637424 BLAKE2B feb7cf54bc15112c9c7e26be58ab69a6219416f2c8533922fc32e4c9790d71c829718875e0e93cec5eb0542fd68cf65f60716af06b8ea1a09b88574816315312 SHA512 b788353cd18f5cb9b505aa788cd16700846d6f430649a04317e0f688bbd95200fb45dbcba8ec28c3f37c4de7c353d144f940decb369baf171e70da57042f0933
diff --git a/net-misc/gallery-dl/gallery-dl-1.26.6.ebuild b/net-misc/gallery-dl/gallery-dl-1.26.6.ebuild
new file mode 100644
index 000000000000..7f31c8680987
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.26.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="sqlite,ssl,xml(+)"
+
+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"
+PROPERTIES="test_network" # Tests require network access.
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-python/requests-2.11.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests setup.py
+
+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
+}