public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Gilbert <floppym@gentoo.org>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-python <gentoo-python@lists.gentoo.org>
Subject: Re: [gentoo-python] [PATCH] Introduce python_setup() as a common name for Python setup function.
Date: Sun, 20 Oct 2013 10:53:34 -0400	[thread overview]
Message-ID: <CAJ0EP42z-kCFEMytWOSJ032yAnwrv6sx1zCiqOh1eJVDjves4g@mail.gmail.com> (raw)
In-Reply-To: <1382254606-26643-1-git-send-email-mgorny@gentoo.org>

On Sun, Oct 20, 2013 at 3:36 AM, Michał Górny <mgorny@gentoo.org> wrote:
> As described in the ml, the new function does:
>
> * in python-any-r1, choose and set up the best installed impl,
>
> * in python-single-r1, read PYTHON_SINGLE_TARGET and set it up,
>
> * in python-r1, call python_export_best + python_wrapper_setup.
>
> In other words, it's a common way of getting Python build environment
> set up in the ebuild scope.

Invoking python_setup from pkg_setup in any eclass seems sub-optimal;
especially so in python-any-r1. However, I realize there isn't a great
place to put it.

Looks ok to me.


  reply	other threads:[~2013-10-20 14:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-20  7:36 [gentoo-python] [PATCH] Introduce python_setup() as a common name for Python setup function Michał Górny
2013-10-20 14:53 ` Mike Gilbert [this message]
2013-10-20 15:12   ` Michał Górny
2013-10-20 15:33     ` Mike Gilbert
2013-10-20 15:47       ` Michał Górny
2013-10-20 16:26         ` Mike Gilbert
2013-10-22 15:18 ` 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=CAJ0EP42z-kCFEMytWOSJ032yAnwrv6sx1zCiqOh1eJVDjves4g@mail.gmail.com \
    --to=floppym@gentoo.org \
    --cc=gentoo-python@lists.gentoo.org \
    --cc=mgorny@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