public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] EAPI Cheat Sheet for review
@ 2015-10-17 19:52 Ulrich Mueller
  2015-10-19  7:51 ` Ultrabug
  2015-10-19 10:36 ` Aaron Bauman
  0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Mueller @ 2015-10-17 19:52 UTC (permalink / raw
  To: gentoo-dev; +Cc: pms-bugs

[-- Attachment #1: Type: text/plain, Size: 4914 bytes --]

In addition to the EAPI 6 specification, a draft of the "EAPI Cheat
Sheet" is ready.

http://dev.gentoo.org/~ulm/pms/6-draft/eapi-cheatsheet.pdf
http://dev.gentoo.org/~ulm/pms/6-draft/eapi-cheatsheet-nocombine.pdf

The second version doesn't combine the leaflet pages and may be better
suited for online viewing. EAPI 6 is on pages 5 and 6. I also include
the patch for the LaTeX source below.

Please review.

Ulrich


From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@gentoo.org>
Date: Sat, 17 Oct 2015 10:52:01 +0200
Subject: [PATCH] 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 :
-- 
2.6.2

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] EAPI Cheat Sheet for review
  2015-10-17 19:52 [gentoo-dev] EAPI Cheat Sheet for review Ulrich Mueller
@ 2015-10-19  7:51 ` Ultrabug
  2015-10-19 10:36 ` Aaron Bauman
  1 sibling, 0 replies; 3+ messages in thread
From: Ultrabug @ 2015-10-19  7:51 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 17/10/2015 21:52, Ulrich Mueller wrote:
> In addition to the EAPI 6 specification, a draft of the "EAPI
> Cheat Sheet" is ready.
> 

Great idea, I love it!

Thanks for your time on this

> http://dev.gentoo.org/~ulm/pms/6-draft/eapi-cheatsheet.pdf 
> http://dev.gentoo.org/~ulm/pms/6-draft/eapi-cheatsheet-nocombine.pdf
>
>  The second version doesn't combine the leaflet pages and may be
> better suited for online viewing. EAPI 6 is on pages 5 and 6. I
> also include the patch for the LaTeX source below.
> 
> Please review.
> 
> Ulrich
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREIAAYFAlYkoOsACgkQKiQSS7ZY+hNzHwD/UMKVsaD9KqICyvZyAroyW4tm
AD4baO3cElSbhTGdCQsA/3AMYLTorx4XwOsI2B+Q6IwzcEKeM7SPTTkEBp0UzsCW
=XzX5
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] EAPI Cheat Sheet for review
  2015-10-17 19:52 [gentoo-dev] EAPI Cheat Sheet for review Ulrich Mueller
  2015-10-19  7:51 ` Ultrabug
@ 2015-10-19 10:36 ` Aaron Bauman
  1 sibling, 0 replies; 3+ messages in thread
From: Aaron Bauman @ 2015-10-19 10:36 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

On Saturday, October 17, 2015 09:52:25 PM Ulrich Mueller wrote:
> In addition to the EAPI 6 specification, a draft of the "EAPI Cheat
> Sheet" is ready.

Awesome!  Thank you.

> http://dev.gentoo.org/~ulm/pms/6-draft/eapi-cheatsheet.pdf
> http://dev.gentoo.org/~ulm/pms/6-draft/eapi-cheatsheet-nocombine.pdf
> 
> The second version doesn't combine the leaflet pages and may be better
> suited for online viewing. EAPI 6 is on pages 5 and 6. I also include
> the patch for the LaTeX source below.
> 
> Please review.
> 
> Ulrich
> 

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-19 10:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-17 19:52 [gentoo-dev] EAPI Cheat Sheet for review Ulrich Mueller
2015-10-19  7:51 ` Ultrabug
2015-10-19 10:36 ` Aaron Bauman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox