diff options
author | 2021-03-21 05:06:12 +0000 | |
---|---|---|
committer | 2021-03-30 09:20:41 +0200 | |
commit | 206a502dbb146687f60b3cd171ac98aea6bfabe6 (patch) | |
tree | 17fba6cfe4eac7d8d164a4acd6cf39088d68c846 /ebuild-writing/variables/text.xml | |
parent | ebuild-writing/variables: emphasise avoiding PDEPEND (diff) | |
download | devmanual-206a502dbb146687f60b3cd171ac98aea6bfabe6.tar.gz devmanual-206a502dbb146687f60b3cd171ac98aea6bfabe6.tar.bz2 devmanual-206a502dbb146687f60b3cd171ac98aea6bfabe6.zip |
ebuild-writing/variables: mention PMS for acceptable RESTRICT values
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-writing/variables/text.xml')
-rw-r--r-- | ebuild-writing/variables/text.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml index ed62185..55cc3bd 100644 --- a/ebuild-writing/variables/text.xml +++ b/ebuild-writing/variables/text.xml @@ -525,6 +525,24 @@ GLEP 23</uri> for details. </section> <section> +<title>RESTRICT</title> +<body> + +<p> +While Portage may recognise several different <c>RESTRICT</c> tokens, it is +important that you do not rely on them existing. That is, you should ensure +your ebuild does not fail if those tokens are not exposed or given a different +name by another package manager. You can make use of Portage-provided +<c>RESTRICT</c> tokens, but do not fail hard without them. See +<uri link="https://projects.gentoo.org/pms/7/pms.html#x1-810008.2.8"> +PMS</uri> for the list of standardised <c>RESTRICT</c> tokens, or the above +table. +</p> + +</body> +</section> + +<section> <title>ROOT</title> <body> |