From b4ed2cc271b3e81049227d9fb25538dfed981fc9 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Fri, 15 May 2015 10:33:47 +0200 Subject: 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. --- ebuild-writing/file-format/text.xml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ebuild-writing/file-format') 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 @@ -32,6 +32,11 @@ character and with the addition of the plus character to keep GTK+ and friends happy. +

+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. +

+

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 -- cgit v1.2.3-65-gdbad