commit: 59aa9d95251fc8e9c508a47a80dcf8342bd2394e Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> AuthorDate: Mon Sep 21 18:41:30 2020 +0000 Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com> CommitDate: Mon Sep 21 18:41:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=59aa9d95
net-misc/gallery-dl: bump to 1.15.0 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> net-misc/gallery-dl/Manifest | 1 + net-misc/gallery-dl/gallery-dl-1.15.0.ebuild | 53 ++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest index 077bc6e1..f13e8d03 100644 --- a/net-misc/gallery-dl/Manifest +++ b/net-misc/gallery-dl/Manifest @@ -1,2 +1,3 @@ DIST v1.14.3.tar.gz 317004 BLAKE2B 9ff327dde9e4fb361e87e40b835cf5324f639b0f2d61ff762854d685a381c0f2b098545c295eae0b92fdb67aea23cd03379af3bae22a9a928e4dcb3d5b40f689 SHA512 66971ed49c7d90bf249fe5b48848c05f2e085cca04a448fd818b69a0fcd27b8739414ec506f429ef4ca9ae45f7a8919fdfefbd9206bb5bb475ca3e783f5ef494 DIST v1.14.4.tar.gz 319657 BLAKE2B dfcd0b02bf50f232f00e13b1ff762820d4e89d95933bd4ad6635018231de49c98a1097381c1ee5d22e9b9aec9ecd4c6e49a6078b2e26f0291fc216cf8546e1ee SHA512 617c5f938495143388a32583ae712d93b34ffcf1523f04b2fea1ada06c628d49f83eb88527d7c8a67049005961a3eadac5090de418da0e9503904d2ba8a453ff +DIST v1.15.0.tar.gz 323180 BLAKE2B 2b0bac0e0a3a3c1c3cab1860f1f584fd09e5f6163a69a94419f2924bd62e1fb9464f8139f6cdce4a7020accaaa44cf1e60c03dab2db7d9568d35693a8f935c4e SHA512 3d15ebeaa088130efb4c33ad2bc2d7ed2af78eafc68ef00b451d65db7f6b589cf10e248c309677dbbfe7202885d602afdbcab330dae0ebce190bd1f5dce25834 diff --git a/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild b/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild new file mode 100644 index 00000000..edcab4bd --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=(python3_{6,7,8}) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit eutils distutils-r1 + +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" + KEYWORDS="" +else + SRC_URI="https://github.com/mikf/${PN}/archive/v${PV}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT="test" +LICENSE="GPL-2" +SLOT="0" +IUSE="bash-completion zsh-completion" + +RDEPEND=" + >=dev-python/requests-2.11.0[${PYTHON_USEDEP}] +" + +# tests require network access +distutils_enable_tests setup.py + +src_compile() { + if use bash-completion || use zsh-completion + then + emake completion + fi + + emake man + + # this will install shell completion and man pages generated above (if any) + distutils-r1_src_compile +} + +pkg_postinst() { + elog "To get additional features, some optional runtime dependencies" + elog "may be installed:" + elog "" + optfeature "Pixiv Ugoira to WebM conversion" media-video/ffmpeg + optfeature "video downloads" net-misc/youtube-dl +}