You are not logged in.

#1 2007-04-27 05:10:05

goether
Member
Registered: 2007-04-27
Posts: 8

Trouble using PKGBUILD for python-numpy-svn

I ran the PKGBUILD with makepkg but before it craps out it gives me this error

File "/var/abs/local/python-numpy-svn/src/numpy-build/numpy/distutils/misc_util.py", line 1298, in make_svn_version_py
    self.add_data_files(('', generate_svn_version_py()))
  File "/var/abs/local/python-numpy-svn/src/numpy-build/numpy/distutils/misc_util.py", line 1281, in generate_svn_version_py
    assert revision is not None,'hmm, why I am not inside SVN tree???'
AssertionError: hmm, why I am not inside SVN tree???
==> ERROR: Build Failed.  Aborting...

this is the PKGBUILD file for numpy-svn... is there some change i need to make to make it work??
Thank you so much!!!


pkgname=python-numpy-svn
pkgver=3157
pkgrel=1
pkgdesc="Scientific tools for Python"
url="http://www.scipy.org/NumPy"
depends=('python>=2.4' 'fftw' 'atlas-lapack>=3.7.11')
makedepends=('gcc-fortran' 'subversion')
provides=('python-numpy')
conflicts=('python-numpy')
source=()
md5sums=()

_svntrunk=http://svn.scipy.org/svn/numpy/trunk 
_svnmod=numpy

build() {
  cd $startdir/src/

  svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod


  msg "SVN checkout done or server timeout"
  msg "Starting make..."
  
  cd $_svnmod
  mkdir ../$_svnmod-build
  cp -r ../$_svnmod/* ../$_svnmod-build
  cd ../$_svnmod-build
  
  python setup.py config_fc --fcompiler=gnu95 build || return 1
  python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr --root=$startdir/pkg

  rm -r $startdir/src/$_svnmod-build
}

Offline

Board footer

Powered by FluxBB