From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A97B358973 for ; Wed, 27 Jan 2016 07:57:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47C48E0898; Wed, 27 Jan 2016 07:57:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CFBDCE0898 for ; Wed, 27 Jan 2016 07:57:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4D5B34090F for ; Wed, 27 Jan 2016 07:57:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB614CF3 for ; Wed, 27 Jan 2016 07:57:24 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1453881379.3c3d7eb217da814a25fd9420873c3b3f7015a7ce.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: / X-VCS-Repository: repo/gentoo X-VCS-Files: skel.ebuild X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 3c3d7eb217da814a25fd9420873c3b3f7015a7ce X-VCS-Branch: master Date: Wed, 27 Jan 2016 07:57:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 31e89de1-2eb3-49c8-9840-f7511fa01bf9 X-Archives-Hash: 2f7c976448818999a97cf09f57f19f63 commit: 3c3d7eb217da814a25fd9420873c3b3f7015a7ce Author: Ulrich Müller gentoo org> AuthorDate: Mon Jan 25 19:01:26 2016 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Jan 27 07:56:19 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c3d7eb2 skel.ebuild: Update for EAPI 6. Put less emphasis on eutils and epatch; they will be used less often with eapply being available in EAPI 6. Don't mention ancient EAPIs that are banned. Don't mention einstall since it is banned. skel.ebuild | 43 +++++++++++++------------------------------ 1 file changed, 13 insertions(+), 30 deletions(-) diff --git a/skel.ebuild b/skel.ebuild index d907f9b..65ea285 100644 --- a/skel.ebuild +++ b/skel.ebuild @@ -7,27 +7,20 @@ # remember to remove them before submitting or committing your ebuild. That # doesn't mean you can't add your own comments though. -# The 'Header' on the third line should just be left alone. When your ebuild +# The 'Id' on the third line should just be left alone. When your ebuild # will be committed to git, the details on that line will be automatically # generated to contain the correct data. # The EAPI variable tells the ebuild format in use. -# Defaults to 0 if not specified. # 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 EAPI > 0 features. -EAPI=5 +# variable if they need to use features that are not universal in all EAPIs. +EAPI=6 -# inherit lists eclasses to inherit functions from. Almost all ebuilds should -# inherit eutils, as a large amount of important functionality has been -# moved there. For example, the epatch call mentioned below wont work -# without the following line: +# inherit lists eclasses to inherit functions from. For example, an ebuild +# that needs the epatch function from eutils.eclass won't work without the +# following line: inherit eutils -# A well-used example of an eclass function that needs eutils is epatch. If -# your source needs patches applied, it's suggested to put your patch in the -# 'files' directory and use: -# -# epatch "${FILESDIR}"/patch-name-here # # eclasses tend to list descriptions of how to use their functions properly. # take a look at /usr/portage/eclass/ for more examples. @@ -111,7 +104,6 @@ RDEPEND="${DEPEND}" # The following src_configure function is implemented as default by portage, so # you only need to call it if you need a different behaviour. -# This function is available only in EAPI 2 and later. #src_configure() { # Most open-source packages use GNU autoconf for configuration. # The default, quickest (and preferred) way of running configure is: @@ -135,25 +127,20 @@ RDEPEND="${DEPEND}" # The following src_compile function is implemented as default by portage, so # you only need to call it, if you need different behaviour. -# For EAPI < 2 src_compile runs also commands currently present in -# src_configure. Thus, if you're using an older EAPI, you need to copy them -# to your src_compile and drop the src_configure function. #src_compile() { - # emake (previously known as pmake) is a script that calls the - # standard GNU make with parallel building options for speedier - # builds (especially on SMP systems). Try emake first. It might - # not work for some packages, because some makefiles have bugs - # related to parallelism, in these cases, use emake -j1 to limit - # make to a single process. The -j1 is a visual clue to others - # that the makefiles have bugs that have been worked around. + # emake is a script that calls the standard GNU make with parallel + # building options for speedier builds (especially on SMP systems). + # Try emake first. It might not work for some packages, because + # some makefiles have bugs related to parallelism, in these cases, + # use emake -j1 to limit make to a single process. The -j1 is a + # visual clue to others that the makefiles have bugs that have been + # worked around. #emake #} # The following src_install function is implemented as default by portage, so # you only need to call it, if you need different behaviour. -# For EAPI < 4 src_install is just returing true, so you need to always specify -# this function in older EAPIs. #src_install() { # You must *personally verify* that this trick doesn't install # anything outside of DESTDIR; do this by reading and @@ -178,8 +165,4 @@ RDEPEND="${DEPEND}" # install # Again, verify the Makefiles! We don't want anything falling # outside of ${D}. - - # The portage shortcut to the above command is simply: - # - #einstall #}