public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/pybugz/
Date: Sat, 31 Jul 2021 00:18:34 +0000 (UTC)	[thread overview]
Message-ID: <1627690582.c93604372487864d93da1ecff1b51ed4852a7825.sam@gentoo> (raw)

commit:     c93604372487864d93da1ecff1b51ed4852a7825
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 25 03:04:06 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 00:16:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9360437

www-client/pybugz: [QA] unconditionally install completion files

QA policy [0] says that we don't conditionalise installation of
small files. It's a wasteful rebuild and inconsistent across packages
for when users desire completions to be available.

[0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../pybugz/{pybugz-0.13.ebuild => pybugz-0.13-r1.ebuild}      | 11 +++++------
 www-client/pybugz/pybugz-9999.ebuild                          | 11 +++++------
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/www-client/pybugz/pybugz-0.13.ebuild b/www-client/pybugz/pybugz-0.13-r1.ebuild
similarity index 83%
rename from www-client/pybugz/pybugz-0.13.ebuild
rename to www-client/pybugz/pybugz-0.13-r1.ebuild
index 263a9fda68c..bdd2da64a75 100644
--- a/www-client/pybugz/pybugz-0.13.ebuild
+++ b/www-client/pybugz/pybugz-0.13-r1.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+
+PYTHON_COMPAT=( python3_{8..9} )
 PYTHON_REQ_USE="readline(+)"
 
 if [ "${PV}" = "9999" ]; then
@@ -17,9 +18,9 @@ inherit bash-completion-r1 distutils-r1
 
 DESCRIPTION="Command line interface to (Gentoo) Bugzilla"
 HOMEPAGE="https://github.com/williamh/pybugz"
+
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="zsh-completion"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
@@ -28,8 +29,6 @@ python_install_all() {
 	distutils-r1_python_install_all
 	newbashcomp contrib/bash-completion bugz
 
-	if use zsh-completion ; then
-		insinto /usr/share/zsh/site-functions
-		newins contrib/zsh-completion _pybugz
-	fi
+	insinto /usr/share/zsh/site-functions
+	newins contrib/zsh-completion _pybugz
 }

diff --git a/www-client/pybugz/pybugz-9999.ebuild b/www-client/pybugz/pybugz-9999.ebuild
index 96ffebb7859..f95c65ea1b0 100644
--- a/www-client/pybugz/pybugz-9999.ebuild
+++ b/www-client/pybugz/pybugz-9999.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+
+PYTHON_COMPAT=( python3_{8..9} )
 PYTHON_REQ_USE="readline(+)"
 
 if [ "${PV}" = "9999" ]; then
@@ -17,9 +18,9 @@ inherit bash-completion-r1 distutils-r1
 
 DESCRIPTION="Command line interface to (Gentoo) Bugzilla"
 HOMEPAGE="https://github.com/williamh/pybugz"
+
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="zsh-completion"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
@@ -28,8 +29,6 @@ python_install_all() {
 	distutils-r1_python_install_all
 	newbashcomp contrib/bash-completion bugz
 
-	if use zsh-completion ; then
-		insinto /usr/share/zsh/site-functions
-		newins contrib/zsh-completion _pybugz
-	fi
+	insinto /usr/share/zsh/site-functions
+	newins contrib/zsh-completion _pybugz
 }


             reply	other threads:[~2021-07-31  0:18 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31  0:18 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-09 14:50 [gentoo-commits] repo/gentoo:master commit in: www-client/pybugz/ Michał Górny
2024-05-28 17:01 Sam James
2024-03-01 16:44 Arthur Zamarin
2024-02-29 19:15 Arthur Zamarin
2024-02-15 17:53 William Hubbs
2022-12-17  6:40 WANG Xuerui
2022-12-17  6:40 WANG Xuerui
2022-09-22 21:01 William Hubbs
2022-09-22 20:53 William Hubbs
2022-07-28  8:28 Sam James
2022-06-01  2:46 Sam James
2022-06-01  2:45 Sam James
2022-04-17 19:49 Alexey Shvetsov
2021-09-27 22:05 Marek Szuba
2021-01-06 11:37 Fabian Groffen
2020-12-27 18:22 Fabian Groffen
2020-09-15 11:03 Pacho Ramos
2020-07-04 21:55 Mart Raudsepp
2020-06-06 20:22 William Hubbs
2020-06-06 18:09 Alexey Shvetsov
2020-05-12 13:14 Agostino Sarubbo
2019-06-05 13:39 Agostino Sarubbo
2018-12-27 23:03 William Hubbs
2018-10-21  9:18 Pacho Ramos
2017-08-09 18:08 Alexey Shvetsov
2017-07-30  9:23 Michał Górny
2017-01-01 19:25 William Hubbs
2016-11-02 16:54 William Hubbs
2016-11-02 16:54 William Hubbs
2016-05-21 15:17 William Hubbs
2016-03-26 14:16 Agostino Sarubbo
2016-03-19 11:35 Agostino Sarubbo
2016-03-17 10:50 Agostino Sarubbo
2016-03-16 11:51 Agostino Sarubbo
2016-03-16 11:00 Agostino Sarubbo
2016-03-16 10:58 Agostino Sarubbo
2016-03-04  2:21 Stephen Klimaszewski
2016-02-22 17:52 William Hubbs
2016-02-21 22:33 William Hubbs
2015-10-20 19:59 William Hubbs
2015-09-18 13:36 William Hubbs

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=1627690582.c93604372487864d93da1ecff1b51ed4852a7825.sam@gentoo \
    --to=sam@gentoo.org \
    --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