From baa6f758e2f4f21b44b5db92bdba78d8c4b48021 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 12 Jan 2018 23:57:47 +0100 Subject: 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. +
+KEYWORDS in virtual packages + + +

+Since virtual packages do not install any files, they do not follow the regular +arch testing procedure. Instead, the developer can immediately set +the KEYWORDS of a virtual to the union of KEYWORDS of its +providers. In particular, if a new virtual is created for a stable package, +the virtual is committed straight to stable. +

+ +

+For example, if you have two packages: dev-libs/liblinux with +KEYWORDS="amd64 ~x86" and dev-libs/libbsd with +KEYWORDS="~amd64-fbsd ~x86-fbsd", the resulting virtual will +have: +

+ + +KEYWORDS="amd64 ~x86 ~amd64-fbsd ~x86-fbsd" + +RDEPEND="|| ( dev-libs/liblinux dev-libs/libbsd )" + + + +
+ -- cgit v1.2.3-65-gdbad