Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Gentoo Development <gentoo-dev@g.o>
From: Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
Subject: Summary of suggested new features in EAPI="4"
Date: Sat, 18 Dec 2010 02:45:06 +0100
This is the summary of some problems and suggested new features in EAPI="4", which would solve
these problems.

================================================================================================

Problem #1: USE flags cannot contain "." characters.

The following solutions have been suggested:
- Add support for "." characters in USE flags in EAPI="4".

================================================================================================

Problem #2: Files in profiles cannot use features from newer EAPIs.

The following solutions have been suggested:
- Add support for files with "-${EAPI}" extension in EAPI="4". These files would use EAPI
  specified in their filenames instead of EAPI of profile.
  Example files:
    package.mask-${EAPI}
    package.use-${EAPI}
    package.provided-${EAPI}
    use.force-${EAPI}
    use.mask-${EAPI}
    package.use.force-${EAPI}
    package.use.mask-${EAPI}
    packages-${EAPI}
    virtuals-${EAPI}
- Create new profiles using EAPI="4", remove all older profiles from profiles.desc so that
  repoman doesn't check older profiles, and deprecate older profiles.

Council should choose one of these solutions.

================================================================================================

Problem #3: repoman doesn't allow stable packages to have optional dependencies on unstable
packages (usually until these packages are stabilized).

Example of the problem:
If "python_abis_2.7", "python_abis_3.1" and "python_abis_3.2" USE flags are masked using
use.mask on given architectures until Python 2.7, 3.1 and 3.2 are stabilized on these
architectures, then majority of reverse dependencies of Python won't be tested with new
versions of Python.

The following solutions have been suggested:
- Add support for use.unsatisfiable and package.use.unsatisfiable files in profiles in
  EAPI="4". These files would cause that repoman would allow optional dependencies on
  packages potentially unsatisfiable in some configurations (e.g. on stable-only systems).
- Create separate profiles for stable and unstable keywords. USE flags would be masked in
  stable profiles and unmasked in unstable profiles.

Council should choose one of these solutions.

================================================================================================

There are already existing patches for Portage, which implement these solutions, which are
suggested new features in EAPI="4".

-- 
Arfrever Frehtes Taifersar Arahesis
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: Summary of suggested new features in EAPI="4"
-- Fabian Groffen
Re: Summary of suggested new features in EAPI="4"
-- Donnie Berkholz
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Death to old-style virtuals!
Next by thread:
Re: Summary of suggested new features in EAPI="4"
Previous by date:
Re: [warning] the bug queue has 118 bugs
Next by date:
Re: What are || ( ) dependencies?


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.