summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-02-14 19:45:21 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-02-14 19:47:38 +0100
commit030788059e01000f6fbe588a4066e5ddcd078b0d (patch)
treefd30d39436fed984c07be239c29a253c311528ca /net-misc/gallery-dl
parentmedia-sound/abcmidi: removed obsolete 2021.12.12 (diff)
downloadgentoo-030788059e01000f6fbe588a4066e5ddcd078b0d.tar.gz
gentoo-030788059e01000f6fbe588a4066e5ddcd078b0d.tar.bz2
gentoo-030788059e01000f6fbe588a4066e5ddcd078b0d.zip
net-misc/gallery-dl: bump to 1.20.5
Package-Manager: Portage-3.0.30, Repoman-3.0.3 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.20.5.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 8338ac874037..8367d9ee3975 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -2,3 +2,4 @@ DIST gallery-dl-1.20.1.tar.gz 408366 BLAKE2B f6a40270dd4e4a9df84c852e1c580ffb84e
DIST gallery-dl-1.20.2.tar.gz 411489 BLAKE2B e63aaa59d8792edc6e73e70cd46364d893aa39b80b70baec46d5e161111a2eb3e00891ccb092cceff0a07cb5646bb848b94c2a7d929f9aa043716866171aeec8 SHA512 436b8959dd97cea3792be6d87bdedd67d8c7a327f4d332306709850687445d0fd1f2f7b6068a0584ba12b613a975f11185aef0ad34ea8035429c7865435c7839
DIST gallery-dl-1.20.3.tar.gz 411789 BLAKE2B f2fff5f2bf0c8f5e23625cada06a29078737d6ca869012cd790da4f3f93d8b4cdcd294715a94d6fec41f5184fcd7346fe63144b4dc02bd3680ec171bac0ea523 SHA512 68a53844ed4743f20e17bb4ece168c5dc14cb63f13bce35f25a7d2198894eb18eb84dc2cbc29c1289020db08095783718d14d8fcd3dfed64ed76a235b672861e
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
diff --git a/net-misc/gallery-dl/gallery-dl-1.20.5.ebuild b/net-misc/gallery-dl/gallery-dl-1.20.5.ebuild
new file mode 100644
index 000000000000..c33edc550b3f
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.20.5.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"
+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
+}