From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B263913835A for ; Sat, 5 Jun 2021 08:57:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF69E08C8; Sat, 5 Jun 2021 08:57:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F36CDE08CD for ; Sat, 5 Jun 2021 08:57:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB095340CB4 for ; Sat, 5 Jun 2021 08:57:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5868A7B6 for ; Sat, 5 Jun 2021 08:57:05 +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: <1622883343.d73d6d6a5b9bbff4ec3611b9d34a116c4be98a1f.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-8 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: d73d6d6a5b9bbff4ec3611b9d34a116c4be98a1f X-VCS-Branch: eapi-8 Date: Sat, 5 Jun 2021 08:57:05 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dca6a1db-c269-48c4-a701-3a8334f9d397 X-Archives-Hash: 8615751a879712215e402a0c97b59a11 commit: d73d6d6a5b9bbff4ec3611b9d34a116c4be98a1f Author: Ulrich Müller gentoo org> AuthorDate: Thu May 27 18:30:24 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Jun 5 08:55:43 2021 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=d73d6d6a Cheat sheet: Update for EAPI 8 Signed-off-by: Ulrich Müller gentoo.org> eapi-cheatsheet.tex | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/eapi-cheatsheet.tex b/eapi-cheatsheet.tex index 82602f2..451ab85 100644 --- a/eapi-cheatsheet.tex +++ b/eapi-cheatsheet.tex @@ -15,7 +15,7 @@ \usepackage[local]{gitinfo2} \newcommand{\code}[1]{\texttt{#1}} % This should reflect the latest approved EAPI version -\newcommand{\version}{7.0} +\newcommand{\version}{8.0} \newcommand{\featureref}[1]{\textsc{#1} on page~\pageref{feat:#1}} \renewcommand{\familydefault}{\sfdefault} \urlstyle{sf} @@ -517,6 +517,66 @@ differences between these previous EAPIs. used as replacement. See \featureref{banned-commands}. \end{description} + +\section{EAPI 8} +\label{sec:cs:eapi8} +\subsection{Additions/Changes} +\label{sec:cs:eapi8-additions} +\begin{description} + \item[\code{profiles/updates} directory] Arbitrary filenames + are now allowed, instead of strict naming by quarters + (like \code{2Q-2021}). See \featureref{updates-filenames}. + \item[Bash version] Ebuilds can use features of Bash version 5.0 + (was 4.2 before). See \featureref{bash-version}. + \item[Selective fetch/mirror restriction] In \code{SRC_URI}, + adding a \code{fetch+} or \code{mirror+} prefix to an individual + URI means that the file may be fetched or mirrored. This overrides + the corresponding global settings in the \code{RESTRICT} variable. + See \featureref{uri-restrict}. + \item[\code{IDEPEND}] This variable specifies install-time + dependencies on packages used in (e.\,g.) \code{pkg_postinst}. + In a cross-compilation environment, these are dependencies for + native tools (\code{CBUILD}). See \featureref{idepend}. + \item[\code{pkg_*} phases] The initial working directory is + guaranteed to be empty. See \featureref{phase-function-dir}. + \item[\code{src_prepare}] Items in the \code{PATCHES} variable are + interpreted as files, even if their name begins with a hyphen. + See \featureref{src-prepare}. + \item[\code{PROPERTIES} and \code{RESTRICT}] These variables are + accumulated across the ebuild and inherited eclasses, like + \code{IUSE}, \code{REQUIRED\_USE}, and \code{*DEPEND} were before. + See \featureref{accumulate-vars}. + \item[\code{econf}] If supported, options + \code{-{}-disable-static} and + \code{-{}-datarootdir=\$\{EPREFIX\}/usr/share} are passed + to configure, respectively. See \featureref{econf-options}. + \item[\code{dosym}] With the new option \code{-r}, an absolute + path specified for the link target will be converted to a path + relative to the link location. See \featureref{dosym-relative}. + \item[\code{insopts}] Commands \code{doconfd}, \code{doenvd}, + \code{doheader} install files with fixed mode 0644, i.\,e., + they are no longer affected by \code{insopts}. + See \featureref{insopts}. + \item[\code{exeopts}] Command \code{doinitd} installs files + with fixed mode 0755, i.\,e., it is no longer affected by + \code{exeopts}. See \featureref{exeopts}. + \item[\code{usev}] This helper has an optional second argument + now: \code{usev} \emph{ [true]}. If the flag is set, + outputs \emph{[true]}, or the flag's name if called with only one + argument. Otherwise outputs nothing. See \featureref{usev}. +\end{description} +\subsection{Removals/Bans} +\label{sec:cs:eapi8-removalsbans} +\begin{description} + \item[\code{useq}] No longer allowed. Use regular \code{use} as + a drop-in replacement. See \featureref{banned-commands}. + \item[\code{hasv} and \code{hasq}] No longer allowed. Regular + \code{has} should be used instead. + See \featureref{banned-commands}. + \item[\code{unpack}] No longer supports unpacking of 7-Zip, RAR, + and LHA archives. See \featureref{unpack-extensions}. +\end{description} + \end{document} % vim: set filetype=tex fileencoding=utf8 et tw=70 spell spelllang=en :