diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-04-27 23:03:34 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-04-27 23:03:34 +0200 |
commit | 0a2c9ccaa308718aa0e7e3d351aeced2b8353179 (patch) | |
tree | 61eeb1b381aaa1a8c19e6cc8c9770d23f16d658b /net-misc/gallery-dl | |
parent | dev-libs/elfutils: update 0.187 musl patches (diff) | |
download | gentoo-0a2c9ccaa308718aa0e7e3d351aeced2b8353179.tar.gz gentoo-0a2c9ccaa308718aa0e7e3d351aeced2b8353179.tar.bz2 gentoo-0a2c9ccaa308718aa0e7e3d351aeced2b8353179.zip |
net-misc/gallery-dl: bump to 1.21.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc/gallery-dl')
-rw-r--r-- | net-misc/gallery-dl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/gallery-dl/gallery-dl-1.21.2.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index cecc7ab9562d..985bca131708 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,3 +1,4 @@ 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 +DIST gallery-dl-1.21.2.tar.gz 434114 BLAKE2B 2f1335d0745c3fd3de95f9f3005fc67f079fec16925b7ac8fb3f2e9c8521139e56bf18675e15e7e0edbad2889cd7fa895552e8b40d9f1cf6bc555894c8d1da48 SHA512 11615ebb3cab5a6d9e042a94cf802f3781af6166eb199ac22f70a0d3351299bdc82dda212a3a363c323e0edb6707355fe9b6f3d89a851037a8f6ebc12894558f diff --git a/net-misc/gallery-dl/gallery-dl-1.21.2.ebuild b/net-misc/gallery-dl/gallery-dl-1.21.2.ebuild new file mode 100644 index 000000000000..d424151deeb1 --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.21.2.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 +} |