Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 328386 Details for
Bug 441806
dev-libs/boost[mpi,python]: Fix installation of Boost.MPI Python bindings
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
boost.patch
boost.patch (text/plain), 1.26 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2012-11-05 01:41:24 UTC
(
hide
)
Description:
boost.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2012-11-05 01:41:24 UTC
Size:
1.26 KB
patch
obsolete
>--- boost-1.51.0-r1.ebuild >+++ boost-1.51.0-r1.ebuild >@@ -247,11 +247,12 @@ > if use python; then > rm -r ${PYTHON_DIRS} || die > >- # Move mpi.so Python module to Python site-packages directory and make sure it is slotted. >+ # Move mpi.so Python module to Python site-packages directory. >+ # https://svn.boost.org/trac/boost/ticket/2838 > 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 >- cat << EOF > "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die >+ 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 > import sys > if sys.platform.startswith('linux'): > import DLFCN >@@ -424,6 +425,18 @@ > fi > } > >+pkg_postinst() { >+ if use mpi && use python; then >+ python_mod_optimize boost >+ fi >+} >+ >+pkg_postrm() { >+ if use mpi && use python; then >+ python_mod_cleanup boost >+ fi >+} >+ > # the tests will never fail because these are not intended as sanity > # tests at all. They are more a way for upstream to check their own code > # on new compilers. Since they would either be completely unreliable
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 441806
: 328386