• [gentoo-dev] [PATCH 0/1] GLEP 68: Allow EAPI 5 dependency specification

    From =?UTF-8?q?Ulrich=20M=C3=BCller?=@21:1/5 to All on Wed Feb 22 17:10:01 2023
    This was discussed in #gentoo-council a while ago.

    There is no EAPI identification mechanism in metadata.xml, but EAPI 5
    is specified in the top-level profile directory, and it has been
    supported by Portage for 10+ years.

    Find the updated full text of GLEP 68 below, and a diff in the next
    message.

    Ulrich Müller (1):
    glep-0068: Allow EAPI 5 dependency specifications

    glep-0068.rst | 16 +++++++++++-----
    1 file changed, 11 insertions(+), 5 deletions(-)

    --
    2.39.2

    ---
    GLEP: 68
    Title: Package and category metadata
    Author: Michał Górny <mgorny@gentoo.org>
    Type: Standards Track
    Status: Final
    Version: 1.4
    Created: 2016-03-14
    Last-Modified: 2023-01-22
    Post-History: 2016-03-16, 2018-02-20, 2022-05-22, 2022-10-07
    Content-Type: text/x-rst
    Requires: 67
    Replaces: 34, 46, 56
    ---

    Abstract
    ========

    This GLEP specifies the format of files used to describe category and package metadata (``metadata.xml``).


    Motivation
    ==========

    At the moment of writing this GLEP, category and package ``metadata.xml`` lacked proper specification. PMS Appendix A [#PMS-A]_ specified that
    the format of this file is beyond its scope, deferring the specification
    to the DTD file.

    The original metadata.dtd file [#METADATA-DTD]_ (the version before cleanups related to this spec) did not serve well as the specification. Due to
    the technical limitations on DTD format, it was both unable to enforce
    the specification fully and explain it in a readable form. Furthermore,
    it
  • From =?UTF-8?q?Ulrich=20M=C3=BCller?=@21:1/5 to All on Wed Feb 22 17:10:02 2023
    This applies to the "restrict" attribute which is used with the
    "maintainer", "longdescription", "flag", and "stabilize-allarches"
    elements.

    Closes: https://bugs.gentoo.org/895790
    Reviewed-by: Michał Górny <mgorny@gentoo.org>
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>
    ---
    glep-0068.rst | 16 +++++++++++-----
    1 file changed, 11 insertions(+), 5 deletions(-)

    diff --git a/glep-0068.rst b/glep-0068.rst
    index 9d10aaa..ca75991 100644
    --- a/glep-0068.rst
    +++ b/glep-0068.rst
    @@ -4,9 +4,9 @@ Title: Package and category metadata
    Author: Michał Górny <mgorny@gentoo.org>
    Type: Standards Track
    Status: Final
    -Version: 1.3
    +Version: 1.4
    Created: 2016-03-14
    -Last-Modified: 2022-10-14
    +Last-Modified: 2023-01-22
    Post-History: 2016-03-16, 2018-02-20, 2022-05-22, 2022-10-07
    Content-Type: text/x-rst
    Requires: 67
    @@ -118,7 +118,7 @@ of ``en`` is assumed.

    Restriction specifiers are used whenever an element supports restricting to
    specific package versions. In this case, each occurence of the element may -contain an optional ``restrict=""`` attribute that contains an EAPI 0
    +contain an optional ``restrict=""`` attribute that contains an EAPI 5
    dependency specification that has to match one or more versions of the
    package. In this case, the metadata provi