| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Also simplify array detection by using the @a operator in parameter
expansion. This feature was introduced in bash-4.4.
Bug: https://bugs.gentoo.org/752486
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
| |
https://bugs.gentoo.org/595030
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Taken from https://tex.stackexchange.com/a/2645.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
This is only used a few times, so a shorthand is not needed.
(We really should get rid of \i and \t as well, because redefining
LaTeX internal commands sucks.)
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
All package managers support that functions like pkg_pretend() write
to temporary directories T, TMPDIR and HOME. This is also used in the
tree, see for example bug 469210. Update the spec to match this.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the space after "declare -a" for matching "declare -p" output.
With the update of the bash version to 4.2 in EAPI 6, variables can
have other attributes in addition, which would make the test fail.
For example, see https://bugs.gentoo.org/444832#c7. The implementation
in Portage already omits the space.
Replace grep by functionally equivalent code in bash. This is how the
test is implemented in package managers, and follows the principle
that external programs should not be called unnecessarily.
Redirect stderr for "declare -p", because it outputs an error message
if the PATCHES variable is not defined.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
Ordering corresponding to their call order (except pkg_nofetch).
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
Also rename label prefixes, "ch:" for chapters, "sec:" for sections,
as suggested by Michael Orlitzky.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Arguably, section 9.1.1 "Initial working directories" applies also to
src_test, even if section 9.1.8 "src_test" doesn't refer back to 9.1.1.
In src_test, a fallback from S to WORKDIR could only happen for an
ebuild that:
- Has no files in A to be unpacked.
- Doesn't define any of the unpack, prepare, configure, compile or
install phases (otherwise it would die in one of these phases).
Since that scenario is very unlikely, fix the wording in section 9.1.8
retroactively for EAPI 4 and later.
Note: Implementations also differ about this: portage will always fall
back, while for pkgcore it is a conditional error.
Closes: https://bugs.gentoo.org/652050
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
| |
|
|
|
|
| |
Use the command correctly throughout; it requires an argument.
|
|
|
|
|
| |
Replacement was done using "sed -i 's/\\_/_/g' *.tex".
This does not change the resulting PDF and HTML output.
|
|
|
|
|
|
|
|
| |
Use title case for first and second level headings (i.e., \chapter
and \section in the main text, \section and \subsection in the EAPI
cheat sheet); use sentence case everywhere else.
https://archives.gentoo.org/gentoo-pms/message/cef75e03f1a3b692281a5b79065dc2b6
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This adds support for the PATCHES array and for user patches.
Bug: 463692
|
|
|
|
|
| |
Combine all lines with identical behaviour for different EAPIs.
Also use consistent indentation for tables in the LaTeX source.
|
| |
|
| |
|
|
|
|
|
|
| |
Lines seem to be wrapped at 100 characters throughout, with the
exception of eapi-cheatsheet.tex which is wrapped at 70 characters.
Assign the "fill-column" file local variable for Emacs accordingly.
|
| |
|
|
|
|
| |
This improves readability. It doesn't make any difference for bash.
|
|
|
|
| |
See bug 363005.
|
| |
|
|
|
|
|
| |
This gives us an easy way to grep and find every place that needs
updating when we add a new EAPI.
|
| |
|
|
|
|
|
|
| |
Right now, the section on phase functions could suggest that src_test()
will be run always unless RESTRICT=test is specified. Try to clear that
up.
|
|
|
|
|
|
|
|
| |
Postpone definition of \b command.
Don't load pdfpages.sty when processing with TeX4ht.
Avoid parboxes in tables.
Recode the few non-ascii characters in pms.html.
Fix xhtml syntax in longtable captions.
|
|
|
|
|
|
| |
This reverts commit 2d3de7abf5484c616e9bc3fe398669d9935dd62c.
In addition, add a note about possible different behaviour in EAPI 0 and 1.
See also bug 174328.
|
| |
|
|
|
|
| |
Signed-off-by: Ulrich Mueller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
ulm prepared this patch to move all features that were currently found
in EAPI 3 to EAPI 4, as the new EAPI 3 will be added as an
intermediate version for Prefix support. Details about that still
need to be filled in.
|
| |
|
|
|
|
|
|
| |
Set indentation level to 4
Fix some cosmetic spacing issues
Add missing local variables list
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Update all feature tables for EAPI 3 as a copy of EAPI 2, and introduce
an empty change list for EAPI 3. Things differing in EAPI 3 will be
changed in subsequent commits.
A few tables used the order 0, 1, 2, kdebuild-1 rather than 0, 1,
kdebuild-1, 2. These are now fixed for consistency.
Switch the features table to landscape, to make it fit better.
|
| |
|
|
|
|
|
|
|
|
| |
Add curly braces to make variables look Gentoo-like.
Do not prefix a variable with a dollar sign for consistency.
Add curly braces to prevent ligatures in --.
|
|
|
|
| |
See Council meeting on 20081211.
|
| |
|
| |
|