From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5779A138359 for ; Wed, 11 Nov 2020 07:50:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FA8FE0BD9; Wed, 11 Nov 2020 07:50:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75EDEE0BD7 for ; Wed, 11 Nov 2020 07:50:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0A0C3407E0 for ; Wed, 11 Nov 2020 07:50:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F1DE3A1 for ; Wed, 11 Nov 2020 07:50:23 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1605081009.4a0994f1ddc0cd923e2dbd3e3437a6ce7fc44c62.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/gallery-dl/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/gallery-dl/Manifest net-misc/gallery-dl/gallery-dl-1.15.2.ebuild net-misc/gallery-dl/gallery-dl-9999.ebuild net-misc/gallery-dl/metadata.xml X-VCS-Directories: net-misc/gallery-dl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 4a0994f1ddc0cd923e2dbd3e3437a6ce7fc44c62 X-VCS-Branch: master Date: Wed, 11 Nov 2020 07:50:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eaba754a-861c-4706-ab91-03846da8ba37 X-Archives-Hash: 635caa67a56c77d46f9018c5ace66f7d commit: 4a0994f1ddc0cd923e2dbd3e3437a6ce7fc44c62 Author: Maciej Barć protonmail com> AuthorDate: Thu Oct 8 14:29:16 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Nov 11 07:50:09 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a0994f1 net-misc/gallery-dl: new package; 1.15.2 and 9999 Download image galleries and collections from several image hosting sites. Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Maciej Barć protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/17850 Signed-off-by: Joonas Niilola gentoo.org> net-misc/gallery-dl/Manifest | 1 + net-misc/gallery-dl/gallery-dl-1.15.2.ebuild | 46 ++++++++++++++++++++++++++++ net-misc/gallery-dl/gallery-dl-9999.ebuild | 46 ++++++++++++++++++++++++++++ net-misc/gallery-dl/metadata.xml | 19 ++++++++++++ 4 files changed, 112 insertions(+) diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest new file mode 100644 index 00000000000..578868670e1 --- /dev/null +++ b/net-misc/gallery-dl/Manifest @@ -0,0 +1 @@ +DIST gallery-dl-1.15.2.tar.gz 323739 BLAKE2B 99a06331bd7dc6ec951749129ad0ac797d9ce2d9f98e75a29198fd47d0481c43b96922ea08149abfe990e8994a19b3170853618de9b51465264d100dba777f32 SHA512 7f31c0485d9de6eaf76e7b0772e66049f9aa8fd7d77d3ef6fd2803d7ec7dddbf3419051c9d8b3984eb86a8fbbf9a168cf8ec69a55082a38e2ca23cfc3574b1f4 diff --git a/net-misc/gallery-dl/gallery-dl-1.15.2.ebuild b/net-misc/gallery-dl/gallery-dl-1.15.2.ebuild new file mode 100644 index 00000000000..1fc6f3ea8b7 --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-1.15.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=(python3_{7,8}) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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}.tar.gz" + KEYWORDS="~amd64" +fi + +# tests require network access +RESTRICT="test" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=dev-python/requests-2.11.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests setup.py + +src_compile() { + emake data/completion/gallery-dl + emake data/completion/_gallery-dl + emake man + 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 +} diff --git a/net-misc/gallery-dl/gallery-dl-9999.ebuild b/net-misc/gallery-dl/gallery-dl-9999.ebuild new file mode 100644 index 00000000000..1fc6f3ea8b7 --- /dev/null +++ b/net-misc/gallery-dl/gallery-dl-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=(python3_{7,8}) +DISTUTILS_USE_SETUPTOOLS=rdepend + +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}.tar.gz" + KEYWORDS="~amd64" +fi + +# tests require network access +RESTRICT="test" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=dev-python/requests-2.11.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests setup.py + +src_compile() { + emake data/completion/gallery-dl + emake data/completion/_gallery-dl + emake man + 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 +} diff --git a/net-misc/gallery-dl/metadata.xml b/net-misc/gallery-dl/metadata.xml new file mode 100644 index 00000000000..955798794c3 --- /dev/null +++ b/net-misc/gallery-dl/metadata.xml @@ -0,0 +1,19 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + proxy-maint@gentoo.org + Proxy Maintainers + + + mikf/gallery-dl + + + gallery-dl is a command-line program to download image-galleries and -collections from several image hosting sites. + It is a cross-platform tool with many configuration options and powerful filenaming capabilities. + +