1 |
commit: daf6441e2216a5e163b48d08fb36bb04577eecc1 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 1 07:14:24 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 1 08:41:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf6441e |
7 |
|
8 |
eclass/docs.eclass: invert (B)DEPEND if condition |
9 |
|
10 |
As suggested by Soap (Thank You!) |
11 |
|
12 |
Makes this part more future proof, and removes the |
13 |
"," that shouldn't have been there. |
14 |
|
15 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
16 |
|
17 |
eclass/docs.eclass | 2 +- |
18 |
1 file changed, 1 insertion(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/eclass/docs.eclass b/eclass/docs.eclass |
21 |
index f49c6aeab9d..684ab26919c 100644 |
22 |
--- a/eclass/docs.eclass |
23 |
+++ b/eclass/docs.eclass |
24 |
@@ -378,7 +378,7 @@ case ${DOCS_BUILDER} in |
25 |
;; |
26 |
esac |
27 |
|
28 |
-if [[ ${EAPI} == [7,8] ]]; then |
29 |
+if [[ ${EAPI} != 6 ]]; then |
30 |
BDEPEND+=" doc? ( ${DOCS_DEPEND} )" |
31 |
else |
32 |
DEPEND+=" doc? ( ${DOCS_DEPEND} )" |