aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-21 05:06:12 +0000
committerUlrich Müller <ulm@gentoo.org>2021-03-30 09:20:41 +0200
commit206a502dbb146687f60b3cd171ac98aea6bfabe6 (patch)
tree17fba6cfe4eac7d8d164a4acd6cf39088d68c846
parentebuild-writing/variables: emphasise avoiding PDEPEND (diff)
downloaddevmanual-206a502d.tar.gz
devmanual-206a502d.tar.bz2
devmanual-206a502d.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>
-rw-r--r--ebuild-writing/variables/text.xml18
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>