diff options
author | graziano.giuliani | 2016-12-22 15:10:12 +0100 |
---|---|---|
committer | graziano.giuliani | 2016-12-22 15:10:12 +0100 |
commit | 9bce29b508b63e4c1b43c08629602afda9ba6090 (patch) | |
tree | 48b5357dd0f79ae1b6729c2ebdd0d7079372ec1f /PKGBUILD | |
parent | 1a333094a90ffc94bfc8c4b5192cfeaff17df1f6 (diff) | |
download | aur-9bce29b508b63e4c1b43c08629602afda9ba6090.tar.gz |
ported to eccodes
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,13 +3,13 @@ pkgname=python2-bufr _py_pkgname=python-bufr # The pypi package name pkgver="0.2.5" _py_pkgver="0.2-5" # the official version has a hyphen -pkgrel=2 +pkgrel=3 pkgdesc="Generic Python BUFR file reader based on ECMWF BUFR library" arch=('i686' 'x86_64') url="https://github.com/pytroll/python-bufr" license=('GPL3') depends=('python2') -makedepends=('python2-numpy' 'libbufr-ecmwf') +makedepends=('python2-numpy' 'eccodes') options=(!emptydirs) source=(https://github.com/pytroll/python-bufr/archive/v0.2-5.tar.gz) md5sums=('78cb04b43e61d7c097a0b8f8c805ab3f') @@ -22,6 +22,7 @@ build() { -e "s|^#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ -e "s|^#![ ]*/bin/env python$|#!/usr/bin/env python2|" \ $(find ${srcdir} -name '*.py') + sed -i setup.py -e 's/libraries = \[\x27bufr/libraries = \[\x27eccodes/' python2 setup.py build } |