diff options
author | Spyros Stathopoulos | 2017-01-09 00:50:04 +0200 |
---|---|---|
committer | Spyros Stathopoulos | 2017-01-09 00:50:04 +0200 |
commit | 4ec30252c3c55cbdc80be2c77dec6a1744a4442b (patch) | |
tree | 67595c298732d680511425eeef2e84aa4aff7e53 | |
parent | 6d06806b12f5685215731f473845cfb922a95176 (diff) | |
download | aur-4ec30252c3c55cbdc80be2c77dec6a1744a4442b.tar.gz |
Update to 1.2.7 proper
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 12 insertions, 19 deletions
@@ -1,15 +1,14 @@ # Generated by mksrcinfo v8 -# Fri Jan 6 20:22:15 UTC 2017 +# Sun Jan 8 22:49:37 UTC 2017 pkgbase = python-netcdf4 pkgdesc = A python3 library for reading, manpiulating and creating netcdf files - pkgver = 1.2.7pre + pkgver = 1.2.7 pkgrel = 1 url = https://unidata.github.io/netcdf4-python/ arch = x86_64 arch = i686 license = MIT makedepends = cython - makedepends = xz depends = python<=3.6.99 depends = python>3.5.99 depends = python-numpy @@ -17,10 +16,8 @@ pkgbase = python-netcdf4 depends = hdf5 optdepends = python2-netcdf4: python 2 version, includes docs and examples optdepends = curl: for OPeNDAP suport - source = https://github.com/Unidata/netcdf4-python/archive/v1.2.6rel.tar.gz - source = git6350c32.diff.xz - md5sums = 2f131c845b279d233105b226bc632798 - md5sums = 9f4c3c98762c9d5bf5d7a9fef0a526cb + source = https://github.com/Unidata/netcdf4-python/archive/v1.2.7rel.tar.gz + md5sums = 3400d5d122950a68f9b75695bedd6f01 pkgname = python-netcdf4 @@ -3,8 +3,7 @@ # Contributor: rememberthemer <rememberthemer@_GMAIL_DOT_COM_> pkgname=python-netcdf4 -pkgver=1.2.7pre -_pkgver=1.2.6 +pkgver=1.2.7 pkgrel=1 pkgdesc="A python3 library for reading, manpiulating and creating netcdf files" arch=('x86_64' 'i686') @@ -13,34 +12,31 @@ license=('MIT') depends=('python<=3.6.99' 'python>3.5.99' 'python-numpy' 'netcdf>=4.1.2' 'hdf5') -makedepends=('cython' 'xz') +makedepends=('cython') optdepends=('python2-netcdf4: python 2 version, includes docs and examples' 'curl: for OPeNDAP suport') -source=("https://github.com/Unidata/netcdf4-python/archive/v${_pkgver}rel.tar.gz" - "git6350c32.diff.xz") -md5sums=('2f131c845b279d233105b226bc632798' - '9f4c3c98762c9d5bf5d7a9fef0a526cb') +source=("https://github.com/Unidata/netcdf4-python/archive/v${pkgver}rel.tar.gz") +md5sums=('3400d5d122950a68f9b75695bedd6f01') prepare() { - cd "$srcdir"/netcdf4-python-${_pkgver}rel - patch -p1 < ../'git6350c32.diff' + cd "$srcdir"/netcdf4-python-${pkgver}rel } build() { - cd "$srcdir"/netcdf4-python-${_pkgver}rel + cd "$srcdir"/netcdf4-python-${pkgver}rel 2to3 -vnw setup.py USE_NCCONFIG=1 python setup.py clean --all USE_NCCONFIG=1 python setup.py build } check() { - cd "${srcdir}"/netcdf4-python-${_pkgver}rel + cd "${srcdir}"/netcdf4-python-${pkgver}rel cd "test" NO_NET=1 PYTHONPATH="../build/lib.linux-${CARCH}-3.6" python -B ./run_all.py } package() { - cd "$srcdir"/netcdf4-python-${_pkgver}rel + cd "$srcdir"/netcdf4-python-${pkgver}rel USE_NCCONFIG=1 python setup.py install --prefix=/usr \ --root="$pkgdir" --skip-build --optimize 2 |