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@lists.gentoo.org, python@gentoo.org
Subject: [gentoo-python] Re: [PATCH distutils-r1] Pass --build-platlib & --build-purelib instead of --build-lib.
Date: Sun, 17 Mar 2013 19:34:53 -0400	[thread overview]
Message-ID: <CAJ0EP40Hm5D=s61gKWrJXhQGvtPQ4cwvpQQG8EGqKvODsDX9Zw@mail.gmail.com> (raw)
In-Reply-To: <1363560848-18278-1-git-send-email-mgorny@gentoo.org>

On Sun, Mar 17, 2013 at 6:54 PM, Michał Górny <mgorny@gentoo.org> wrote:
> This allows splitting the library directories back without replacing
> the whole esetup.py invocation.
>
> Needed for wxpython, https://bugs.gentoo.org/show_bug.cgi?id=455332
> ---
>  gx86/eclass/distutils-r1.eclass | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)
>
> diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
> index 5c628ed..e1c06dd 100644
> --- a/gx86/eclass/distutils-r1.eclass
> +++ b/gx86/eclass/distutils-r1.eclass
> @@ -234,8 +234,17 @@ esetup.py() {
>                 add_args+=(
>                         build
>                         --build-base "${BUILD_DIR}"
> -                       # using a single directory for them helps us export ${PYTHONPATH}
> -                       --build-lib "${BUILD_DIR}/lib"
> +
> +                       # using a single directory for them helps us export
> +                       # ${PYTHONPATH} and ebuilds find the sources independently
> +                       # of whether the package installs extensions or not
> +                       #
> +                       # note: due to some packages (wxpython) relying on separate
> +                       # platlib & purelib dirs, we do not set --build-lib (which
> +                       # can not be overriden with --build-*lib)
> +                       --build-platlib "${BUILD_DIR}/lib"
> +                       --build-purelib "${BUILD_DIR}/lib"
> +
>                         # make the ebuild writer lives easier
>                         --build-scripts "${BUILD_DIR}/scripts"
>                 )
> --
> 1.8.1.5
>

Seems fine, and it doesn't even break paver. ;-)


  reply	other threads:[~2013-03-17 23:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-17 22:54 [gentoo-python] [PATCH distutils-r1] Pass --build-platlib & --build-purelib instead of --build-lib Michał Górny
2013-03-17 23:34 ` Mike Gilbert [this message]
2013-03-19  6:14 ` 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='CAJ0EP40Hm5D=s61gKWrJXhQGvtPQ4cwvpQQG8EGqKvODsDX9Zw@mail.gmail.com' \
    --to=floppym@gentoo.org \
    --cc=gentoo-python@lists.gentoo.org \
    --cc=mgorny@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