diff options
author | Rich Li | 2016-08-08 12:41:26 -0700 |
---|---|---|
committer | Rich Li | 2016-08-08 12:41:26 -0700 |
commit | 35ab476c2c471c564c1c9850faee10e0410e7868 (patch) | |
tree | e921996461a8a80924e88bc6de45a2ac7e80c1af | |
parent | 46d78e1f4480180a3822669668c6232f155dfb8a (diff) | |
download | aur-35ab476c2c471c564c1c9850faee10e0410e7868.tar.gz |
Switch from nose to pytest
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -5,7 +5,7 @@ pkgbase = python2-xarray url = http://xarray.pydata.org arch = any license = Apache - checkdepends = python2-nose + checkdepends = python2-pytest makedepends = python2-setuptools depends = python2-numpy depends = python2-pandas @@ -14,7 +14,7 @@ optdepends=('python2-netcdf4: NetCDF4 support' 'python2-scipy: OPeNDAP support' 'python2-matplotlib: Plotting support') # 'python2-dask: Enable out-of-core parallel computation') # (doesn't exist in AUR) -checkdepends=('python2-nose') +checkdepends=('python2-pytest') replaces=('python2-xray') #source=(https://pypi.python.org/packages/source/x/xarray/xarray-"$pkgver".tar.gz) # I'm using the Github source instead of the PyPI source since the Github source includes the data files used for testing @@ -30,7 +30,7 @@ build() { check() { cd "$srcdir/xarray-$pkgver" - nosetests2 + py.test2 xarray } package() { |