commit: e9ac0b66c0158ecfe6c0f142e5afc4c38c8b9e46 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue Mar 24 12:08:17 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Mar 24 12:08:17 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=e9ac0b66
ebuild-writing/file-format: Move snapshots and live ebuilds into subsection. Move paragraph about version commands and update it. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-writing/file-format/text.xml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/ebuild-writing/file-format/text.xml b/ebuild-writing/file-format/text.xml index e899f7b..16d857e 100644 --- a/ebuild-writing/file-format/text.xml +++ b/ebuild-writing/file-format/text.xml @@ -114,6 +114,18 @@ of snapshots, see below). Overall, this gives us a filename like <c>libfoo-1.2.5b_pre5-r2.ebuild</c>. </p> +<p> +The <uri link ="::ebuild-writing/variables/#Version and Name Formatting Issues"> +EAPI 7 version commands</uri> may be used to manipulate and extract +ebuild version components. +</p> + +</body> + +<subsection> +<title>Snapshots and live ebuilds</title> +<body> + <p> When packaging a snapshot of a source repository, there are two commonly used formats. The first treats the snapshot as a patch to the previous version, and so the ebuild version is in the format @@ -128,14 +140,8 @@ The policy for so-called <e>live</e> ebuilds is to use <c>9999</c> as the version (or as the last version component). </p> -<p> -The -<uri link="::eclass-reference/eapi7-ver.eclass"> -eapi7-ver.eclass</uri> may be used to manipulate and extract ebuild -version components. -</p> - </body> +</subsection> </section> <section>