From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1156794-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7305F138350 for <garchives@archives.gentoo.org>; Sat, 28 Mar 2020 14:47:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 997ECE0D9A; Sat, 28 Mar 2020 14:47:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7BBF3E0D9A for <gentoo-commits@lists.gentoo.org>; Sat, 28 Mar 2020 14:47:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23A9C34F920 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Mar 2020 14:47:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A694B186 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Mar 2020 14:47:16 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1585051697.e9ac0b66c0158ecfe6c0f142e5afc4c38c8b9e46.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/file-format/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/file-format/text.xml X-VCS-Directories: ebuild-writing/file-format/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: e9ac0b66c0158ecfe6c0f142e5afc4c38c8b9e46 X-VCS-Branch: master Date: Sat, 28 Mar 2020 14:47:16 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b3bdbdce-d64d-4dbe-8a6a-c4356dcdc3b4 X-Archives-Hash: 108742d887c334ece86d1914ada6be95 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>