public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-python@lists.gentoo.org, python@gentoo.org
Subject: Re: [gentoo-python] [PATCH 2/2] Move PYTHON_COMPAT, IUSE and REQUIRED_USE to python-r1.
Date: Fri, 14 Sep 2012 11:13:31 +0200	[thread overview]
Message-ID: <20120914111331.509d4418@pomiocik.lan> (raw)
In-Reply-To: <1347613840-8247-3-git-send-email-mgorny@gentoo.org>

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

On Fri, 14 Sep 2012 11:10:40 +0200
Michał Górny <mgorny@gentoo.org> wrote:

> +_python_set_globals() {
> +	IUSE=${PYTHON_COMPAT[@]/#/python_targets_}
> +	REQUIRED_USE="|| ( ${IUSE} )"
> +}
> +_python_set_globals

As a note, I'm using a function here so I will be able to introduce
local variables when adding *DEPEND generation.

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

  reply	other threads:[~2012-09-14  9:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-14  9:10 [gentoo-python] First steps in python-r1.eclass Michał Górny
2012-09-14  9:10 ` [gentoo-python] [PATCH 1/2] Support PYTHON_COMPAT being an array Michał Górny
2012-09-14  9:10 ` [gentoo-python] [PATCH 2/2] Move PYTHON_COMPAT, IUSE and REQUIRED_USE to python-r1 Michał Górny
2012-09-14  9:13   ` Michał Górny [this message]
2012-09-14 20:32 ` [gentoo-python] [PATCH] Generate python depstrings in python-r1 Michał Górny

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=20120914111331.509d4418@pomiocik.lan \
    --to=mgorny@gentoo.org \
    --cc=gentoo-python@lists.gentoo.org \
    --cc=python@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