public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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, 26 Oct 2020 13:22:55 +0000 (UTC)	[thread overview]
Message-ID: <1603718558.4c662d2c0f785f9ceaeda2e4d17c1bb0e39ed43d.xgqt@gentoo> (raw)

commit:     4c662d2c0f785f9ceaeda2e4d17c1bb0e39ed43d
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Mon Oct 26 13:22:38 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Mon Oct 26 13:22:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c662d2c

net-misc/gallery-dl: bring QA fixes from PR review

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 net-misc/gallery-dl/gallery-dl-1.15.0.ebuild | 15 ++++-----------
 net-misc/gallery-dl/gallery-dl-9999.ebuild   | 15 ++++-----------
 2 files changed, 8 insertions(+), 22 deletions(-)

diff --git a/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild b/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild
index cd69e03d..1fc6f3ea 100644
--- a/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild
+++ b/net-misc/gallery-dl/gallery-dl-1.15.0.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=(python3_{7,8})
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
-inherit eutils distutils-r1 optfeature
+inherit distutils-r1 optfeature
 
 DESCRIPTION="Download image galleries and collections from several image hosting sites"
 HOMEPAGE="https://github.com/mikf/gallery-dl"
@@ -14,33 +14,26 @@ 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 -> ${P}.tar.gz"
 	KEYWORDS="~amd64"
 fi
 
+# tests require network access
 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 data/completion/gallery-dl
+	emake data/completion/_gallery-dl
 	emake man
-
-	# this will install shell completion and man pages generated above (if any)
 	distutils-r1_src_compile
 }
 

diff --git a/net-misc/gallery-dl/gallery-dl-9999.ebuild b/net-misc/gallery-dl/gallery-dl-9999.ebuild
index cd69e03d..1fc6f3ea 100644
--- a/net-misc/gallery-dl/gallery-dl-9999.ebuild
+++ b/net-misc/gallery-dl/gallery-dl-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=(python3_{7,8})
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
-inherit eutils distutils-r1 optfeature
+inherit distutils-r1 optfeature
 
 DESCRIPTION="Download image galleries and collections from several image hosting sites"
 HOMEPAGE="https://github.com/mikf/gallery-dl"
@@ -14,33 +14,26 @@ 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 -> ${P}.tar.gz"
 	KEYWORDS="~amd64"
 fi
 
+# tests require network access
 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 data/completion/gallery-dl
+	emake data/completion/_gallery-dl
 	emake man
-
-	# this will install shell completion and man pages generated above (if any)
 	distutils-r1_src_compile
 }
 


             reply	other threads:[~2020-10-26 13:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-26 13:22 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-11 15:26 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/gallery-dl/ Maciej Barć
2020-10-26 13:25 Maciej Barć
2020-09-21 18:49 Maciej Barć
2020-09-21 18:44 Maciej Barć
2020-09-21 18:42 Maciej Barć
2020-08-16 12:57 Maciej Barć
2020-07-28 10:41 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-27 22:28 Maciej Barć
2020-07-27 21:46 Maciej Barć
2020-07-27 21:44 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=1603718558.4c662d2c0f785f9ceaeda2e4d17c1bb0e39ed43d.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