Gentoo Archives: gentoo-dev

From: Joonas Niilola <juippis@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] skel.ebuild: update for EAPI-7
Date: Mon, 04 Mar 2019 15:02:44
Message-Id: b02d9380-59af-0a4b-9be0-8db0acc4538c@gmail.com
1 # https://bugs.gentoo.org/679408
2
3 # https://github.com/gentoo/gentoo/pull/11253
4
5
6 Started with these PRs, but been left without attention for a long time now:
7
8 https://github.com/gentoo/gentoo/pull/10333 &&
9
10 https://github.com/gentoo/gentoo/pull/9289
11
12
13 § $ diff
14 --- /usr/portage/skel.ebuild    2019-01-02 12:16:14.469856171 +0200
15 +++ ./skel.ebuild    2019-03-04 16:56:39.353281559 +0200
16 @@ -10,7 +10,9 @@
17  # It is suggested that you use the latest EAPI approved by the Council.
18  # The PMS contains specifications for all EAPIs. Eclasses will test
19 for this
20  # variable if they need to use features that are not universal in all
21 EAPIs.
22 -EAPI=6
23 +# If an eclass doesn't support latest EAPI, use the previous EAPI instead.
24 +EAPI=7
25 +
26
27  # inherit lists eclasses to inherit functions from. For example, an ebuild
28  # that needs the eautoreconf function from autotools.eclass won't work
29 @@ -89,11 +91,15 @@
30  # The below is valid if the same run-time depends are required to compile.
31  RDEPEND="${DEPEND}"
32
33 +# Build-time dependencies that are executed during the emerge process, and
34 +# only need to be present in the host system, rather than target. Example:
35 +#BDEPEND="virtual/pkgconfig"
36 +
37  # Source directory; the dir where the sources can be found (automatically
38  # unpacked) inside ${WORKDIR}.  The default value for S is ${WORKDIR}/${P}
39  # If you don't need to change it, leave the S= line out of the ebuild
40  # to keep it tidy.
41 -#S=${WORKDIR}/${P}
42 +#S="${WORKDIR}/${P}"
43
44
45  # The following src_configure function is implemented as default by
46 portage, so
47 @@ -116,7 +122,7 @@
48      #    --mandir=/usr/share/man || die
49      # Note the use of --infodir and --mandir, above. This is to make
50      # this package FHS 2.2-compliant.  For more information, see
51 -    #   https://www.pathname.com/fhs/
52 +    #   https://wiki.linuxfoundation.org/lsb/fhs
53  #}
54
55  # The following src_compile function is implemented as default by
56 portage, so

Replies

Subject Author
[gentoo-dev] Re: [RFC] skel.ebuild: update for EAPI-7 Joonas Niilola <juippis@×××××.com>