1 |
commit: eb650736537728f40cee65c8a3d523d7dcfde804 |
2 |
Author: Nekun <nekokun <AT> firemail <DOT> cc> |
3 |
AuthorDate: Sun Apr 11 01:23:27 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 25 03:38:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=eb650736 |
7 |
|
8 |
ebuild.5: Add eapply documentation |
9 |
|
10 |
Bug: https://bugs.gentoo.org/698244 |
11 |
Signed-off-by: Nekun <nekokun <AT> firemail.cc> |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
man/ebuild.5 | 22 +++++++++++++++++++++- |
15 |
1 file changed, 21 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/man/ebuild.5 b/man/ebuild.5 |
18 |
index 1afa59eef..a113c1502 100644 |
19 |
--- a/man/ebuild.5 |
20 |
+++ b/man/ebuild.5 |
21 |
@@ -1,4 +1,4 @@ |
22 |
-.TH "EBUILD" "5" "Jul 2019" "Portage VERSION" "Portage" |
23 |
+.TH "EBUILD" "5" "Apr 2021" "Portage VERSION" "Portage" |
24 |
|
25 |
.SH "NAME" |
26 |
ebuild \- the internal format, variables, and functions in an ebuild script |
27 |
@@ -799,6 +799,11 @@ Beginning with \fBEAPI 4\fR, an array or space\-delimited list of documentation |
28 |
files for the default src_install function to install using dodoc. If |
29 |
undefined, a reasonable default list is used. See the documentation for |
30 |
src_install below. |
31 |
+.TP |
32 |
+.B PATCHES |
33 |
+Beginning with \fBEAPI 6\fR, an array of patches for applying in the default |
34 |
+\fIsrc_prepare\fR function using \fIeapply\fR. |
35 |
+ |
36 |
|
37 |
.SS "QA Control Variables:" |
38 |
.TP |
39 |
@@ -1210,6 +1215,21 @@ message\fR is displayed. |
40 |
This function uncompresses and/or untars a list of sources into the current |
41 |
directory. The function will append \fIsource\fR to the \fBDISTDIR\fR variable. |
42 |
|
43 |
+.SS "Prepare:" |
44 |
+.TP |
45 |
+.B eapply\fR \fI[patch options]\fR \fI<files|directories> |
46 |
+Applies patches to the \fB${WORKDIR}\fR with specified options. Default patch level is \fI\-p1\fR. If a directory specified, all patches from it with |
47 |
+\fI.patch\fR or \fI.diff\fR suffix are applied. |
48 |
+This function is available beginning with \fBEAPI 6\fR, replacing old |
49 |
+\fBepatch.eclass\fR(5) functions. |
50 |
+.TP |
51 |
+.B eapply_user |
52 |
+Applies user\-provided patches to the \fB${WORKDIR}\fR from Portage config |
53 |
+directory tree. For directory syntax and applying rules, see |
54 |
+\fI/etc/portage/patches/\fR section in \fBportage\fR(5). This function is |
55 |
+available beginning with \fBEAPI 6\fR, replacing old \fBepatch.eclass\fR(5) |
56 |
+functions. |
57 |
+ |
58 |
.SS "Compile:" |
59 |
.TP |
60 |
.B econf\fR \fI[configure options] |