# Maintainer of this PKBGUILD file: Martino Pilia _name=pyca pkgname=python2-pyca-git pkgver=0.01.r434.gf31ab43 pkgrel=9 pkgdesc="Python for Computational Anatomy" arch=('x86_64') url="http://bitbucket.org/scicompanat/pyca" license=('BSD') depends=('python2-numpy') makedepends=('cmake' 'git' 'python2' 'swig>=3.0.10' 'fftw' 'boost') optdepends=('insight-toolkit: ITK file support' 'cuda: for GPU computing' 'python2-matplotlib: for full functionality in PyCA.Display and reading/writing png images' 'python2-scipy: some additional image/linear algebra functionality') source=('git+https://bitbucket.org/scicompanat/pyca.git') md5sums=('SKIP') pkgver() { cd "$srcdir/$_name" git describe --long --tags | \ sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } prepare() { cd "$srcdir/$_name" mkdir build || : cd build # temporary bugfix, a PR has already been submitted upstream sed -i 's/<< std::cout <