public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert (floppym)" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/boost: boost-1.48.0-r1.ebuild ChangeLog
Date: Mon,  2 Apr 2012 00:53:01 +0000 (UTC)	[thread overview]
Message-ID: <20120402005301.27B742004B@flycatcher.gentoo.org> (raw)

floppym     12/04/02 00:53:01

  Modified:             boost-1.48.0-r1.ebuild ChangeLog
  Log:
  Fix handling of mpi Python modules (bug #404253). Delete old patch. Backported from Progress Overlay. Patch by Arfrever.
  
  (Portage version: 2.2.0_alpha98/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  dev-libs/boost/boost-1.48.0-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/boost-1.48.0-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/boost-1.48.0-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/boost-1.48.0-r1.ebuild?r1=1.3&r2=1.4

Index: boost-1.48.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- boost-1.48.0-r1.ebuild	14 Feb 2012 19:57:04 -0000	1.3
+++ boost-1.48.0-r1.ebuild	2 Apr 2012 00:53:01 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r1.ebuild,v 1.3 2012/02/14 19:57:04 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r1.ebuild,v 1.4 2012/04/02 00:53:01 floppym Exp $
 
 EAPI="4"
 PYTHON_DEPEND="python? *"
@@ -24,7 +24,7 @@
 	mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
 	sys-libs/zlib
 	!!<=dev-libs/boost-1.35.0-r2
-	>=app-admin/eselect-boost-0.3"
+	>=app-admin/eselect-boost-0.4"
 DEPEND="${RDEPEND}
 	>=dev-util/boost-build-1.48.0-r1:${SLOT}"
 
@@ -127,12 +127,6 @@
 	epatch "${FILESDIR}/${P}-python_linking.patch"
 	epatch "${FILESDIR}/${P}-disable_icu_rpath.patch"
 	epatch "${FILESDIR}/remove-toolset-${PV}.patch"
-
-	# This enables building the boost.random library with /dev/urandom support
-	if [[ -e /dev/urandom ]]; then
-		mkdir -p libs/random/build || die
-		cp "${FILESDIR}/random-Jamfile-${PV}" libs/random/build/Jamfile.v2 || die
-	fi
 }
 
 src_configure() {
@@ -271,7 +265,7 @@
 	fi
 
 	if use mpi && use python; then
-		_add_line "python=\""
+		_add_line "python_modules=\""
 	fi
 
 	installation() {
@@ -325,8 +319,20 @@
 			if use mpi; then
 				mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
 				mv "${D}usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
-				touch "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
-				_add_line "$(python_get_sitedir)/boost_${MAJOR_PV}/mpi.so"
+				cat << EOF > "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
+import sys
+if sys.platform.startswith('linux'):
+	import DLFCN
+	flags = sys.getdlopenflags()
+	sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
+	from . import mpi
+	sys.setdlopenflags(flags)
+	del DLFCN, flags
+else:
+	from . import mpi
+del sys
+EOF
+				_add_line "$(python_get_sitedir)/mpi.py:boost_${MAJOR_PV}.mpi"
 			fi
 		fi
 	}



1.238                dev-libs/boost/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/ChangeLog?rev=1.238&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/ChangeLog?rev=1.238&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/boost/ChangeLog?r1=1.237&r2=1.238

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -r1.237 -r1.238
--- ChangeLog	14 Feb 2012 19:57:04 -0000	1.237
+++ ChangeLog	2 Apr 2012 00:53:01 -0000	1.238
@@ -1,6 +1,10 @@
 # ChangeLog for dev-libs/boost
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.237 2012/02/14 19:57:04 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.238 2012/04/02 00:53:01 floppym Exp $
+
+  02 Apr 2012; Mike Gilbert <floppym@gentoo.org> boost-1.48.0-r1.ebuild:
+  Fix handling of mpi Python modules (bug #404253). Delete old patch. Backported
+  from Progress Overlay. Patch by Arfrever.
 
   14 Feb 2012; Markos Chandras <hwoarang@gentoo.org> boost-1.48.0-r1.ebuild:
   update header per bug #403671






             reply	other threads:[~2012-04-02  0:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02  0:53 Mike Gilbert (floppym) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-02-14 19:57 [gentoo-commits] gentoo-x86 commit in dev-libs/boost: boost-1.48.0-r1.ebuild ChangeLog Markos Chandras (hwoarang)
2012-02-04 19:31 Markos Chandras (hwoarang)

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=20120402005301.27B742004B@flycatcher.gentoo.org \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.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