1 |
commit: 9bbf459d0797873313b3c8e269943f3f7caaffdd |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 05:52:50 2016 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 05:56:10 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=9bbf459d |
7 |
|
8 |
function-reference/query-functions: enhance has_version with a cross-ref |
9 |
|
10 |
Add a link to "version specifiers" in the dependencies section for |
11 |
has_version. |
12 |
|
13 |
function-reference/query-functions/text.xml | 4 +++- |
14 |
1 file changed, 3 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/function-reference/query-functions/text.xml b/function-reference/query-functions/text.xml |
17 |
index a9f898d..66e595f 100644 |
18 |
--- a/function-reference/query-functions/text.xml |
19 |
+++ b/function-reference/query-functions/text.xml |
20 |
@@ -105,7 +105,9 @@ query variables and similar state. |
21 |
<c>has_version pkg[flag]</c> |
22 |
</ti> |
23 |
<ti> |
24 |
- True if <c>pkg</c> (can include version specifiers and |
25 |
+ True if <c>pkg</c> (can include |
26 |
+ <uri link="::general-concepts/dependencies#version specifiers"/> |
27 |
+ and |
28 |
<uri link="::general-concepts/dependencies#built with use dependencies"/>) |
29 |
is installed. Example: <c>has_version |
30 |
"=app-editors/nano-2.5.3[nls,spell]"</c>. |