Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/uftrace/
Date: Sat, 31 Jul 2021 00:18:42
Message-Id: 1627690626.f6cfe4cff375e3baf2bbfe90e15b7046dab9e967.sam@gentoo
1 commit: f6cfe4cff375e3baf2bbfe90e15b7046dab9e967
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 25 03:04:11 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 31 00:17:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6cfe4cf
7
8 dev-util/uftrace: [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 dev-util/uftrace/{uftrace-0.10.ebuild => uftrace-0.10-r1.ebuild} | 5 +++--
18 1 file changed, 3 insertions(+), 2 deletions(-)
19
20 diff --git a/dev-util/uftrace/uftrace-0.10.ebuild b/dev-util/uftrace/uftrace-0.10-r1.ebuild
21 similarity index 91%
22 rename from dev-util/uftrace/uftrace-0.10.ebuild
23 rename to dev-util/uftrace/uftrace-0.10-r1.ebuild
24 index 92c30228011..2b39cc14464 100644
25 --- a/dev-util/uftrace/uftrace-0.10.ebuild
26 +++ b/dev-util/uftrace/uftrace-0.10-r1.ebuild
27 @@ -14,7 +14,7 @@ SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.g
28 LICENSE="GPL-2"
29 SLOT="0"
30 KEYWORDS="~amd64 ~arm64"
31 -IUSE="bash-completion capstone lua"
32 +IUSE="capstone lua"
33
34 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
35
36 @@ -57,6 +57,7 @@ src_compile() {
37
38 src_install() {
39 default
40 +
41 dodoc doc/*.{md,gif,png}
42 - use bash-completion && newbashcomp misc/bash-completion.sh uftrace
43 + newbashcomp misc/bash-completion.sh uftrace
44 }