diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-01-21 23:17:29 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-01-22 00:08:58 +0100 |
commit | b5fa3734983df6a25850e828ce770ee5c8f6d4c2 (patch) | |
tree | 644a5bde39536d128405820b8a040a2e38b843b7 /net-misc | |
parent | net-misc/gallery-dl: drop old 1.26.3 (diff) | |
download | gentoo-b5fa3734983df6a25850e828ce770ee5c8f6d4c2.tar.gz gentoo-b5fa3734983df6a25850e828ce770ee5c8f6d4c2.tar.bz2 gentoo-b5fa3734983df6a25850e828ce770ee5c8f6d4c2.zip |
net-misc/gallery-dl: bump to 1.26.7
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.26.7.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index 52bd2d2c846f..7bce0de2a76f 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,3 +1,4 @@ DIST gallery-dl-1.26.4.gh.tar.gz 626072 BLAKE2B 84711edcb8bd78732a0a065c7c1df5c8ff159cd5c494dd95bba4823aedb38e9435876335b7aa665270644a5d608c154d2ab5057d8c86d6f5cbc73073b819f017 SHA512 d39a8635949150a41b6c86b449ac2c42a96ac15b36555d9ea09071bf91984e64868331bfe6cb1de17ba90c509c3003a01fe5c80918d02176cae6cd6eef826a01 DIST gallery-dl-1.26.5.gh.tar.gz 631129 BLAKE2B a9870436eb41269bcb5ff7f339473d1b6e2b39b83245fff2a029fc2e3c2d71a254be45954968cdef06c70139792051b82e8a00daeed9884af1cde6edf1d63828 SHA512 23421a36d1a915cabacad38948c60baca3041d43e2f763d97e516a35da1e8bc8ab8726b3e6b525aadd7ec48444df9caa0079f49b6193e33014f66c7c606952d4 DIST gallery-dl-1.26.6.gh.tar.gz 637424 BLAKE2B feb7cf54bc15112c9c7e26be58ab69a6219416f2c8533922fc32e4c9790d71c829718875e0e93cec5eb0542fd68cf65f60716af06b8ea1a09b88574816315312 SHA512 b788353cd18f5cb9b505aa788cd16700846d6f430649a04317e0f688bbd95200fb45dbcba8ec28c3f37c4de7c353d144f940decb369baf171e70da57042f0933 +DIST gallery-dl-1.26.7.gh.tar.gz 649312 BLAKE2B b9b493c03c459d9ff0fafce8d48b9fef075d17cc5b1d7133f2f24841ddf0af96297c284d114088825afa3b4be6499ac98b2be44aabe11d31d27ea0718d5cd453 SHA512 fdd00e43d91c5ab577f21f874ddbaa18031af308c8ca7ee8996a0b816ab9f9d422cb870467f83b3c2ce5f943727fd26af4e5597cd808fbef2df88a874bcbd9bc diff --git a/net-misc/gallery-dl/gallery-dl-1.26.7.ebuild b/net-misc/gallery-dl/gallery-dl-1.26.7.ebuild new file mode 100644 index 000000000000..7f31c8680987 --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.26.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +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" +PROPERTIES="test_network" # 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/yt-dlp +} |