public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] A news item covering PYTHON_TARGETS
@ 2012-10-30  9:11 IAN DELANEY
  0 siblings, 0 replies; only message in thread
From: IAN DELANEY @ 2012-10-30  9:11 UTC (permalink / raw
  To: gentoo-dev

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-29 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-30  9:11 [gentoo-dev] A news item covering PYTHON_TARGETS IAN DELANEY

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