diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-05-25 21:09:51 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-05-25 21:09:51 +0200 |
commit | 1916659fa9b3318d8648ccaf18ae9a9b69c1797a (patch) | |
tree | fac7c0d90786881cc800b6e81a34b8706c399e67 /net-misc | |
parent | app-text/pandoc-bin: new package; add version 2.18 (diff) | |
download | gentoo-1916659fa9b3318d8648ccaf18ae9a9b69c1797a.tar.gz gentoo-1916659fa9b3318d8648ccaf18ae9a9b69c1797a.tar.bz2 gentoo-1916659fa9b3318d8648ccaf18ae9a9b69c1797a.zip |
net-misc/gallery-dl: bump to 1.22.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/gallery-dl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/gallery-dl/gallery-dl-1.22.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index 2afdbb8e3c6d..08a5f0f70182 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,3 +1,4 @@ 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 DIST gallery-dl-1.21.2.tar.gz 434114 BLAKE2B 2f1335d0745c3fd3de95f9f3005fc67f079fec16925b7ac8fb3f2e9c8521139e56bf18675e15e7e0edbad2889cd7fa895552e8b40d9f1cf6bc555894c8d1da48 SHA512 11615ebb3cab5a6d9e042a94cf802f3781af6166eb199ac22f70a0d3351299bdc82dda212a3a363c323e0edb6707355fe9b6f3d89a851037a8f6ebc12894558f +DIST gallery-dl-1.22.0.tar.gz 455543 BLAKE2B 1f3f8cb30c2360a9218bea5521a2aedf74a17b82d973b5f3f3f2cfb0580acec1346c34df36a7f3465e641efadec4a599a7cfe35111a860f11238d6de49d1fb5a SHA512 c621103562ad008327c1748b5ce0b49b4832511e1e2e12ee8656f49d1ae57abb133268ff6024a96a961de0949eceabd2b069441ceef9d30ea50e9bf52f846907 diff --git a/net-misc/gallery-dl/gallery-dl-1.22.0.ebuild b/net-misc/gallery-dl/gallery-dl-1.22.0.ebuild new file mode 100644 index 000000000000..d424151deeb1 --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.22.0.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 +} |