public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@f_philipp.fastmail.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Installing python packages for different versions
Date: Sun, 14 Jun 2009 19:53:38 +0200	[thread overview]
Message-ID: <4A353922.3080708@f_philipp.fastmail.net> (raw)
In-Reply-To: <20090614223836.422ace76@coercion>

[-- Attachment #1: Type: text/plain, Size: 1585 bytes --]

Mike Kazantsev schrieb:
> On Sun, 14 Jun 2009 18:03:58 +0200
> Florian Philipp <lists@f_philipp.fastmail.net> wrote:
> 
> ...
>> Thanks for your answer but I have to say, this looks like a really
>> cumbersome workaround. Wouldn't it be better to make portage and
>> python-updater aware of this problem?
>>
>> The update from python-2.4 to 2.5 was a minor one with only a few
>> incompatible packages. What shall happen when we stabilize 3.0? We'll
>> run into orders of magnitude more problems than we did till now if we
>> keep it as it is!
>>
>> Do you think I should open a bug for this?
> 
[...]
> 
> Installing every package for each compatible python on system if some
> use-flag like "multislot" is enabled (it might also be impossible for
> some pkgs, which also sit in share/bin/lib) look better and somewhat
> easier - just a eselech switch flip and +x (un)installs.
> 
> I wonder, what do you have in mind?
> 

I don't know. I'm not a python dev. Therefore I might not understand
every aspect of the problem. I thought about something like this:

eselect maintains a list of all enabled python slots and a primary one,
not just the primary one like now. If nothing else is specified, every
program uses this primary python version (just like now). Portage
installs or symlinks all files which end up in the site-packages
directory in the respective directories for every python slot enabled by
eselect.

python-updater could be augmented to do the necessary rebuilds when a
new version is added or an old one removed from the list.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

  reply	other threads:[~2009-06-14 17:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-13 16:44 [gentoo-user] Installing python packages for different versions Florian Philipp
2009-06-14 10:58 ` Khanh Nguyen
2009-06-14 16:03   ` Florian Philipp
2009-06-14 16:38     ` Mike Kazantsev
2009-06-14 17:53       ` Florian Philipp [this message]
2009-06-14 22:59         ` Mike Kazantsev
2009-06-15  7:49 ` [gentoo-user] " Remy Blank

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=4A353922.3080708@f_philipp.fastmail.net \
    --to=lists@f_philipp.fastmail.net \
    --cc=gentoo-user@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