diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-08-28 23:07:49 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-08-28 23:07:49 +0200 |
commit | 92d6ffd1302448f62843faf5e4a1eb39afcf8729 (patch) | |
tree | 7419f1059cda39ac30c4ad2ae75465c3bc4aa797 /net-misc | |
parent | net-misc/gallery-dl: drop old 1.22.3 (diff) | |
download | gentoo-92d6ffd1302448f62843faf5e4a1eb39afcf8729.tar.gz gentoo-92d6ffd1302448f62843faf5e4a1eb39afcf8729.tar.bz2 gentoo-92d6ffd1302448f62843faf5e4a1eb39afcf8729.zip |
net-misc/gallery-dl: bump to 1.23.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.23.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 93fa1e21cf63..3809eec3e1ed 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,3 +1,4 @@ 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.4.tar.gz 467129 BLAKE2B f2f656b3255d091361bd2c80bb2647de47af14c11823fcc0e7e5790ea0b04047195e435a7a4c2b24a645c6e2a27cf53c3ce456a405b97ee014272af1a77ea4a1 SHA512 d20535115b464cb51a0fcb6bcd9e64e12fca5a199841cf4e501eae558c842d7d51dda4823b29d7ee2f1e267e59245f8e1cb1a702a96e5c45935918dbf3e6a448 +DIST gallery-dl-1.23.0.gh.tar.gz 473431 BLAKE2B 1f485477ea150585050f24fbe3605195b9b8ffca3d39d3dde5f2160c2ceb3dd75bb691cc14c178d236c690ff6d2effe147242abcb67feda7b77b829f440e2ac4 SHA512 8e17532c094c9516593f9009eca7139e60d7474a56c76bb07a68c03eae4e2e8e31c6bd1f167388d05a1104d5964e2d0b62272c506b2b6988b1832a36a492cbf9 diff --git a/net-misc/gallery-dl/gallery-dl-1.23.0.ebuild b/net-misc/gallery-dl/gallery-dl-1.23.0.ebuild new file mode 100644 index 000000000000..60c3846252ce --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.23.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}.gh.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 +} |