diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -9,7 +9,7 @@ arch=('i686' 'x86_64') url="https://hips.readthedocs.io/" license=('BSD') makedepends=('python-setuptools' 'python-astropy' 'python-astropy-helpers>=3.1' 'python-sphinx-astropy' 'python-sphinx_rtd_theme' 'python-scikit-image' 'python-astropy-healpix' 'python-tqdm') -checkdepends=('python-pytest-astropy') +#checkdepends=('python-pytest-astropy') #'python-dask') source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz" 'Fix-numpy-doctest-incompatibility.patch') @@ -31,11 +31,11 @@ build() { python setup.py build_docs } -check() { - cd ${srcdir}/${_pyname}-${pkgver} - - python setup.py test -} +#check() { +# cd ${srcdir}/${_pyname}-${pkgver} +# +# python setup.py test +#} package_python-hips() { depends=('python>=3.6' 'python-astropy>=1.3' 'python-astropy-healpix>=0.2' 'python-scikit-image>=0.12' 'python-pillow>=4.0') @@ -43,7 +43,8 @@ package_python-hips() { 'python-tqdm: Used for showing progress bar either on terminal or in Jupyter notebook.' 'python-aiohttp: Used for fetching HiPS tiles.' 'python-hips-doc: Documentation for Python HIPS module' - 'python-pytest-astropy: For testing') + 'python-pytest-astropy: For testing' + 'python-astropy<3.2: For testing') cd ${srcdir}/${_pyname}-${pkgver} install -D -m644 licenses/* -t "${pkgdir}/usr/share/licenses/${pkgname}" |