public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Göktürk Yüksek" <gokturk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/devmanual:master commit in: general-concepts/virtuals/
Date: Tue, 13 Feb 2018 16:46:10 +0000 (UTC)	[thread overview]
Message-ID: <1518540187.baa6f758e2f4f21b44b5db92bdba78d8c4b48021.gokturk@gentoo> (raw)

commit:     baa6f758e2f4f21b44b5db92bdba78d8c4b48021
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 22:57:47 2018 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 16:43:07 2018 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=baa6f758

general-concepts/virtuals: Explain how keywording works on virtuals

 general-concepts/virtuals/text.xml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/general-concepts/virtuals/text.xml b/general-concepts/virtuals/text.xml
index 5ba9ea5..4809394 100644
--- a/general-concepts/virtuals/text.xml
+++ b/general-concepts/virtuals/text.xml
@@ -42,5 +42,33 @@ from the Gentoo repository.
 </note>
 </body>
 
+<section>
+<title>KEYWORDS in virtual packages</title>
+
+<body>
+<p>
+Since virtual packages do not install any files, they do not follow the regular
+arch testing procedure. Instead, the developer can immediately set
+the <c>KEYWORDS</c> of a virtual to the union of <c>KEYWORDS</c> of its
+providers. In particular, if a new virtual is created for a stable package,
+the virtual is committed straight to stable.
+</p>
+
+<p>
+For example, if you have two packages: <c>dev-libs/liblinux</c> with
+<c>KEYWORDS="amd64 ~x86"</c> and <c>dev-libs/libbsd</c> with
+<c>KEYWORDS="~amd64-fbsd ~x86-fbsd"</c>, the resulting virtual will
+have:
+</p>
+
+<codesample lang="ebuild">
+KEYWORDS="amd64 ~x86 ~amd64-fbsd ~x86-fbsd"
+
+RDEPEND="|| ( dev-libs/liblinux dev-libs/libbsd )"
+</codesample>
+</body>
+
+</section>
+
 </chapter>
 </guide>


             reply	other threads:[~2018-02-13 16:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-13 16:46 Göktürk Yüksek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-09  4:24 [gentoo-commits] proj/devmanual:master commit in: general-concepts/virtuals/ Sam James
2021-03-22  6:48 Ulrich Müller
2020-03-11 13:43 Ulrich Müller
2018-02-13 16:47 Göktürk Yüksek
2018-02-13 16:46 Göktürk Yüksek
2013-09-26  7:41 Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518540187.baa6f758e2f4f21b44b5db92bdba78d8c4b48021.gokturk@gentoo \
    --to=gokturk@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox