1 |
commit: b04be9138de567f84dba361311d83a3c2bb96bc5 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 25 03:04:15 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 00:17:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b04be913 |
7 |
|
8 |
games-fps/chocolate-doom: [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 |
...olate-doom-3.0.1.ebuild => chocolate-doom-3.0.1-r1.ebuild} | 11 ++++++----- |
18 |
1 file changed, 6 insertions(+), 5 deletions(-) |
19 |
|
20 |
diff --git a/games-fps/chocolate-doom/chocolate-doom-3.0.1.ebuild b/games-fps/chocolate-doom/chocolate-doom-3.0.1-r1.ebuild |
21 |
similarity index 92% |
22 |
rename from games-fps/chocolate-doom/chocolate-doom-3.0.1.ebuild |
23 |
rename to games-fps/chocolate-doom/chocolate-doom-3.0.1-r1.ebuild |
24 |
index 13647f2153f..02a5356a9c3 100644 |
25 |
--- a/games-fps/chocolate-doom/chocolate-doom-3.0.1.ebuild |
26 |
+++ b/games-fps/chocolate-doom/chocolate-doom-3.0.1-r1.ebuild |
27 |
@@ -1,9 +1,9 @@ |
28 |
-# Copyright 1999-2020 Gentoo Authors |
29 |
+# Copyright 1999-2021 Gentoo Authors |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
|
32 |
EAPI=7 |
33 |
|
34 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
35 |
+PYTHON_COMPAT=( python3_{8,9} ) |
36 |
|
37 |
inherit autotools prefix python-any-r1 xdg |
38 |
|
39 |
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz |
40 |
LICENSE="BSD GPL-2+" |
41 |
SLOT="0" |
42 |
KEYWORDS="~amd64 ~x86" |
43 |
-IUSE="bash-completion doc libsamplerate +midi png vorbis" |
44 |
+IUSE="doc libsamplerate +midi png vorbis" |
45 |
|
46 |
DEPEND=" |
47 |
media-libs/libsdl2[video] |
48 |
@@ -24,8 +24,9 @@ DEPEND=" |
49 |
libsamplerate? ( media-libs/libsamplerate ) |
50 |
png? ( media-libs/libpng:= )" |
51 |
RDEPEND="${DEPEND}" |
52 |
+# ${PYTHON_DEPS} for bash-completion |
53 |
BDEPEND=" |
54 |
- bash-completion? ( ${PYTHON_DEPS} ) |
55 |
+ ${PYTHON_DEPS} |
56 |
doc? ( ${PYTHON_DEPS} )" |
57 |
|
58 |
S="${WORKDIR}/${PN}-${P}" |
59 |
@@ -69,7 +70,7 @@ src_prepare() { |
60 |
|
61 |
src_configure() { |
62 |
econf \ |
63 |
- $(use_enable bash-completion) \ |
64 |
+ --enable-bash-completion \ |
65 |
$(use_enable doc) \ |
66 |
--disable-fonts \ |
67 |
--disable-icons \ |