public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tiziano Müller" <dev-zero@gentoo.org>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-python@lists.gentoo.org, python@gentoo.org, cpp@gentoo.org
Subject: [gentoo-python] Re: [PATCH 2/3] Commonize out $(python_get_sitedir)/boost into a variable.
Date: Sat, 15 Dec 2012 12:35:52 +0100	[thread overview]
Message-ID: <1355571352.795013.10.camel@storm> (raw)
In-Reply-To: <1355522916-23815-3-git-send-email-mgorny@gentoo.org>

mostly bikeshedding and I am not sure whether I should support your
crusade against subshells: but ok

Am Freitag, den 14.12.2012, 23:08 +0100 schrieb Michał Górny:
> ---
>  gx86/dev-libs/boost/boost-1.52.0-r5.ebuild | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/gx86/dev-libs/boost/boost-1.52.0-r5.ebuild b/gx86/dev-libs/boost/boost-1.52.0-r5.ebuild
> index 4f20fdf..87c7561 100644
> --- a/gx86/dev-libs/boost/boost-1.52.0-r5.ebuild
> +++ b/gx86/dev-libs/boost/boost-1.52.0-r5.ebuild
> @@ -205,9 +205,10 @@ src_install () {
>  			# Move mpi.so Python module to Python site-packages directory.
>  			# https://svn.boost.org/trac/boost/ticket/2838
>  			if use mpi; then
> -				dodir $(python_get_sitedir)/boost
> -				mv "${D}usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost" || die
> -				cat << EOF > "${D}$(python_get_sitedir)/boost/__init__.py" || die
> +				local moddir=$(python_get_sitedir)/boost
> +				dodir "${moddir}"
> +				mv "${D}usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
> +				cat << EOF > "${D}${moddir}/__init__.py" || die
>  import sys
>  if sys.platform.startswith('linux'):
>  	import DLFCN




  reply	other threads:[~2012-12-15 11:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-14 22:08 [gentoo-python] [PATCHes] boost migration to python-r1 Michał Górny
2012-12-14 22:08 ` [gentoo-python] [PATCH 1/3] Let boost figure out the Python includedir itself Michał Górny
2012-12-15 11:34   ` [gentoo-python] " Tiziano Müller
2012-12-15 14:27     ` [gentoo-python] [PATCH] Pass absolute Python interpreter path to boost Michał Górny
2012-12-14 22:08 ` [gentoo-python] [PATCH 2/3] Commonize out $(python_get_sitedir)/boost into a variable Michał Górny
2012-12-15 11:35   ` Tiziano Müller [this message]
2012-12-15 12:02     ` [gentoo-python] " Michał Górny
2012-12-14 22:08 ` [gentoo-python] [PATCH 3/3] Convert to python-r1 Michał Górny
2012-12-15 11:42   ` [gentoo-python] " Tiziano Müller
2012-12-15 12:17     ` 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=1355571352.795013.10.camel@storm \
    --to=dev-zero@gentoo.org \
    --cc=cpp@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