summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-04-08 21:41:14 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-04-08 21:49:54 +0200
commitf540170c61b34a091ff7c39c9c674203d356dde9 (patch)
treea116b3757c78c4286ba21ecdc2b3dd417ceb8973
parentapp-emulation/cloud-init: bump to 22.1 (diff)
downloadgentoo-f540170c61b34a091ff7c39c9c674203d356dde9.tar.gz
gentoo-f540170c61b34a091ff7c39c9c674203d356dde9.tar.bz2
gentoo-f540170c61b34a091ff7c39c9c674203d356dde9.zip
net-misc/gallery-dl: bump to 1.21.1
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.21.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 6925da3cfddc..dc0a13f208c0 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -1,3 +1,4 @@
DIST gallery-dl-1.20.4.tar.gz 414744 BLAKE2B 2df2dc3aafebb28c48f3a8a8768b859044826ccf7854214ee7ec8899282bb52b719b6d447c9909a30091dcb24e0839274a54526a22a3115e5fd2be2bfc2fbc1f SHA512 9e4c058f99355c2c957931b0ecc5b0b969ab92a251a020d45e9c269c8329de6d0d0328f5a4c391844c7314cff5b4e01b897d6f9382a6929c75f6e68808ec1bd9
DIST gallery-dl-1.20.5.tar.gz 417267 BLAKE2B f1f4b34d87b21d4c4c8fa15e9a1f39f3fccf7ed3bdd446fcdec03d435878e708fa2169270a610a6de79c5e57a4cc8becb98399638a353ec92490fe408d822beb SHA512 a53102a9495763e001810c509265affc1594468e3ba73d3a677652e73d8f18d3414e6cf83dd30914e882e7867380f9c0322d42bf418b372f59be6981106d4cd5
DIST gallery-dl-1.21.0.tar.gz 425507 BLAKE2B ca31b169558385fa6ed6ce9fe8082fddcc7124f945fcfaef2aab13a4357fd9d488bdfde48c27d0a86fb0f626ea831e7dc3600c7e50abce2bbcfd37a350ee2767 SHA512 dc85d522e372e8ec2565029b9dc3d736b546b4cf66bd9242fdfa11aab30975263e221ba50234ace409a4cf3dc6f36d5b1031cfbf74dc4ba3053eded5aea7f38c
+DIST gallery-dl-1.21.1.tar.gz 432380 BLAKE2B 58267dad8af16cb8b03bc7532e934e15c510f8ac36a92cfbf4cf48791634973fa68dc0c1fae8968a5df1a340833980ef032c8c47fc2b2ae4c7b9018bf2d6b197 SHA512 6725937e81ef0ff6b3ad2718f51eb7be09ce364584b16be6031e5608f6b58b366aa96cf0616974147d4ec101825cdedbed8c8790970040f4f80e955847772901
diff --git a/net-misc/gallery-dl/gallery-dl-1.21.1.ebuild b/net-misc/gallery-dl/gallery-dl-1.21.1.ebuild
new file mode 100644
index 000000000000..d424151deeb1
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.21.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+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}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+# 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/youtube-dl
+}