public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Packages for Python 2.3
@ 2006-08-28 19:10 Pupeno
  2006-08-29  5:24 ` Donnie Berkholz
  0 siblings, 1 reply; 4+ messages in thread
From: Pupeno @ 2006-08-28 19:10 UTC (permalink / raw
  To: gentoo-user

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

Hello,
I am developing some software that needs to be tested against Python 2.3. So 
my Gentoo box has both, Python 2.4 and 2.3. Now, I need to have some Python 
packages available for both (or at least, for 2.3), for example: 
mysql-python.
How do I achieve that ?
Thank you.
-- 
Pupeno <pupeno@pupeno.com> (http://pupeno.com)

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Packages for Python 2.3
  2006-08-28 19:10 [gentoo-user] Packages for Python 2.3 Pupeno
@ 2006-08-29  5:24 ` Donnie Berkholz
  2006-08-29  8:08   ` Pupeno
  0 siblings, 1 reply; 4+ messages in thread
From: Donnie Berkholz @ 2006-08-29  5:24 UTC (permalink / raw
  To: gentoo-user

Pupeno wrote:
> Hello,
> I am developing some software that needs to be tested against Python 2.3. So 
> my Gentoo box has both, Python 2.4 and 2.3. Now, I need to have some Python 
> packages available for both (or at least, for 2.3), for example: 
> mysql-python.
> How do I achieve that ?

You may need to modify the ebuild. Try adding something like this near 
the top:

PYTHON_SLOT_VERSION="2.3"

That's used by distutils.eclass, which mysql-python inherits.

Thanks,
Donnie
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Packages for Python 2.3
  2006-08-29  5:24 ` Donnie Berkholz
@ 2006-08-29  8:08   ` Pupeno
  2006-08-29 16:22     ` Donnie Berkholz
  0 siblings, 1 reply; 4+ messages in thread
From: Pupeno @ 2006-08-29  8:08 UTC (permalink / raw
  To: gentoo-user

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

On Tuesday 29 August 2006 05:24, Donnie Berkholz wrote:
> You may need to modify the ebuild. Try adding something like this near
> the top:
>
> PYTHON_SLOT_VERSION="2.3"
>
> That's used by distutils.eclass, which mysql-python inherits.

Ouch! Is that the only way ? modifying the ebuild and loosing it for Python 
2.4 ?
-- 
Pupeno <pupeno@pupeno.com> (http://pupeno.com)

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Packages for Python 2.3
  2006-08-29  8:08   ` Pupeno
@ 2006-08-29 16:22     ` Donnie Berkholz
  0 siblings, 0 replies; 4+ messages in thread
From: Donnie Berkholz @ 2006-08-29 16:22 UTC (permalink / raw
  To: gentoo-user

Pupeno wrote:
> On Tuesday 29 August 2006 05:24, Donnie Berkholz wrote:
>> You may need to modify the ebuild. Try adding something like this near
>> the top:
>>
>> PYTHON_SLOT_VERSION="2.3"
>>
>> That's used by distutils.eclass, which mysql-python inherits.
> 
> Ouch! Is that the only way ? modifying the ebuild and loosing it for Python 
> 2.4 ?

Well you may not need to lose it for 2.4, if you also revision bump it. 
Portage doesn't support simultaneously installing the same version 
multiple times, that's why you need to change the revision number (or 
the package name).

Thanks,
Donnie
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-08-29 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-28 19:10 [gentoo-user] Packages for Python 2.3 Pupeno
2006-08-29  5:24 ` Donnie Berkholz
2006-08-29  8:08   ` Pupeno
2006-08-29 16:22     ` Donnie Berkholz

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