aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-05-15 10:33:47 +0200
committerUlrich Müller <ulm@gentoo.org>2015-05-15 10:33:47 +0200
commitb4ed2cc271b3e81049227d9fb25538dfed981fc9 (patch)
tree73c6c4515db54c9f23e12dd2b52366b2e28767d3 /ebuild-writing/file-format
parentAdd item about allowed characters in filenames. (diff)
downloaddevmanual-b4ed2cc271b3e81049227d9fb25538dfed981fc9.tar.gz
devmanual-b4ed2cc271b3e81049227d9fb25538dfed981fc9.tar.bz2
devmanual-b4ed2cc271b3e81049227d9fb25538dfed981fc9.zip
Update ebuild naming rules from PMS.
PMS doesn't allow package names to begin with a hyphen or a plus sign, and also has some restrictions on how these names can end. Apply the same rules to leading characters of other files. This reflects the current status of the portage tree.
Diffstat (limited to 'ebuild-writing/file-format')
-rw-r--r--ebuild-writing/file-format/text.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ebuild-writing/file-format/text.xml b/ebuild-writing/file-format/text.xml
index 1e1f59c..6ab22a2 100644
--- a/ebuild-writing/file-format/text.xml
+++ b/ebuild-writing/file-format/text.xml
@@ -33,6 +33,11 @@ happy.
</note>
<p>
+The name must not begin with a hyphen or a plus sign, and must not end
+in a hyphen followed by anything that could be mistaken for a version.
+</p>
+
+<p>
The version section is more complicated. It consists of one or more numbers
separated by full stop (or period, or dot, or decimal point) characters (eg
<c>1.2.3</c>, <c>20050108</c>). The final number may have a single letter following it