Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 198149 Details for
Bug 278028
[patch] sci-physics/camfr does not build with python-2.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to ebuild to use python eclass for python dir magic
camfr-20070717-r1.ebuild.diff (text/plain), 1.11 KB, created by
Dustin Polke
on 2009-07-16 10:17:44 UTC
(
hide
)
Description:
Patch to ebuild to use python eclass for python dir magic
Filename:
MIME Type:
Creator:
Dustin Polke
Created:
2009-07-16 10:17:44 UTC
Size:
1.11 KB
patch
obsolete
>--- /usr/portage/sci-physics/camfr/camfr-20070717-r1.ebuild 2009-04-12 10:07:53.000000000 +0200 >+++ camfr-20070717-r1.ebuild 2009-07-16 12:00:40.000000000 +0200 >@@ -3,7 +3,7 @@ > # $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r1.ebuild,v 1.3 2009/03/14 14:25:38 bicatali Exp $ > > EAPI=2 >-inherit eutils distutils fortran >+inherit eutils distutils fortran python > > DESCRIPTION="Full vectorial Maxwell solver based on eigenmode expansion" > HOMEPAGE="http://camfr.sourceforge.net/" >@@ -31,6 +31,15 @@ > src_prepare() { > epatch "${FILESDIR}"/${P}-gcc43.patch > cp "${FILESDIR}"/machine_cfg.py.gentoo machine_cfg.py || die >+ >+ # Configure to compile against selected python version >+ python_version >+ cat <<-EOF >> machine_cfg.py >+ include_dirs = [] >+ include_dirs.append("/usr/include/python${PYVER}") >+ include_dirs.append("$(python_get_sitedir)") >+ EOF >+ > local lapack_libs= > for x in $(pkg-config --libs-only-l lapack); do > lapack_libs="${lapack_libs}, \"${x#-l}\"" >@@ -62,6 +71,7 @@ > } > > src_install() { >+ python_need_rebuild > distutils_src_install > dodoc docs/camfr.pdf || die "doc install failed" > }
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 278028
: 198149 |
198151