Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/gallery-dl/
Date: Mon, 17 Aug 2020 10:18:01
Message-Id: 1597582477.019a49670fd6c303e70ecf9b33c16215c4b0efa0.andrewammerlaan@gentoo
1 commit: 019a49670fd6c303e70ecf9b33c16215c4b0efa0
2 Author: Maciej Barć <xgqt <AT> protonmail <DOT> com>
3 AuthorDate: Sun Aug 16 12:54:31 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Sun Aug 16 12:54:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=019a4967
7
8 net-misc/gallery-dl: bump to version 1.14.4
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
12
13 net-misc/gallery-dl/Manifest | 1 +
14 net-misc/gallery-dl/gallery-dl-1.14.4.ebuild | 53 ++++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
18 index d505f12..077bc6e 100644
19 --- a/net-misc/gallery-dl/Manifest
20 +++ b/net-misc/gallery-dl/Manifest
21 @@ -1 +1,2 @@
22 DIST v1.14.3.tar.gz 317004 BLAKE2B 9ff327dde9e4fb361e87e40b835cf5324f639b0f2d61ff762854d685a381c0f2b098545c295eae0b92fdb67aea23cd03379af3bae22a9a928e4dcb3d5b40f689 SHA512 66971ed49c7d90bf249fe5b48848c05f2e085cca04a448fd818b69a0fcd27b8739414ec506f429ef4ca9ae45f7a8919fdfefbd9206bb5bb475ca3e783f5ef494
23 +DIST v1.14.4.tar.gz 319657 BLAKE2B dfcd0b02bf50f232f00e13b1ff762820d4e89d95933bd4ad6635018231de49c98a1097381c1ee5d22e9b9aec9ecd4c6e49a6078b2e26f0291fc216cf8546e1ee SHA512 617c5f938495143388a32583ae712d93b34ffcf1523f04b2fea1ada06c628d49f83eb88527d7c8a67049005961a3eadac5090de418da0e9503904d2ba8a453ff
24
25 diff --git a/net-misc/gallery-dl/gallery-dl-1.14.4.ebuild b/net-misc/gallery-dl/gallery-dl-1.14.4.ebuild
26 new file mode 100644
27 index 0000000..edcab4b
28 --- /dev/null
29 +++ b/net-misc/gallery-dl/gallery-dl-1.14.4.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=(python3_{6,7,8})
37 +DISTUTILS_USE_SETUPTOOLS=rdepend
38 +
39 +inherit eutils distutils-r1
40 +
41 +DESCRIPTION="Download image galleries and collections from several image hosting sites"
42 +HOMEPAGE="https://github.com/mikf/gallery-dl"
43 +
44 +if [[ "${PV}" == *9999* ]]; then
45 + inherit git-r3
46 + EGIT_REPO_URI="https://github.com/mikf/${PN}.git"
47 + KEYWORDS=""
48 +else
49 + SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz"
50 + KEYWORDS="~amd64"
51 +fi
52 +
53 +RESTRICT="test"
54 +LICENSE="GPL-2"
55 +SLOT="0"
56 +IUSE="bash-completion zsh-completion"
57 +
58 +RDEPEND="
59 + >=dev-python/requests-2.11.0[${PYTHON_USEDEP}]
60 +"
61 +
62 +# tests require network access
63 +distutils_enable_tests setup.py
64 +
65 +src_compile() {
66 + if use bash-completion || use zsh-completion
67 + then
68 + emake completion
69 + fi
70 +
71 + emake man
72 +
73 + # this will install shell completion and man pages generated above (if any)
74 + distutils-r1_src_compile
75 +}
76 +
77 +pkg_postinst() {
78 + elog "To get additional features, some optional runtime dependencies"
79 + elog "may be installed:"
80 + elog ""
81 + optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg
82 + optfeature "video downloads" net-misc/youtube-dl
83 +}