Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-python@l.g.o, python@g.o
Subject: Re: [gentoo-python] [PATCH 2/2] Move PYTHON_COMPAT, IUSE and REQUIRED_USE to python-r1.
Date: Fri, 14 Sep 2012 09:13:45
Message-Id: 20120914111331.509d4418@pomiocik.lan
In Reply to: [gentoo-python] [PATCH 2/2] Move PYTHON_COMPAT, IUSE and REQUIRED_USE to python-r1. by "Michał Górny"
1 On Fri, 14 Sep 2012 11:10:40 +0200
2 Michał Górny <mgorny@g.o> wrote:
3
4 > +_python_set_globals() {
5 > + IUSE=${PYTHON_COMPAT[@]/#/python_targets_}
6 > + REQUIRED_USE="|| ( ${IUSE} )"
7 > +}
8 > +_python_set_globals
9
10 As a note, I'm using a function here so I will be able to introduce
11 local variables when adding *DEPEND generation.
12
13 --
14 Best regards,
15 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature