diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-09-28 15:34:23 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-09-28 17:00:40 +0200 |
commit | 091cdb1c70432691b97f1c82fc0b6752ec7ce16f (patch) | |
tree | 42602fba7f9556a16856951dc5532f601bf48433 /net-misc/gallery-dl | |
parent | net-misc/gallery-dl: drop old 1.27.1 (diff) | |
download | gentoo-091cdb1c70432691b97f1c82fc0b6752ec7ce16f.tar.gz gentoo-091cdb1c70432691b97f1c82fc0b6752ec7ce16f.tar.bz2 gentoo-091cdb1c70432691b97f1c82fc0b6752ec7ce16f.zip |
net-misc/gallery-dl: bump to 1.27.5
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'net-misc/gallery-dl')
-rw-r--r-- | net-misc/gallery-dl/Manifest | 1 | ||||
-rw-r--r-- | net-misc/gallery-dl/gallery-dl-1.27.5.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index be356eb8bf8b..0c77fc245c74 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,2 +1,3 @@ DIST gallery-dl-1.27.3.gh.tar.gz 699804 BLAKE2B e1ded03fe94abcc442f4010e7e4cf51fbe1724543544761ccd318e61eb33146dbf25229d50123b9d0018b30dc6bffb895b022b61f6f5937dd77ea85f689206f2 SHA512 3fdee99af361364f7f1a207378c07efc24b3090f721da1dca3391972bdac4f31823e6711ac69ca6afca8de23fe276758af910179d511f739ec43b4408bbab6e6 DIST gallery-dl-1.27.4.gh.tar.gz 707554 BLAKE2B 09868291bf01db3db9bf4521a39a2443c6fe82cbd68f5840ff0d14a911bee56a649d89fcec3d2e705b0cabc54c18a0f04eee2fc8bb40e3b99803ea393e5d35f8 SHA512 7e22abbe77929ee4ef420f586b018796c00b8dc18b7ea709fe85bc51ac9fc467ba8763fcec4ab2afe108fd0fbb9002980970e037e1af2408e9c6504db1891220 +DIST gallery-dl-1.27.5.gh.tar.gz 722422 BLAKE2B cd15c00549e9ed9605b39b76b271932ce3beae24b58e60c6fdd549f50d15cd949b14c19634067a24db2056c773be4e4811e9872a811cf6043a9e1edcdfec37dd SHA512 fb5895f4845582bc04bb3fe354bbd4f7611d5fde3caba723139e9bf5bd49796c82a2e6eed1ceca8e19d65136caf187eb6a64f9e93d4c64b89aa46e639e384852 diff --git a/net-misc/gallery-dl/gallery-dl-1.27.5.ebuild b/net-misc/gallery-dl/gallery-dl-1.27.5.ebuild new file mode 100644 index 000000000000..c785e9eeb31f --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.27.5.ebuild @@ -0,0 +1,49 @@ +# 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_{12..13} ) +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" + +RDEPEND=" + >=dev-python/requests-2.11.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +src_prepare() { + # Tests against real servers, some tests always fail and some are subject to change. + rm test/test_results.py || die + + distutils-r1_src_prepare +} + +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 +} |