Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] skel.ebuild: Use relative paths for directories.
Date: Thu, 08 Aug 2019 22:15:35
Message-Id: w6gwofnmhhk.fsf@kph.uni-mainz.de
1 /usr/portage is no longer the default repository location.
2
3 Signed-off-by: Ulrich Müller <ulm@g.o>
4 ---
5 This looks larger than it is, because most of it is caused by
6 rewrapping of paragraphs. The only text changes are:
7 "/usr/portage/eclass/" -> "the eclass/ directory"
8 "/usr/portage/licenses/" -> "the licenses/ directory"
9 "/usr/portage/profiles/" -> "the profiles/ directory"
10
11 skel.ebuild | 25 +++++++++++++------------
12 1 file changed, 13 insertions(+), 12 deletions(-)
13
14 diff --git a/skel.ebuild b/skel.ebuild
15 index 77337142ec36..9c9e6b366eb9 100644
16 --- a/skel.ebuild
17 +++ b/skel.ebuild
18 @@ -19,8 +19,8 @@ EAPI=7
19 # without the following line:
20 #inherit autotools
21 #
22 -# eclasses tend to list descriptions of how to use their functions properly.
23 -# take a look at /usr/portage/eclass/ for more examples.
24 +# Eclasses tend to list descriptions of how to use their functions properly.
25 +# Take a look at the eclass/ directory for more examples.
26
27 # Short one-line description of this package.
28 DESCRIPTION="This is a sample skeleton ebuild file"
29 @@ -33,8 +33,8 @@ HOMEPAGE="https://foo.example.org/"
30 SRC_URI="ftp://foo.example.org/${P}.tar.gz"
31
32
33 -# License of the package. This must match the name of file(s) in
34 -# /usr/portage/licenses/. For complex license combination see the developer
35 +# License of the package. This must match the name of file(s) in the
36 +# licenses/ directory. For complex license combination see the developer
37 # docs on gentoo.org for details.
38 LICENSE=""
39
40 @@ -52,14 +52,15 @@ LICENSE=""
41 SLOT="0"
42
43 # Using KEYWORDS, we can record masking information *inside* an ebuild
44 -# instead of relying on an external package.mask file. Right now, you should
45 -# set the KEYWORDS variable for every ebuild so that it contains the names of
46 -# all the architectures with which the ebuild works. All of the official
47 -# architectures can be found in the arch.list file which is in
48 -# /usr/portage/profiles/. Usually you should just set this to "~amd64".
49 -# The ~ in front of the architecture indicates that the package is new and
50 -# should be considered unstable until testing proves its stability. So, if
51 -# you've confirmed that your ebuild works on amd64 and ppc, you'd specify:
52 +# instead of relying on an external package.mask file. Right now, you
53 +# should set the KEYWORDS variable for every ebuild so that it contains
54 +# the names of all the architectures with which the ebuild works.
55 +# All of the official architectures can be found in the arch.list file
56 +# which is in the profiles/ directory. Usually you should just set this
57 +# to "~amd64". The ~ in front of the architecture indicates that the
58 +# package is new and should be considered unstable until testing proves
59 +# its stability. So, if you've confirmed that your ebuild works on
60 +# amd64 and ppc, you'd specify:
61 # KEYWORDS="~amd64 ~ppc"
62 # Once packages go stable, the ~ prefix is removed.
63 # For binary packages, use -* and then list the archs the bin package
64 --
65 2.22.0

Attachments

File name MIME type
signature.asc application/pgp-signature