summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-07-15 20:39:31 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-07-15 20:40:00 +0200
commitd560d35c1baeb9d44400d6b125af9082ca87e486 (patch)
tree61c7a83599f63a2e829a1e3e84e12fbb72bf526f
parentapp-emacs/magit: nonfatal if failing to load libgit (diff)
downloadgentoo-d560d35c1baeb9d44400d6b125af9082ca87e486.tar.gz
gentoo-d560d35c1baeb9d44400d6b125af9082ca87e486.tar.bz2
gentoo-d560d35c1baeb9d44400d6b125af9082ca87e486.zip
net-misc/gallery-dl: bump to 1.25.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.25.8.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 94fb6fbb0cd6..0040c28916cb 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -1,3 +1,4 @@
DIST gallery-dl-1.25.5.gh.tar.gz 563928 BLAKE2B d8308233fc4e59da466825f5063556bffb31f8f710a75dca23b710244c1702569ffc46f41d0721e6bdcfd1ce5471d30872f8f931388db82a7ce918564d84ae75 SHA512 ed2e18a9220eb68bd93009b12212c4052893277cb585ded8b5c513c764d3efec348c0340360b5ccac6f98527fb0a9ddb93167e942e3151419169a4ad7353157f
DIST gallery-dl-1.25.6.gh.tar.gz 567710 BLAKE2B 85f4fe19a09d1569e431e18c821db6d7f581760f2065138a36f2c8523c632aac0f6bd2fc18154f9a9524e158525b604b67240fe139a97f1407d2178e9f668d99 SHA512 2ae93401598ca46458c22bca7f2a53fe611519c24c88156c6566b45a5073336e92310b7c60939782b619ede59c8b2862a0ed9811dd7f9307f8a080e5fbfdf3bc
DIST gallery-dl-1.25.7.gh.tar.gz 570326 BLAKE2B b499d9dad019b6a209cb4ce1c6ef64867d0ab6327ca2131631ad7abf52c7541187886c0d3674152cea24d7cafb1c508c7c22ffd14a94737759beda3bffb38d4e SHA512 0fb86b074c54db615cc8fd276160ef42a5a58e839a88fe0acb24d3f27d3002f90d28e7e0eb6ca3606e3c4c7c8f56b7d8a103898ba375dd63ffea27e4c422b4c1
+DIST gallery-dl-1.25.8.gh.tar.gz 570435 BLAKE2B 33cd558c0f30cc31adbd0a51365b9501309be001cb0f7a3bb83e21dc797ca7e097b94e1575e4c0342fad44a5fca07a486d1e44db1a12d90ade06d0bc4acf8384 SHA512 22bd9e330efe24cb56e7b9b3eb219094aa897bb620253c4dd3fcda33df82fc021f1151dd9a6aff1f762c3ed4d426aadc75a398a659b30f64f254780554f46687
diff --git a/net-misc/gallery-dl/gallery-dl-1.25.8.ebuild b/net-misc/gallery-dl/gallery-dl-1.25.8.ebuild
new file mode 100644
index 000000000000..b3da2a9c870f
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.25.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+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"
+# Tests require network access.
+PROPERTIES="test_network"
+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
+}