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 DB7C21381F3 for ; Sat, 17 Nov 2012 18:59:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80DD0E04C7; Sat, 17 Nov 2012 18:59:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F2EABE04C7 for ; Sat, 17 Nov 2012 18:59:08 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CAB1233D907 for ; Sat, 17 Nov 2012 18:59:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3259BE5444 for ; Sat, 17 Nov 2012 18:59:06 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <1353178698.e5d551695c76d53be869feaf24bed924eee0d025.hwoarang@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/eapi/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/eapi/text.xml X-VCS-Directories: ebuild-writing/eapi/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: e5d551695c76d53be869feaf24bed924eee0d025 X-VCS-Branch: master Date: Sat, 17 Nov 2012 18:59:06 +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: dde5660e-78e5-41b3-b9a8-7f8a658dd13b X-Archives-Hash: dba2f41866def73ff54b2e8f70c0db05 commit: e5d551695c76d53be869feaf24bed924eee0d025 Author: Markos Chandras gentoo org> AuthorDate: Sat Nov 17 15:22:30 2012 +0000 Commit: Markos Chandras gentoo org> CommitDate: Sat Nov 17 18:58:18 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=e5d55169 eapi: Add EAPI 5 information. Bug #438338 --- ebuild-writing/eapi/text.xml | 131 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 131 insertions(+), 0 deletions(-) diff --git a/ebuild-writing/eapi/text.xml b/ebuild-writing/eapi/text.xml index 9fe1cbb..a871067 100644 --- a/ebuild-writing/eapi/text.xml +++ b/ebuild-writing/eapi/text.xml @@ -683,6 +683,137 @@ REQUIRED_USE="|| ( foo bar baz )" +
+EAPI=5 + + + +Metadata + +
    +
  • +

    REQUIRED_USE supports new at-most-one-of operator

    +

    + The new at-most-one-of operator consists of the string '??', and is satisfied if zero or one (but no more) of its child elements is matched. +

    +
  • +
  • +

    SLOT supports optional "sub-slot" part

    +

    + The SLOT variable may contain an optional sub-slot part that follows the regular slot and is delimited by a / character. The sub-slot must be a valid slot name. The sub-slot is used to represent cases in which an upgrade to a new version of a package with a different sub-slot may require dependent packages to be rebuilt. When the sub-slot part is omitted from the SLOT definition, the package is considered to have an implicit sub-slot which is equal to the regular slot. +

    +
  • +
  • +

    Dependency atom slot operators

    +

    + A slot dependency may contain an optional sub-slot part that follows the regular slot and is delimited by a / character. An operator slot dependency consists of a colon followed by one of the following operators: +

    +
      +
    • + * Indicates that any slot value is acceptable. In addition, for runtime dependencies, indicates that the package will not break if the matched package is uninstalled and replaced by a different matching package in a different slot. +
    • +
    • + = Indicates that any slot value is acceptable. In addition, for runtime dependencies, indicates that the package will break unless a matching package with slot and sub-slot equal to the slot and sub-slot of the best installed version at the time the package was installed is available. +
    • +
    • + slot= Indicates that only a specific slot value is acceptable, and otherwise behaves identically to the plain equals slot operator. +
    • +
    +
  • +
+ +
+ + +Profiles + +
    +
  • +

    Profile stable USE forcing and masking

    +

    + In profile directories with an EAPI supporting stable masking, new USE configuration files are supported: use.stable.mask, use.stable.force, package.use.stable.mask and package.use.stable.force. These files behave similarly to previously supported USE configuration files, except that they only influence packages that are merged due to a stable keyword. +

    +
  • +
+ +
+ + +Helpers + +
    +
  • +

    econf adds --disable-silent-rules

    +

    + This option will automatically be passed if --disable-silent-rules occurs in the output of configure --help. +

    +
  • +
  • +

    new* commands can read from standard input

    +

    + Standard input is read when the first parameter is - (a hyphen). +

    +
  • +
  • +

    New option --host-root for {has,best}_version

    +

    + This option --host-root will cause the query to apply to the host root instead of ROOT. +

    +
  • +
  • +

    New doheader helper function

    +

    + Installs the given header files into /usr/include/, by default with file mode 0644. This can be overridden by setting INSOPTIONS with the insopts function. +

    +
  • +
  • +

    New usex helper function

    +

    + +

    +USAGE: usex 〈USE flag〉 [true output] [false output] [true suffix] [false suffix]
    +DESCRIPTION:
    +If USE flag is set, echo [true output][true suffix] (defaults to "yes"),
    + otherwise echo [false output][false suffix] (defaults to "no").
    +		
    +

    +
  • +
+ +
+ + +Phases + +
    +
  • +

    src_test supports parallel tests

    +

    + Unlike older EAPIs, the default src_test implementation will not pass the -j1 option to emake. +

    +
  • +
+ +
+ + +Variables + +
    +
  • +

    EBUILD_PHASE_FUNC

    +

    + During execution of an ebuild phase function (such as pkg_setup or src_unpack), + the EBUILD_PHASE_FUNC variable will contain the name of the phase function that is currently executing. +

    +
  • +
+ +
+ + +
+