From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6688D158095 for ; Mon, 18 Jul 2022 20:22:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90E4AE0DED; Mon, 18 Jul 2022 20:22:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DF56E0DED for ; Mon, 18 Jul 2022 20:22:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52637340F38 for ; Mon, 18 Jul 2022 20:22:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E632500 for ; Mon, 18 Jul 2022 20:22:07 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1658175642.8218c39e5d6472a368b53e9e4f27ea5ef7eecd84.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: man/ X-VCS-Repository: proj/portage X-VCS-Files: man/ebuild.5 X-VCS-Directories: man/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8218c39e5d6472a368b53e9e4f27ea5ef7eecd84 X-VCS-Branch: master Date: Mon, 18 Jul 2022 20:22:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c55ce57b-6833-493c-b5c9-461aae7ed1c7 X-Archives-Hash: 2885d93c3ed150b795423de5b6012da3 commit: 8218c39e5d6472a368b53e9e4f27ea5ef7eecd84 Author: Sam James gentoo org> AuthorDate: Mon Jul 18 20:20:42 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jul 18 20:20:42 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=8218c39e ebuild.5: update examples a bit Signed-off-by: Sam James gentoo.org> man/ebuild.5 | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/man/ebuild.5 b/man/ebuild.5 index 18547122e..91660660a 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -257,7 +257,7 @@ multiple Atoms and be nested to an infinite depth. To include the jpeg library when the user has jpeg in \fBUSE\fR, simply use the following syntax: -jpeg? ( media\-libs/jpeg ) +jpeg? ( media\-libs/libjpeg-turbo ) .TP .B !usevar? ( Atom ) If you want to include a package only if the user does not have a certain @@ -271,11 +271,11 @@ support for a feature and have it enabled by default. .B usevar? ( Atom if true ) !usevar? ( Atom if false ) For functionality like the tertiary operator found in C you must use two statements, one normal and one inverted. If a package uses -GTK2 or GTK1, but not both, then you can handle that like this: +GTK3 or GTK2, but not both, then you can handle that like this: -gtk2? ( =x11\-libs/gtk+\-2* ) !gtk2? ( =x11\-libs/gtk+\-1* ) +gtk3? ( =x11\-libs/gtk+\-3* ) !gtk3? ( =x11\-libs/gtk+\-2* ) -That way the default is the superior GTK2 library. +That way the default is the superior GTK3 library. .TP .B || ( Atom Atom ... ) When a package can work with a few different packages but a virtual is not @@ -1574,11 +1574,10 @@ first parameter is \- (a hyphen). .SH "EXAMPLES" .DS .nf -# Copyright 1999\-2013 Gentoo Foundation +# Copyright 1999\-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI="5" +EAPI=8 inherit some_eclass another_eclass @@ -1588,11 +1587,9 @@ SRC_URI="ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.gz" LICENSE="GPL\-2" SLOT="0" -KEYWORDS="~x86" -IUSE="" +KEYWORDS="~amd64" -RDEPEND="" -DEPEND="nls? ( sys-devel/gettext )" +BDEPEND="nls? ( sys-devel/gettext )" src_configure() { econf \\