[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] A news item covering PYTHON_TARGETS
From:       IAN DELANEY <della5 () iinet ! com ! au>
Date:       2012-10-29 17:11:53
Message-ID: 20121030171103.32f556ff () Maureen ! Jean
[Download RAW message or body]

On Mon, 29 Oct 2012 15:45:01 +0100
Michał Górny <mgorny@gentoo.org> wrote:

> Hello,
> 
> Since some ebuilds are using that variable already and we still didn't
> inform most of our users if and how they should set it, I'd like to
> commit the following news item:
> 
> Title: PYTHON_TARGETS deployment
> Author: Michał Górny <mgorny@gentoo.org>
> Content-Type: text/plain
> Posted: 2012-10-29
> Revision: 1
> News-Item-Format: 1.0
> 
> Lately, a new Python eclasses were deployed and the way of supporting
> multiple Python implementations changes with ebuilds being migrated
> to them. While before the implementations being installed were used
> by default, the migrated packages will instead use explicit choice
> based on PYTHON_TARGETS USE flags. This may require action from some
> of our users.
> 
> If you are running a modern system with Python 2.7 & 3.2, and you
> didn't set USE_PYTHON, then you don't have to do anything. The
> defaults will fit you.
> 
> Otherwise, you will want to set PYTHON_TARGETS in your make.conf file.
> This is a regular USE_EXPAND variable listing requested Python
> implementations like:
> 
> 	PYTHON_TARGETS="python2_7 python3_2 pypy1_9 jython2_5"
> 
> The variable should list all requested Python implementations.
> A complete list of possible values can be obtained using a command
> like:
> 
> 	emerge -1pv dev-python/python-exec
> 

this might be slghtly be reudundant, but how about 

set PYTHON_TARGETS in place of PYTHON_ABIS or USE_PYTHON
in /etc/make.conf.

Technically it's not essential.

 	PYTHON_TARGETS="python2_7 python3_2 pypy1_9 jython2_5"

is just right, a clear example of each.

"While before the implementations"

right and doesn't read quite right, either just delete before or

"While the implementations being installed were used by default by"
python.eclass"

deleting the word before. I think a simple comma might make the original
valid;

"While before, the implementations being installed were used by
default...."

-- 
kind regards

Ian Delaney

-- 
kind regards

Ian Delaney

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic