commit:     b8410da05409481b73c1b1d38e56d134afecf041
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 21 07:15:45 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Apr 21 08:16:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8410da0

skel.metadata.xml: indent, add content to longdescription

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 skel.metadata.xml | 53 ++++++++++++++++++++++++++++++-----------------------
 1 file changed, 30 insertions(+), 23 deletions(-)

diff --git a/skel.metadata.xml b/skel.metadata.xml
index 42444c65587..d7b7a769652 100644
--- a/skel.metadata.xml
+++ b/skel.metadata.xml
@@ -1,31 +1,38 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <!--
-This is the example metadata file.
-The root element of this file is <pkgmetadata>. Within this element a
-number of subelements are allowed, the most common being maintainer.
+  This is the example metadata file.
+  The root element of this file is <pkgmetadata>. Within this element a
+  number of subelements are allowed, the most common being maintainer.
 
-For a full description look at:
-https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
+  For a full description look at:
+  https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
 
-Before committing, please remove the comments from this file. They are
-not relevant for general metadata.xml files.
+  Before committing, please remove the comments from this file. They are
+  not relevant for general metadata.xml files.
 -->
 <pkgmetadata>
-<maintainer type="person">
-       <email>[email protected]</email>
-       <description>Primary maintainer</description>
-</maintainer>
-<maintainer type="project">
-       <email>[email protected]</email>
-       <name>Gentoo Example Project</name>
-</maintainer>
-<longdescription>Long description of the package</longdescription>
-<use>
-       <flag name="aspell">Uses <pkg>app-text/aspell</pkg> for spell checking.
-               Requires an installed dictionary from 
<cat>app-dicts</cat></flag>
-       <flag name="flag">Description of how USE='flag' affects this 
package</flag>
-       <flag name="userland_GNU">Description of how USERLAND='GNU' affects this
-               package</flag>
-</use>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <description>Primary maintainer</description>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Gentoo Example Project</name>
+  </maintainer>
+  <longdescription>
+    Long description of the package. Note that long description should be long.
+    This section doesn't have to exist, if it doesn't differ from ebuild's
+    DESCRIPTION.
+
+    Using either spaces or tabs to indent is allowed. However mixing both in
+    a single metadata.xml file is not.
+  </longdescription>
+  <use>
+    <flag name="aspell">Uses <pkg>app-text/aspell</pkg> for spell checking.
+      Requires an installed dictionary from <cat>app-dicts</cat></flag>
+    <flag name="flag">Description of how USE='flag' affects this package</flag>
+    <flag name="userland_GNU">Description of how USERLAND='GNU' affects this
+      package</flag>
+  </use>
 </pkgmetadata>

Reply via email to