commit:     8d4a3ad5a8ee2aa8372fc7c8952f083af117feee
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 28 20:43:42 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 20:46:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d4a3ad5

net-misc/gallery-dl: bump to 1.24.5

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 net-misc/gallery-dl/Manifest                 |  1 +
 net-misc/gallery-dl/gallery-dl-1.24.5.ebuild | 39 ++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index cf92760399a2..b2a2cc46e25a 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -3,3 +3,4 @@ DIST gallery-dl-1.24.1.gh.tar.gz 504352 BLAKE2B 
52b5cc5022e74a9453e378c65d6f4221
 DIST gallery-dl-1.24.2.gh.tar.gz 509230 BLAKE2B 
e0be565c00d4c81b613bdc3fe9983a5a7cc7a1f131750ec79f16e3b38d134f49ef8fb8f9585767c1abdb3c3d3abc4681f5546460373d53da0646f7fd73a3d47b
 SHA512 
2b8780d9ebf868635f76315a5f7a426ed72b4db4e7a12f97ebc86520fa6d5908f39fb26e876cbc46e8249b083f3bf5dc4d38a3c2ddb27873c473c80bac0af415
 DIST gallery-dl-1.24.3.gh.tar.gz 518417 BLAKE2B 
2d5c2167b5af9d3aa8c9a65ac0758e336315377fa2bd9a33b977e01360ab45a573f998fd3dccfb15e20a717e9d80acab8b17787ccd7e2141fad9dcd38ff63c94
 SHA512 
f971944048143ee8c63d3d2161b27f5e1d294b9edcf5155479687eeec279cf8a7fc6a722b4572cab8b741067f73afa06d7895ed1a99396d7a37dd6fb2e929d6e
 DIST gallery-dl-1.24.4.gh.tar.gz 518668 BLAKE2B 
73ef2894d1355716001a5b82c43547d8156a646136b9a87e91ab0c51c4c238509da077e6ca79e8701a65c3e846aaa4adeac8d3f8cdfb50e140e815f56b55d358
 SHA512 
19285f9db2eba95252f13af176c314a318fd71503913ce6b54e4b31d0c41b1ca79498289531ca0b9d67630395c8212ba497c5c2a838f554c24d1672c5c16caf3
+DIST gallery-dl-1.24.5.gh.tar.gz 525743 BLAKE2B 
6b8611242bbb6a6dc76508ec452c3618fe75d6ffdc3185b5f246e5568f32861647649d63e9479b187f086aeb4ea4f567567fc387bbe1df0cb4994a00d4ba76f1
 SHA512 
648707e5be450501aa66f34b89aae1cf7b80c93bee5105c9eeae4fa19e34df41b231066a23113e963119105050e6aed8e654d10d107086ab5a815095dcf562c2

diff --git a/net-misc/gallery-dl/gallery-dl-1.24.5.ebuild 
b/net-misc/gallery-dl/gallery-dl-1.24.5.ebuild
new file mode 100644
index 000000000000..9dcd7bdbba2f
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.24.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+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/yt-dlp
+}

Reply via email to