public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: IAN DELANEY <della5@iinet.com.au>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] A news item covering PYTHON_TARGETS
Date: Tue, 30 Oct 2012 17:11:03 +0800	[thread overview]
Message-ID: <20121030171103.32f556ff@Maureen.Jean> (raw)

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


                 reply	other threads:[~2012-10-29 17:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20121030171103.32f556ff@Maureen.Jean \
    --to=della5@iinet.com.au \
    --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