Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94286 Details for
Bug 143964
dev-python/numpy-1.0_beta2.ebuild (latest version)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
numpy-1.0_beta2.ebuild
numpy-1.0_beta2.ebuild (text/plain), 1.52 KB, created by
Tim Cera
on 2006-08-14 21:43:44 UTC
(
hide
)
Description:
numpy-1.0_beta2.ebuild
Filename:
MIME Type:
Creator:
Tim Cera
Created:
2006-08-14 21:43:44 UTC
Size:
1.52 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-0.9.8.ebuild,v 1.2 2006/07/17 16:24:50 liquidx Exp $ > >inherit distutils > >MY_P="${P/_p/}" >MY_S="${WORKDIR}/${MY_P}" >DESCRIPTION="Multi-dimensional array object and processing for Python." >SRC_URI="mirror://sourceforge/numpy/${MY_P}.tar.gz" >HOMEPAGE="http://numeric.scipy.org/" ># numpy provides the latest version of dev-python/f2py >DEPEND=">=dev-lang/python-2.3 > !dev-python/f2py > lapack? ( virtual/blas > virtual/lapack )" >IUSE="lapack" >SLOT="0" >KEYWORDS="~amd64 ~ppc x86" >LICENSE="BSD" > >src_unpack() { > unpack "${MY_P}.tar.gz" > cd "${MY_S}" > # sed to patch ATLAS libraries names (gentoo specific) > sed -i \ > -e "s:f77blas:blas:g" \ > numpy/distutils/system_info.py > > if use lapack; then > echo "[atlas]" > site.cfg > echo "include_dirs = /usr/include/atlas" >> site.cfg > echo "atlas_libs = lapack, blas, cblas, atlas" >> site.cfg > echo -n "library_dirs = /usr/$(get_libdir)/lapack:" >> site.cfg > if [ -d "/usr/$(get_libdir)/blas/threaded-atlas" ]; then > echo "/usr/$(get_libdir)/blas/threaded-atlas" >> site.cfg > else > echo "/usr/$(get_libdir)/blas/atlas" >> site.cfg > fi > else > export ATLAS=None > fi >} > >src_compile() { > cd "${MY_S}" > distutils_src_compile >} > >src_install() { > cd "${MY_S}" > distutils_src_install > dodoc numpy/doc/* >} > > ># The test only works after install ># To be worked out. >#src_test() { ># python -c "import numpy; numpy.test()" || \ ># die "test 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 Raw
Actions:
View
Attachments on
bug 143964
: 94286