From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-844288-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8FB181384B4 for <garchives@archives.gentoo.org>; Thu, 5 Nov 2015 16:08:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D559CE0872; Thu, 5 Nov 2015 16:08:11 +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 5841CE0872 for <gentoo-commits@lists.gentoo.org>; Thu, 5 Nov 2015 16:08:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 779843403A3 for <gentoo-commits@lists.gentoo.org>; Thu, 5 Nov 2015 16:08:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A01D620FA for <gentoo-commits@lists.gentoo.org>; Thu, 5 Nov 2015 16:08:06 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> 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" <ulm@gentoo.org> Message-ID: <1446703445.d720e2511754b4dd51826b27a1c081391afde8e3.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-6 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-functions.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d720e2511754b4dd51826b27a1c081391afde8e3 X-VCS-Branch: eapi-6 Date: Thu, 5 Nov 2015 16:08:06 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 14525373-25b3-43df-9009-1be6cc2fb1f4 X-Archives-Hash: eb917442fda9e79bbe5ebb66ada0dc21 commit: d720e2511754b4dd51826b27a1c081391afde8e3 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu Nov 5 05:53:20 2015 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Nov 5 06:04:05 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=d720e251 fixup! EAPI 6 has a default src_prepare. ebuild-functions.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ebuild-functions.tex b/ebuild-functions.tex index bf16f9e..10560b2 100644 --- a/ebuild-functions.tex +++ b/ebuild-functions.tex @@ -131,6 +131,8 @@ section~\ref{sec:s-to-workdir-fallback}. 6, the default implementation used when the ebuild lacks the \t{src\_prepare} function shall behave as: +\begin{listing}[H] +\caption{src\_prepare, format~6} \label{lst:src-prepare-6} \begin{verbatim} src_prepare() { if declare -p PATCHES | grep -q "^declare -a "; then @@ -141,6 +143,7 @@ src_prepare() { eapply_user } \end{verbatim} +\end{listing} For other EAPIs supporting \t{src\_prepare}, the default implementation used when the ebuild lacks the \t{src\_prepare} function is a no-op.