diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-06-28 00:07:30 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-06-28 00:07:30 +0200 |
commit | 7b10c2a3dbcc4c6f56a07307cb13be94dbf563f4 (patch) | |
tree | 7b308549e3f8546097725e6c7adfd8bb14681583 /net-misc | |
parent | app-editors/xemacs: No lock on finder-inf creation (diff) | |
download | gentoo-7b10c2a3dbcc4c6f56a07307cb13be94dbf563f4.tar.gz gentoo-7b10c2a3dbcc4c6f56a07307cb13be94dbf563f4.tar.bz2 gentoo-7b10c2a3dbcc4c6f56a07307cb13be94dbf563f4.zip |
net-misc/gallery-dl: bump to 1.22.2
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.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 4245e448d7c6..44c9aeb9909b 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.1.tar.gz 459120 BLAKE2B 2a3fcfcd10f9446ffdbcb44b920bbf962befcf8c338f7b48447d541e9f1c32a42ae7ac50b578fe8bce6039f3556d55d1fb0161689e0efbea6af9586668f4f488 SHA512 a277f70003603631a17081703fa1003791b106500422dabb406d20aaa80c71dcf3bfa8697ae8436025184e1a7115378a71b2a7e61eaa6b85195b4a3e5ba08ea6 +DIST gallery-dl-1.22.2.gh.tar.gz 463977 BLAKE2B f84837eaa0bdeccf7a63267c08657dc2fcbb17c218a10ed4b16d8b086f4aabca6097cb4161058b76796e96fa5fc57c8cde2a2f0387a28413cc6b6eab7a3f429b SHA512 b3a9790beed25a362a573b33dfaa18739072503d264044953b97e661e22c4850bfff04803e65f39b6ea9a077d3ffaa96a3c859f580f25890938e4f187c13a527 diff --git a/net-misc/gallery-dl/gallery-dl-1.22.2.ebuild b/net-misc/gallery-dl/gallery-dl-1.22.2.ebuild new file mode 100644 index 000000000000..60c3846252ce --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.22.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}.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 +} |