diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -2,7 +2,7 @@ pkgbase=python-stwcs _pyname=${pkgbase#python-} pkgname=("python-${_pyname}") -pkgver=1.6.0 +pkgver=1.6.1 pkgrel=1 pkgdesc="WCS based distortion models and coordinate transformation" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('BSD') makedepends=('python-setuptools-scm') checkdepends=('python-pytest' 'python-stsci.tools' 'python-matplotlib' 'python-lxml' 'python-requests') source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") -md5sums=('3493a79b7740518c675983496850dcef') +md5sums=('c351bf393bcdba0c03a299646cbceca2') build() { cd ${srcdir}/${_pyname}-${pkgver} @@ -22,13 +22,11 @@ build() { check() { cd ${srcdir}/${_pyname}-${pkgver} - python setup.py test -# ls "${srcdir}/${_pyname}-${pkgver}/build/lib" -# PYTHONPATH="${srcdir}/${_pyname}-${pkgver}/build/lib" pytest + pytest || warning "Tests failed" } package_python-stwcs() { - depends=('python>=3.5' 'python-stsci.tools>=3.6' 'python-requests' 'python-lxml') + depends=('python>=3.6' 'python-astropy' 'python-stsci.tools>=3.6' 'python-requests' 'python-lxml') optdepends=('python-stwcs-doc: Documentation for STWCS') cd ${srcdir}/${_pyname}-${pkgver} |