From: "Maciej Barć" <xgqt@protonmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/gallery-dl/
Date: Mon, 27 Jul 2020 21:44:33 +0000 (UTC) [thread overview]
Message-ID: <1595886277.b937683d6f15e78e519f0234ddfe348b5ce1d6d5.xgqt@gentoo> (raw)
commit: b937683d6f15e78e519f0234ddfe348b5ce1d6d5
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Mon Jul 27 21:44:37 2020 +0000
Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Mon Jul 27 21:44:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b937683d
net-misc/gallery-dl: new package; add version 1.14.3 and 9999
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
net-misc/gallery-dl/Manifest | 1 +
net-misc/gallery-dl/gallery-dl-1.14.3.ebuild | 49 ++++++++++++++++++++++++++++
net-misc/gallery-dl/gallery-dl-9999.ebuild | 49 ++++++++++++++++++++++++++++
net-misc/gallery-dl/metadata.xml | 14 ++++++++
4 files changed, 113 insertions(+)
diff --git a/net-misc/gallery-dl/Manifest b/net-misc/gallery-dl/Manifest
new file mode 100644
index 0000000..d505f12
--- /dev/null
+++ b/net-misc/gallery-dl/Manifest
@@ -0,0 +1 @@
+DIST v1.14.3.tar.gz 317004 BLAKE2B 9ff327dde9e4fb361e87e40b835cf5324f639b0f2d61ff762854d685a381c0f2b098545c295eae0b92fdb67aea23cd03379af3bae22a9a928e4dcb3d5b40f689 SHA512 66971ed49c7d90bf249fe5b48848c05f2e085cca04a448fd818b69a0fcd27b8739414ec506f429ef4ca9ae45f7a8919fdfefbd9206bb5bb475ca3e783f5ef494
diff --git a/net-misc/gallery-dl/gallery-dl-1.14.3.ebuild b/net-misc/gallery-dl/gallery-dl-1.14.3.ebuild
new file mode 100644
index 0000000..3d34bec
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-1.14.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python3_{6,7,8})
+
+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
+
+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 "Optionad dependencies:"
+ elog "media-video/ffmpeg - for Pixiv Ugoira to WebM conversion"
+ elog "net-misc/youtube-dl - for video downloads"
+}
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 0000000..3d34bec
--- /dev/null
+++ b/net-misc/gallery-dl/gallery-dl-9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=(python3_{6,7,8})
+
+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
+
+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 "Optionad dependencies:"
+ elog "media-video/ffmpeg - for Pixiv Ugoira to WebM conversion"
+ elog "net-misc/youtube-dl - for video downloads"
+}
diff --git a/net-misc/gallery-dl/metadata.xml b/net-misc/gallery-dl/metadata.xml
new file mode 100644
index 0000000..5346852
--- /dev/null
+++ b/net-misc/gallery-dl/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@protonmail.com</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">cdr/code-server</remote-id>
+ </upstream>
+ <longdescription>
+gallery-dl is a command-line program to download image-galleries and -collections from several image hosting sites (see Supported Sites). It is a cross-platform tool with many configuration options and powerful filenaming capabilities.
+ </longdescription>
+</pkgmetadata>
next reply other threads:[~2020-07-27 21:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-27 21:44 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-27 21:46 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/gallery-dl/ Maciej Barć
2020-07-27 22:28 Maciej Barć
2020-07-28 9:12 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-07-28 9:12 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-07-28 10:41 Maciej Barć
2020-08-16 12:57 Maciej Barć
2020-09-21 18:42 Maciej Barć
2020-09-21 18:44 Maciej Barć
2020-09-21 18:49 Maciej Barć
2020-10-26 13:22 Maciej Barć
2020-10-26 13:25 Maciej Barć
2020-11-11 15:26 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1595886277.b937683d6f15e78e519f0234ddfe348b5ce1d6d5.xgqt@gentoo \
--to=xgqt@protonmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox