summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-02-17 22:28:44 +0100
committerMaciej Barć <xgqt@gentoo.org>2024-02-17 22:56:43 +0100
commit142768d8401712eaa4e439ea93faf53a1cdf8d75 (patch)
tree0870f24de12af941125516565fb0b0e1c7ae32d8
parentnet-misc/gallery-dl: drop old 1.26.5 (diff)
downloadgentoo-142768d8401712eaa4e439ea93faf53a1cdf8d75.tar.gz
gentoo-142768d8401712eaa4e439ea93faf53a1cdf8d75.tar.bz2
gentoo-142768d8401712eaa4e439ea93faf53a1cdf8d75.zip
net-misc/gallery-dl: bump to 1.26.8
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--net-misc/gallery-dl/Manifest1
-rw-r--r--net-misc/gallery-dl/gallery-dl-1.26.8.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index e66881ec1b9e..1bddac570c4a 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -1,2 +1,3 @@
DIST gallery-dl-1.26.6.gh.tar.gz 637424 BLAKE2B feb7cf54bc15112c9c7e26be58ab69a6219416f2c8533922fc32e4c9790d71c829718875e0e93cec5eb0542fd68cf65f60716af06b8ea1a09b88574816315312 SHA512 b788353cd18f5cb9b505aa788cd16700846d6f430649a04317e0f688bbd95200fb45dbcba8ec28c3f37c4de7c353d144f940decb369baf171e70da57042f0933
DIST gallery-dl-1.26.7.gh.tar.gz 649312 BLAKE2B b9b493c03c459d9ff0fafce8d48b9fef075d17cc5b1d7133f2f24841ddf0af96297c284d114088825afa3b4be6499ac98b2be44aabe11d31d27ea0718d5cd453 SHA512 fdd00e43d91c5ab577f21f874ddbaa18031af308c8ca7ee8996a0b816ab9f9d422cb870467f83b3c2ce5f943727fd26af4e5597cd808fbef2df88a874bcbd9bc
+DIST gallery-dl-1.26.8.gh.tar.gz 659327 BLAKE2B f0d394c077fefda91fce494fa8bd6ef369a634f06f3303c4f91009b3d5d381a40aa8918e639ed6faddc9000d5a3091a569124d62b794d727c46354bc144c8b63 SHA512 f8093d8e51c815333a182d1cdf5134d2e54d10b44067a0130943993d63e49d4e51d5bb9eb1704b7999639e73ae8ab4cadb6a8d0fb444abbe26ffdc445e5cdb5f
diff --git a/net-misc/gallery-dl/gallery-dl-1.26.8.ebuild b/net-misc/gallery-dl/gallery-dl-1.26.8.ebuild
new file mode 100644
index 000000000000..7f31c8680987
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.26.8.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
+}