diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-01-25 03:19:31 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-01-25 03:20:52 +0100 |
commit | 93794263e264f08bb841bc71dbd977d16cc741f0 (patch) | |
tree | 3134e42ed7d06ce595d24ddaa1e2ba72e66ffd5a | |
parent | dev-util/devhelp: fix build with meson 0.61 (diff) | |
download | gentoo-93794263e264f08bb841bc71dbd977d16cc741f0.tar.gz gentoo-93794263e264f08bb841bc71dbd977d16cc741f0.tar.bz2 gentoo-93794263e264f08bb841bc71dbd977d16cc741f0.zip |
net-misc/gallery-dl: bump to 1.20.2
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r-- | net-misc/gallery-dl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/gallery-dl/gallery-dl-1.20.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 52660dd6d3e0..6d469056817c 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,3 +1,4 @@ DIST gallery-dl-1.19.3.tar.gz 399869 BLAKE2B cef40ac7759bffb42536fed866df946e6c22e333ddae98db149109779dd9439c775722b887898e322de26860aee0990a440aa0812620dadb9d223da09f25d662 SHA512 b50c0e341a0b2b08ddd8f5674c1f4df097b862827f8bca2270d3fd62be619fab8a4c097de9d3193e8161ebcb64eb6c77676c243bca4cabc7dc1d3f192b485ad3 DIST gallery-dl-1.20.0.tar.gz 407372 BLAKE2B 8d7bd6ed4a769b4d4b3357b146babda2ac36989ce1373977b4902ae350a1e430585a5064205fb2038c62727c13c8b09a010aa9e32a96483783229db6366425b6 SHA512 d373b7a104232c99bfae8f92adc3af5ea51e8a1ccfec6db54831de899f9568be0526c8c7cd8f9cdc4680b8dc8934d483c95172b68cffca6b59b605698e2bca65 DIST gallery-dl-1.20.1.tar.gz 408366 BLAKE2B f6a40270dd4e4a9df84c852e1c580ffb84e5b282adec0750f59e8ded130e79f336d1ba81ed0abe66f3bdae18aef05bac6c7c7f889a070a9c23a407dc9c51d890 SHA512 7d2c6daa473f1aaa1bef94f3ac2b38c9ce06d6f19d564e7c2abec9ecba4fa7c4f092f765080a4079020a1d2aa7484894a37d9f4b0cca2efad3ca1bf440ebf0cb +DIST gallery-dl-1.20.2.tar.gz 411489 BLAKE2B e63aaa59d8792edc6e73e70cd46364d893aa39b80b70baec46d5e161111a2eb3e00891ccb092cceff0a07cb5646bb848b94c2a7d929f9aa043716866171aeec8 SHA512 436b8959dd97cea3792be6d87bdedd67d8c7a327f4d332306709850687445d0fd1f2f7b6068a0584ba12b613a975f11185aef0ad34ea8035429c7865435c7839 diff --git a/net-misc/gallery-dl/gallery-dl-1.20.2.ebuild b/net-misc/gallery-dl/gallery-dl-1.20.2.ebuild new file mode 100644 index 000000000000..e0f925d5ec54 --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.20.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,9,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" +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 +} |