Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/pybugz/
Date: Sat, 31 Jul 2021 00:18:39
Message-Id: 1627690582.c93604372487864d93da1ecff1b51ed4852a7825.sam@gentoo
1 commit: c93604372487864d93da1ecff1b51ed4852a7825
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 25 03:04:06 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 31 00:16:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9360437
7
8 www-client/pybugz: [QA] unconditionally install completion files
9
10 QA policy [0] says that we don't conditionalise installation of
11 small files. It's a wasteful rebuild and inconsistent across packages
12 for when users desire completions to be available.
13
14 [0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 .../pybugz/{pybugz-0.13.ebuild => pybugz-0.13-r1.ebuild} | 11 +++++------
18 www-client/pybugz/pybugz-9999.ebuild | 11 +++++------
19 2 files changed, 10 insertions(+), 12 deletions(-)
20
21 diff --git a/www-client/pybugz/pybugz-0.13.ebuild b/www-client/pybugz/pybugz-0.13-r1.ebuild
22 similarity index 83%
23 rename from www-client/pybugz/pybugz-0.13.ebuild
24 rename to www-client/pybugz/pybugz-0.13-r1.ebuild
25 index 263a9fda68c..bdd2da64a75 100644
26 --- a/www-client/pybugz/pybugz-0.13.ebuild
27 +++ b/www-client/pybugz/pybugz-0.13-r1.ebuild
28 @@ -2,7 +2,8 @@
29 # Distributed under the terms of the GNU General Public License v2
30
31 EAPI=7
32 -PYTHON_COMPAT=( python3_{7..9} )
33 +
34 +PYTHON_COMPAT=( python3_{8..9} )
35 PYTHON_REQ_USE="readline(+)"
36
37 if [ "${PV}" = "9999" ]; then
38 @@ -17,9 +18,9 @@ inherit bash-completion-r1 distutils-r1
39
40 DESCRIPTION="Command line interface to (Gentoo) Bugzilla"
41 HOMEPAGE="https://github.com/williamh/pybugz"
42 +
43 LICENSE="GPL-2"
44 SLOT="0"
45 -IUSE="zsh-completion"
46
47 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
48 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
49 @@ -28,8 +29,6 @@ python_install_all() {
50 distutils-r1_python_install_all
51 newbashcomp contrib/bash-completion bugz
52
53 - if use zsh-completion ; then
54 - insinto /usr/share/zsh/site-functions
55 - newins contrib/zsh-completion _pybugz
56 - fi
57 + insinto /usr/share/zsh/site-functions
58 + newins contrib/zsh-completion _pybugz
59 }
60
61 diff --git a/www-client/pybugz/pybugz-9999.ebuild b/www-client/pybugz/pybugz-9999.ebuild
62 index 96ffebb7859..f95c65ea1b0 100644
63 --- a/www-client/pybugz/pybugz-9999.ebuild
64 +++ b/www-client/pybugz/pybugz-9999.ebuild
65 @@ -2,7 +2,8 @@
66 # Distributed under the terms of the GNU General Public License v2
67
68 EAPI=7
69 -PYTHON_COMPAT=( python3_{7..9} )
70 +
71 +PYTHON_COMPAT=( python3_{8..9} )
72 PYTHON_REQ_USE="readline(+)"
73
74 if [ "${PV}" = "9999" ]; then
75 @@ -17,9 +18,9 @@ inherit bash-completion-r1 distutils-r1
76
77 DESCRIPTION="Command line interface to (Gentoo) Bugzilla"
78 HOMEPAGE="https://github.com/williamh/pybugz"
79 +
80 LICENSE="GPL-2"
81 SLOT="0"
82 -IUSE="zsh-completion"
83
84 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
85 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
86 @@ -28,8 +29,6 @@ python_install_all() {
87 distutils-r1_python_install_all
88 newbashcomp contrib/bash-completion bugz
89
90 - if use zsh-completion ; then
91 - insinto /usr/share/zsh/site-functions
92 - newins contrib/zsh-completion _pybugz
93 - fi
94 + insinto /usr/share/zsh/site-functions
95 + newins contrib/zsh-completion _pybugz
96 }