summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2005-07-12 17:21:19 +0000
committerUlrich Müller <ulm@gentoo.org>2020-01-09 23:50:51 +0100
commitb5eb706b0d006535cb8e48b7a03177249a630dd0 (patch)
treebd1ad55b9d89bbe5b185210eb838759e4aa4923e /ebuild-writing/functions/pkg_nofetch/text.rst
downloaddevmanual-b5eb706b0d006535cb8e48b7a03177249a630dd0.tar.gz
devmanual-b5eb706b0d006535cb8e48b7a03177249a630dd0.tar.bz2
devmanual-b5eb706b0d006535cb8e48b7a03177249a630dd0.zip
reStructuredText source of the devmanual
Taken from ~sekretarz/public_html/devmanual.tar.bz on dev.gentoo.org and removed all generated HTML, PNG, and temporary files. Timestamp of oldest file: 2005-06-04 11:50:45 +0000 Timestamp of newest file: 2005-07-12 17:21:19 +0000 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'ebuild-writing/functions/pkg_nofetch/text.rst')
-rw-r--r--ebuild-writing/functions/pkg_nofetch/text.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/ebuild-writing/functions/pkg_nofetch/text.rst b/ebuild-writing/functions/pkg_nofetch/text.rst
new file mode 100644
index 0000000..41c5c99
--- /dev/null
+++ b/ebuild-writing/functions/pkg_nofetch/text.rst
@@ -0,0 +1,35 @@
+pkg_nofetch
+===========
+
++------------------+---------------------------------------------------+
+| **Function** | ``pkg_nofetch`` |
++------------------+---------------------------------------------------+
+| **Purpose** | Tell the user how to deal with fetch-restricted |
+| | packages. |
++------------------+---------------------------------------------------+
+| **Sandbox** | Enabled |
++------------------+---------------------------------------------------+
+| **Privilege** | root |
++------------------+---------------------------------------------------+
+| **Called for** | ebuild |
++------------------+---------------------------------------------------+
+
+Default ``pkg_nofetch``
+-----------------------
+
+.. CODESAMPLE pkg_nofetch-1.ebuild
+
+Example ``pkg_nofetch``
+-----------------------
+
+.. CODESAMPLE pkg_nofetch-2.ebuild
+
+Notes on ``pkg_nofetch``
+------------------------
+
+This function is only triggered for packages which have ``RESTRICT="fetch"``
+(see `Restricting Automatic Mirroring`_) set, and only if one or more components
+listed in ``SRC_URI`` are not already available in the ``distfiles`` directory.
+
+.. vim: set ft=glep tw=80 sw=4 et spell spelllang=en : ..
+