From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DE19913888F for ; Fri, 30 Oct 2015 16:01:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 311E721C00E; Fri, 30 Oct 2015 16:01:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B951D21C00E for ; Fri, 30 Oct 2015 16:01:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A59E8340914 for ; Fri, 30 Oct 2015 16:01:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C1EF1B1A for ; Fri, 30 Oct 2015 16:01:40 +0000 (UTC) From: "Ulrich Müller" 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" Message-ID: <1446191796.cad46e884d84bacbd7763ea7cec69b59f5031acb.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-6 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: cad46e884d84bacbd7763ea7cec69b59f5031acb X-VCS-Branch: eapi-6 Date: Fri, 30 Oct 2015 16:01:40 +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-Archives-Salt: d9d19d20-ebf8-47ab-933f-c8aced120e70 X-Archives-Hash: af378b5de5a268a25b6c938d7bf701e5 commit: cad46e884d84bacbd7763ea7cec69b59f5031acb Author: Ulrich Müller gentoo org> AuthorDate: Fri Oct 30 00:37:00 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Oct 30 07:56:36 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=cad46e88 EAPI 6: Specify return status for eapply_user. pkg-mgr-commands.tex | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 51f6ebf..b9d53bd 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -157,10 +157,12 @@ Ebuilds must not run any of these commands once the current phase function has r \item[eapply\_user] \featurelabel{eapply-user} Takes no arguments. Package managers supporting it apply user-provided patches to the source tree in the current working directory. Exact behaviour is implementation defined and beyond the scope of this specification. Package managers not - supporting it must implement the command as a no-op. Only available in EAPIs listed in - table~\ref{tab:patch-commands} as supporting \t{eapply\_user}. In EAPIs where it is supported, - \t{eapply\_user} must be called once in the \t{src\_prepare} phase; for any subsequent calls - the command will do nothing. + supporting it must implement the command as a no-op. Returns shell true (0) if patches applied + successfully, or if no patches were provided. Otherwise, aborts the build process, unless run + using \t{nonfatal}, in which case it returns non-zero exit status. Only available in EAPIs + listed in table~\ref{tab:patch-commands} as supporting \t{eapply\_user}. In EAPIs where it is + supported, \t{eapply\_user} must be called once in the \t{src\_prepare} phase; for any + subsequent calls, the command will do nothing and return~0. \end{description} \begin{algorithm}