public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Graham Murray <graham@gmurray.org.uk>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Actions of python team, especially Arfrever wrt python eclass and python-3*
Date: Sun, 06 Jun 2010 07:36:26 +0100	[thread overview]
Message-ID: <87r5kkacr9.fsf@newton.gmurray.org.uk> (raw)
In-Reply-To: <4C0B017B.40907@gentoo.org> (Thomas Sachau's message of "Sun, 06 Jun 2010 04:01:31 +0200")

Thomas Sachau <tommy@gentoo.org> writes:

> Since python-3* is currently useless and not required for any package, the dependency should by
> default only pull in python-2* like this:
>
> =dev-lang/python-2*
>
> With that, the default way would not pull in a package, which is not needed or used. And if there
> will be any package, which really requires python-3*, it simply requests it in (R)DEPEND of the
> ebuild, which then would overwrite the default value of the eclass and pull in python-3*.

That would not work. For example if package 'bar' supports both python-2
and python-3, your mechanism will only build in python-2 support. That
is fine until package 'foo' comes along which uses 'bar' but also
requires python-3 - thus not only must python-3 be pulled in as a result
of foo's (R)DEPEND but also 'bar' must be rebuilt with python-3 support.

This could be done by adding python2 and python3 USE flags to packages
which support both and only have python2 enabled by default. Then 'foo'
could have a conditional (R)DEPEMD on 'bar[python3]', but that would
require the user to change the USE flags whereas the current system
handles everything automatically.



  parent reply	other threads:[~2010-06-06  6:36 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-27 14:33 [gentoo-dev] Actions of python team, especially Arfrever wrt python eclass and python-3* Thomas Sachau
2010-05-27 15:30 ` Gilles Dartiguelongue
2010-06-05 14:43 ` Arfrever Frehtes Taifersar Arahesis
2010-06-05 15:49   ` Thomas Sachau
2010-06-05 18:31     ` Harald van Dijk
2010-06-05 23:04       ` Thomas Sachau
2010-06-05 23:38         ` Harald van Dijk
2010-06-06  2:01           ` Thomas Sachau
2010-06-06  2:19             ` Sebastian Pipping
2010-06-06  7:37               ` Michał Górny
2010-06-06 11:14                 ` Dale
2010-06-06 11:23                 ` Thomas Sachau
2010-06-06  6:36             ` Graham Murray [this message]
2010-06-06 10:40               ` Thomas Sachau
2010-06-06 11:09                 ` Matti Bickel
2010-06-06 11:37                   ` Thomas Sachau
2010-06-06 11:50                     ` Domen Kožar
2010-06-06 12:31                       ` Thomas Sachau
2010-06-06 12:41                       ` Thomas Sachau
2010-06-06 13:35                         ` Domen Kožar
2010-06-06 13:51                           ` Thomas Sachau
2010-06-07  1:22                           ` Brian Harring
2010-06-06 13:44                 ` Arfrever Frehtes Taifersar Arahesis
2010-06-06 13:54                   ` Thomas Sachau
2010-06-06 14:07                     ` Arfrever Frehtes Taifersar Arahesis
2010-06-07  5:53                     ` Alec Warner
2010-06-06 16:36                 ` Hans de Graaff
2010-06-06  0:08         ` Sebastian Pipping
2010-06-06 11:48           ` Rémi Cardona
2010-06-05 20:06   ` Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5kkacr9.fsf@newton.gmurray.org.uk \
    --to=graham@gmurray.org.uk \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox