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 60F5213888F for ; Sun, 18 Oct 2015 11:24:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE9B721C03D; Sun, 18 Oct 2015 11:24:55 +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 47DCF21C03D for ; Sun, 18 Oct 2015 11:24:55 +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 01E77340680 for ; Sun, 18 Oct 2015 11:24:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71B3112A1 for ; Sun, 18 Oct 2015 11:24:50 +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: <1445167365.162221b90a9f99ad6b96e1161c6f0457b35de76a.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-6 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-cheatsheet.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 162221b90a9f99ad6b96e1161c6f0457b35de76a X-VCS-Branch: eapi-6 Date: Sun, 18 Oct 2015 11:24:50 +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: de17dfce-079b-437e-ba47-2d7544e24838 X-Archives-Hash: 5b660a2e75029af2d0512839d7eb4660 commit: 162221b90a9f99ad6b96e1161c6f0457b35de76a Author: Ulrich Müller gentoo org> AuthorDate: Sat Oct 17 08:52:01 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Oct 18 11:22:45 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=162221b9 Cheat sheet: Update for EAPI 6. eapi-cheatsheet.tex | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) diff --git a/eapi-cheatsheet.tex b/eapi-cheatsheet.tex index d15bb7d..fa4b326 100644 --- a/eapi-cheatsheet.tex +++ b/eapi-cheatsheet.tex @@ -15,7 +15,7 @@ \usepackage[scaled=.90]{helvet} \newcommand{\code}[1]{\texttt{#1}} % This should reflect the latest approved EAPI version -\newcommand{\version}{5.0} +\newcommand{\version}{6.0} \newcommand{\featureref}[1]{\textsc{#1} on page~\pageref{feat:#1}} \renewcommand{\familydefault}{\sfdefault} \urlstyle{sf} @@ -324,6 +324,81 @@ differences between these previous EAPIs. would be merged due to a stable keyword. See \featureref{stablemask}. \end{description} + +\section{EAPI 6} +\label{sec:cs:eapi6} +\subsection{Additions/Changes} +\label{sec:cs:eapi6-additions} +\begin{description} + \item[Bash version] Ebuilds can use features of Bash version 4.2 + (was 3.2 before). + See \featureref{bash-version}. + \item[\code{failglob}] The \code{failglob} option of Bash is set + in global scope, so that unintentional pattern expansion will be + caught as an error. + See \featureref{failglob}. + \item[\code{src\_prepare}] This phase function has a default now, + which applies patches from the \code{PATCHES} variable with the + new \code{eapply} command, and user-provided patches with + \code{eapply\_user}. + See \featureref{src-prepare-6}. + \item[\code{src\_install}] The default implementation uses the new + \code{einstalldocs} function for installing documentation. + See \featureref{src-install-6}. + \item[\code{unpack} changes] \code{unpack} has been extended: + \begin{description} + \item[Pathnames] Both absolute paths and paths relative to the + working directory are accepted as arguments. + See \featureref{unpack-absolute}. + \item[\code{.txz} files] Unpacking of \code{.txz} files is now + supported. + See \featureref{unpack-extensions}. + \item[Filename case] Character case of filename extensions is + ignored. + See \featureref{unpack-ignore-case}. + \end{description} + \item[\code{econf} changes] Options \code{-{}-docdir} and + \code{-{}-htmldir} are passed to \code{configure}, in addition to + the existing options. + See \featureref{econf-options}. + \item[\code{nonfatal die}] When \code{die} or \code{assert} are + called under the \code{nonfatal} command and with the \code{-n} + option, they will not abort the build process but return with an + error. + See \featureref{nonfatal-die}. + \item[\code{eapply}] The \code{eapply} command is a simplified + substitute for \code{epatch}, implemented in the package manager. + The patches from its file or directory arguments are applied using + \code{patch -p1}. + See \featureref{eapply}. + \item[\code{eapply\_user}] The \code{eapply\_user} command permits + the package manager to apply user-provided patches. It should be + called from every \code{src\_prepare} function. + See \featureref{eapply-user}. + \item[\code{einstalldocs}] The \code{einstalldocs} function will + install the files specified by the \code{DOCS} variable (or a + default set of files if \code{DOCS} is unset) and by the + \code{HTML\_DOCS} variable. + See \featureref{einstalldocs}. + \item[\code{in\_iuse}] The \code{in\_iuse} function returns + true if the USE flag given as its argument is available in the + ebuild for USE queries. + See \featureref{in-iuse}. + \item[\code{get\_libdir}] The \code{get\_libdir} function outputs + the \code{lib*} directory basename suitable for the current ABI. + See \featureref{get-libdir}. + \item[\code{package*} and \code{use*} in profiles] Instead of + regular files, these may optionally be directories containing + files of the named type. + See \featureref{profile-file-dirs}. +\end{description} +\subsection{Removals/Bans} +\label{sec:cs:eapi6-removalsbans} +\begin{description} + \item[\code{einstall}] No longer allowed. Use \code{emake install} + as replacement. + See \featureref{banned-commands}. +\end{description} \end{document} % vim: set filetype=tex fileencoding=utf8 et tw=70 spell spelllang=en :