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 9838E1384B4 for ; Sun, 8 Nov 2015 19:37:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03D3621C005; Sun, 8 Nov 2015 19:36:57 +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 97C9BE085B for ; Sun, 8 Nov 2015 19:36:56 +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 C0B5434068A for ; Sun, 8 Nov 2015 19:36:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC76D22CD for ; Sun, 8 Nov 2015 19:36:52 +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: <1447010960.c399c49b71762ed969e29146f5f85d071905296d.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: c399c49b71762ed969e29146f5f85d071905296d X-VCS-Branch: eapi-6 Date: Sun, 8 Nov 2015 19:36:52 +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: 9ad343c0-eaa0-463c-bbb3-dfece7c2a480 X-Archives-Hash: 1b6b35775512c27eb4cf7bb2c5033771 commit: c399c49b71762ed969e29146f5f85d071905296d Author: Ulrich Müller gentoo org> AuthorDate: Fri Oct 30 00:37:00 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Nov 8 19:29:20 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=c399c49b 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 994e4c6..2266660 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}