summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@riseup.net>2021-07-06 11:03:04 +0200
committerIonen Wolkens <ionen@gentoo.org>2021-07-06 05:18:48 -0400
commit9c49a47b2724ca22528ed79753c1dfab8ce6c509 (patch)
tree7f27085f2f9b5a1b9f30715eac8b22957e794385 /net-misc/gallery-dl
parentnet-misc/gallery-dl: bump to 1.17.5 (diff)
downloadgentoo-9c49a47b2724ca22528ed79753c1dfab8ce6c509.tar.gz
gentoo-9c49a47b2724ca22528ed79753c1dfab8ce6c509.tar.bz2
gentoo-9c49a47b2724ca22528ed79753c1dfab8ce6c509.zip
net-misc/gallery-dl: bump to 1.18.1
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net> Signed-off-by: Ionen Wolkens <ionen@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.18.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index f314bef3ba3e..54fa93c29428 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -1,3 +1,4 @@
DIST gallery-dl-1.17.3.tar.gz 353605 BLAKE2B bae09e7a71457510c5d05c897e0082a6dca1b9c9a0a7bb57cd4585fd3a3748af7dd9c85cd92340fe3fb8329562c7153af717ef07d7c0a4a486a3400d37869031 SHA512 ee11058f04197695a2a47b50a9bef81f91b10875959841bca0f9ae27d9229b9ce1fa1e6fd32b7199163d458d698ccd92be7a700aeaed55078feaf70063883f47
DIST gallery-dl-1.17.4.tar.gz 354616 BLAKE2B b8730759af439b9a06b3498cbe2aa5ca758040dbdd812d00f5944d82e050ab09bfd69658aeb861d29bf597b6fa8976e29d3ce41e7a2073c479536cf819b83046 SHA512 f46fa38fcb58724fcfbed247c5e9da91f06ac70bc9fbaa8013f7bafd6de1f0563ac2b5c712216686d660e400aac9cb3f95b74218c8cfba85210fb0417e8f6db2
DIST gallery-dl-1.17.5.tar.gz 359212 BLAKE2B 12c8ba8e25e8979cb9230283b40f9e11c23032f281cdf73975b1099c76d9007c68246be0e961d29d4686ce12790cf31c4ed0e3c83d91984ce11b0008176157a3 SHA512 c630156c3b16499f33d3850935f5f37d85a443041448f1edf5d0b91a36b8b73a83248a9b2f6da99d5c679b6d1759100eb42f6b50650b914f67c1928e2491bf00
+DIST gallery-dl-1.18.1.tar.gz 368692 BLAKE2B f92eb7a876563ed5bc78ca1222b8c45fe78ad6d899a55bf2edefece14209acfc784bc3ac84c7e84397746f5a5ab01c2c6f94efcb0f28d2aacac3cbd68ebcd545 SHA512 20e4f983160870a646a66963505d2c53f5498b9bbbb869a603ae53848ee788f26c6df4c5951805d99f225954ddbe692c2da5501a409650cc3e522d97f34a7c0d
diff --git a/net-misc/gallery-dl/gallery-dl-1.18.1.ebuild b/net-misc/gallery-dl/gallery-dl-1.18.1.ebuild
new file mode 100644
index 000000000000..fec914ad2ced
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.18.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python3_{8,9})
+PYTHON_REQ_USE="sqlite,ssl,xml"
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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"
+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
+
+src_compile() {
+ emake data/completion/{,_}gallery-dl man
+
+ distutils-r1_src_compile
+}
+
+pkg_postinst() {
+ optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg
+ optfeature "video downloads" net-misc/youtube-dl
+}