public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] skel.ebuild: update for EAPI-7
@ 2019-03-04 15:02 Joonas Niilola
  2019-03-05  7:21 ` [gentoo-dev] " Joonas Niilola
  0 siblings, 1 reply; 2+ messages in thread
From: Joonas Niilola @ 2019-03-04 15:02 UTC (permalink / raw
  To: gentoo-dev

# https://bugs.gentoo.org/679408

# https://github.com/gentoo/gentoo/pull/11253


Started with these PRs, but been left without attention for a long time now:

https://github.com/gentoo/gentoo/pull/10333 &&

https://github.com/gentoo/gentoo/pull/9289


§ $ diff
--- /usr/portage/skel.ebuild    2019-01-02 12:16:14.469856171 +0200
+++ ./skel.ebuild    2019-03-04 16:56:39.353281559 +0200
@@ -10,7 +10,9 @@
  # It is suggested that you use the latest EAPI approved by the Council.
  # The PMS contains specifications for all EAPIs. Eclasses will test 
for this
  # variable if they need to use features that are not universal in all 
EAPIs.
-EAPI=6
+# If an eclass doesn't support latest EAPI, use the previous EAPI instead.
+EAPI=7
+

  # inherit lists eclasses to inherit functions from. For example, an ebuild
  # that needs the eautoreconf function from autotools.eclass won't work
@@ -89,11 +91,15 @@
  # The below is valid if the same run-time depends are required to compile.
  RDEPEND="${DEPEND}"

+# Build-time dependencies that are executed during the emerge process, and
+# only need to be present in the host system, rather than target. Example:
+#BDEPEND="virtual/pkgconfig"
+
  # Source directory; the dir where the sources can be found (automatically
  # unpacked) inside ${WORKDIR}.  The default value for S is ${WORKDIR}/${P}
  # If you don't need to change it, leave the S= line out of the ebuild
  # to keep it tidy.
-#S=${WORKDIR}/${P}
+#S="${WORKDIR}/${P}"


  # The following src_configure function is implemented as default by 
portage, so
@@ -116,7 +122,7 @@
      #    --mandir=/usr/share/man || die
      # Note the use of --infodir and --mandir, above. This is to make
      # this package FHS 2.2-compliant.  For more information, see
-    #   https://www.pathname.com/fhs/
+    #   https://wiki.linuxfoundation.org/lsb/fhs
  #}

  # The following src_compile function is implemented as default by 
portage, so



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] Re: [RFC] skel.ebuild: update for EAPI-7
  2019-03-04 15:02 [gentoo-dev] [RFC] skel.ebuild: update for EAPI-7 Joonas Niilola
@ 2019-03-05  7:21 ` Joonas Niilola
  0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2019-03-05  7:21 UTC (permalink / raw
  To: gentoo-dev

Per ulm's review in Github, I've updated the BDEPEND description and 
dropped "host" so it won't be mixed with CHOST.


On 3/4/19 5:02 PM, Joonas Niilola wrote:
>
>
> +# Build-time dependencies that are executed during the emerge 
> process, and
> +# only need to be present in the host system, rather than target. 
> Example:
> +#BDEPEND="virtual/pkgconfig"
> +
>

# Build-time dependencies that are executed during the emerge process, and
# only need to be present in the native build system (CBUILD). Example:
#BDEPEND="virtual/pkgconfig"




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-05  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-04 15:02 [gentoo-dev] [RFC] skel.ebuild: update for EAPI-7 Joonas Niilola
2019-03-05  7:21 ` [gentoo-dev] " Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox