commit:     1e128bc4798c50c66fd35cb5a267f96434d8cb74
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 22:05:51 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 22:05:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e128bc4

net-misc/gallery-dl: bump to 1.24.2

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

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

diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
index 59005f39022c..c52f94dce733 100644
--- a/net-misc/gallery-dl/Manifest
+++ b/net-misc/gallery-dl/Manifest
@@ -3,3 +3,4 @@ DIST gallery-dl-1.23.3.gh.tar.gz 488200 BLAKE2B 
88482c7f41da00447b6eeb6331d61f6c
 DIST gallery-dl-1.23.5.gh.tar.gz 491336 BLAKE2B 
6690444508af66f1293f773f2795aae1546e1ce2daf4bedef32fa7aa801d0d6ce82b2825e008a6db7e2e8e6e6c4bce095f0a453cfd23d7ae9ebf09a717b8d07e
 SHA512 
541d1452e55e58a319e3c2523d81d190b2c348c798977d32c091118f5f2eb6a930e27b0029900d98a9cb731e86c43c3fd8e0121fe4caf05db4296c15c8637194
 DIST gallery-dl-1.24.0.gh.tar.gz 499432 BLAKE2B 
69afd7325f13028462f44c5c2fc5c32d708c651e11a4e77e9c7dde27ff3919bf40874c427ba813f656567e5d24cd63411db5100986ecdeef1e6ead50d15bdd02
 SHA512 
6b6950ecbd754cd8d0475a01692bc35948fe27ec4601bacaf1480b9af69bfc427b7af743a5430ad11d4fa08bfedcafab09820b4020df1cef46a87fd2a98a30fa
 DIST gallery-dl-1.24.1.gh.tar.gz 504352 BLAKE2B 
52b5cc5022e74a9453e378c65d6f42216362531c1b3afac7ddf5a87b8e78acbe629e302e08b8273dcad6e25738c0009bd2e197d4cb6fee2bffdd9e20e9d7a296
 SHA512 
65e00b7d7d6f959f3aa62701b683ce6d6ca30c23f9e0f82c206ed102746b8627bf88f89d5f54bbd4afd4135ddf143a9da1ba05c202f82c114cac1cb926b41efc
+DIST gallery-dl-1.24.2.gh.tar.gz 509230 BLAKE2B 
e0be565c00d4c81b613bdc3fe9983a5a7cc7a1f131750ec79f16e3b38d134f49ef8fb8f9585767c1abdb3c3d3abc4681f5546460373d53da0646f7fd73a3d47b
 SHA512 
2b8780d9ebf868635f76315a5f7a426ed72b4db4e7a12f97ebc86520fa6d5908f39fb26e876cbc46e8249b083f3bf5dc4d38a3c2ddb27873c473c80bac0af415

diff --git a/net-misc/gallery-dl/gallery-dl-1.24.2.ebuild 
b/net-misc/gallery-dl/gallery-dl-1.24.2.ebuild
new file mode 100644
index 000000000000..982779112300
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.24.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+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
+}

Reply via email to