diff options
-rw-r--r-- | net-misc/gallery-dl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/gallery-dl/gallery-dl-1.22.4.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index 2b69c97b4040..c46df16b4adc 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -2,3 +2,4 @@ DIST gallery-dl-1.21.1.tar.gz 432380 BLAKE2B 58267dad8af16cb8b03bc7532e934e15c51 DIST gallery-dl-1.21.2.tar.gz 434114 BLAKE2B 2f1335d0745c3fd3de95f9f3005fc67f079fec16925b7ac8fb3f2e9c8521139e56bf18675e15e7e0edbad2889cd7fa895552e8b40d9f1cf6bc555894c8d1da48 SHA512 11615ebb3cab5a6d9e042a94cf802f3781af6166eb199ac22f70a0d3351299bdc82dda212a3a363c323e0edb6707355fe9b6f3d89a851037a8f6ebc12894558f DIST gallery-dl-1.22.2.gh.tar.gz 463977 BLAKE2B f84837eaa0bdeccf7a63267c08657dc2fcbb17c218a10ed4b16d8b086f4aabca6097cb4161058b76796e96fa5fc57c8cde2a2f0387a28413cc6b6eab7a3f429b SHA512 b3a9790beed25a362a573b33dfaa18739072503d264044953b97e661e22c4850bfff04803e65f39b6ea9a077d3ffaa96a3c859f580f25890938e4f187c13a527 DIST gallery-dl-1.22.3.gh.tar.gz 464060 BLAKE2B 6e9543675bb8118a73f81d1dffdfb20e91b385799a1bd9bbf2b5df331a384e55c4a503d5ac9e2f96e6d9d0f34913a4dcbb078c2b0044f9a418e8504e3b835cf9 SHA512 d544218f05a5ffb7eae83aa42bbc916d1b44233a50d11eed7d463c23718edaa144326dd8a88ca317f7fe0e8e1c737d5afc52e4db6d264be1cd3b63dbbfd76755 +DIST gallery-dl-1.22.4.tar.gz 467129 BLAKE2B f2f656b3255d091361bd2c80bb2647de47af14c11823fcc0e7e5790ea0b04047195e435a7a4c2b24a645c6e2a27cf53c3ce456a405b97ee014272af1a77ea4a1 SHA512 d20535115b464cb51a0fcb6bcd9e64e12fca5a199841cf4e501eae558c842d7d51dda4823b29d7ee2f1e267e59245f8e1cb1a702a96e5c45935918dbf3e6a448 diff --git a/net-misc/gallery-dl/gallery-dl-1.22.4.ebuild b/net-misc/gallery-dl/gallery-dl-1.22.4.ebuild new file mode 100644 index 000000000000..2290b4caea08 --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.22.4.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 +} |