public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Extending EAPI="4"
@ 2010-10-25 13:24 Arfrever Frehtes Taifersar Arahesis
  2010-10-25 13:42 ` Ciaran McCreesh
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2010-10-25 13:24 UTC (permalink / raw
  To: Gentoo Development; +Cc: Gentoo Council

[-- Attachment #1: Type: Text/Plain, Size: 3056 bytes --]

I would like to request that 2 additional features are added to EAPI="4".
These features will be needed for further development of python.eclass.

1. Support for "." characters in names of USE flags
2. Support for use.unsatisfiable and package.use.unsatisfiable files in profiles
These files would have the same syntax as use.mask and package.use.mask, respectively.
These files would indicate that it's allowed for dependencies conditional on USE flags specified
in these files to be unsatisfiable. It would allow for stable packages to have optional
dependencies on packages, which cannot be stabilized yet. This feature would be a better
replacement for possibility of masking of USE flags only on stable systems, which was considered
in the past.

  Example dependencies:
    DEPEND="python_abis_2.4? ( dev-lang/python:2.4 )
            python_abis_2.5? ( dev-lang/python:2.5 )
            python_abis_2.6? ( dev-lang/python:2.6 )
            python_abis_2.7? ( dev-lang/python:2.7 )
            python_abis_3.1? ( dev-lang/python:3.1 )
            python_abis_3.2? ( dev-lang/python:3.2 )"
    RDEPEND="${DEPEND}"

python_abis_2.7, python_abis_3.1 and python_abis_3.2 USE flags would be specified in use.unsatisfiable
file until relevant versions of Python are stabilized on all architectures. Without this feature,
some USE flags would have to be masked, so unstable users couldn't easily test many packages with
new versions of Python.

Another example: dev-vcs/subversion[kde] depends on >=kde-base/kdelibs-4. dev-vcs/subversion is
stable on arm and ppc64, but kde-base/kdelibs is unstable on these architectures, which causes
that currently "kde" USE flag of dev-vcs/subversion is masked in arm and ppc64 profiles, which
causes that users of ~arm or ~ppc64 would have to manually unmask this USE flag in
/etc/portage/profile/package.use.mask to be able to install dev-vcs/subversion with "kde" USE flag
enabled. With this feature, users wouldn't need to edit /etc/portage/profile/package.use.mask.

use.unsatisfiable and package.use.unsatisfiable files would cause that `repoman` would treat
given USE flags in the same way as masked USE flags. These files wouldn't affect behavior of
`emerge`:
 - If user has enabled given USE flag specified in use.unsatisfiable or package.use.unsatisfiable
   and if optional dependencies controlled by this USE flag are already installed or satisfiable,
   then `emerge` will allow to install given package.
 - If user has enabled given USE flag specified in use.unsatisfiable or package.use.unsatisfiable
   and if optional dependencies controlled by this USE flag cannot be satisfied (with current
   settings of ACCEPT_KEYWORDS, /etc/portage/package.keywords etc.), then `emerge` will print
   informative error message telling e.g. about a dependency masked by ~${ARCH} keyword.


I have a patch, which adds support for these features in Portage, so inclusion of these features
in EAPI="4" wouldn't delay EAPI="4".

-- 
Arfrever Frehtes Taifersar Arahesis

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [gentoo-dev] Extending EAPI="4"
@ 2010-06-06 13:52 Arfrever Frehtes Taifersar Arahesis
  0 siblings, 0 replies; 24+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis @ 2010-06-06 13:52 UTC (permalink / raw
  To: Gentoo Development

[-- Attachment #1: Type: Text/Plain, Size: 177 bytes --]

I would like to suggest that EAPI="4" be reopened for ability of using dots in
USE flag names, which was suggested in bug #311795.

-- 
Arfrever Frehtes Taifersar Arahesis

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2010-11-28 22:07 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 13:24 [gentoo-dev] Extending EAPI="4" Arfrever Frehtes Taifersar Arahesis
2010-10-25 13:42 ` Ciaran McCreesh
2010-10-25 13:56   ` Arfrever Frehtes Taifersar Arahesis
2010-10-25 14:03     ` Ciaran McCreesh
2010-10-25 15:03       ` Arfrever Frehtes Taifersar Arahesis
2010-11-15 20:17       ` Arfrever Frehtes Taifersar Arahesis
2010-10-25 13:56 ` Ulrich Mueller
2010-10-25 14:03   ` Ciaran McCreesh
2010-10-25 14:05   ` Arfrever Frehtes Taifersar Arahesis
2010-10-25 14:43 ` Fabio Erculiani
2010-10-25 15:00   ` Arfrever Frehtes Taifersar Arahesis
2010-10-25 16:12   ` Thomas Sachau
2010-10-25 16:23 ` Petteri Räty
2010-10-25 16:32   ` Diego Elio Pettenò
2010-10-25 16:44   ` Matti Bickel
2010-11-19 15:51 ` Zac Medico
2010-11-28 18:15   ` Arfrever Frehtes Taifersar Arahesis
2010-11-28 19:59     ` Zac Medico
2010-11-28 20:07       ` Arfrever Frehtes Taifersar Arahesis
2010-11-28 20:30         ` Zac Medico
2010-11-28 21:56           ` Arfrever Frehtes Taifersar Arahesis
2010-11-28 22:06             ` Zac Medico
2010-11-28 22:07             ` Petteri Räty
  -- strict thread matches above, loose matches on Subject: below --
2010-06-06 13:52 Arfrever Frehtes Taifersar Arahesis

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