commit: d19d95690f821f1a867f8e2095835056e988618f Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Dec 9 04:21:47 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Dec 9 04:24:30 2021 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d19d9569
general-concepts/virtuals: use EAPI 8 in examples Signed-off-by: Sam James <sam <AT> gentoo.org> general-concepts/virtuals/text.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/general-concepts/virtuals/text.xml b/general-concepts/virtuals/text.xml index d45c1ff..f6cf198 100644 --- a/general-concepts/virtuals/text.xml +++ b/general-concepts/virtuals/text.xml @@ -24,11 +24,11 @@ An example of a virtual: </p> <codesample lang="ebuild"> -EAPI=7 +EAPI=8 DESCRIPTION="Virtual for C++ tr1 <type_traits>" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~x64-macos" RDEPEND="|| ( >=sys-devel/gcc-4.1 dev-libs/boost )" </codesample> @@ -95,7 +95,7 @@ For example, a virtual for different packages providing ABI-compatible </p> <codesample lang="ebuild"> -EAPI=6 +EAPI=8 DESCRIPTION="Virtual for libfoo.so.1" SLOT="0/1" @@ -124,10 +124,11 @@ would contain: </p> <codesample lang="ebuild"> -EAPI=6 +EAPI=8 DESCRIPTION="Virtual for libfoo.so.0" SLOT="0/0" + RDEPEND="dev-libs/libfoo:0/0" </codesample> @@ -136,10 +137,11 @@ while <c>virtual/libfoo-1.ebuild</c> would contain: </p> <codesample lang="ebuild"> -EAPI=6 +EAPI=8 DESCRIPTION="Virtual for libfoo.so.1" SLOT="0/1" + RDEPEND="dev-libs/newfoo:0/1" </codesample>