diff options
author | Universebenzene | 2019-09-03 13:22:14 +0800 |
---|---|---|
committer | Universebenzene | 2019-09-03 13:22:14 +0800 |
commit | f3eff35a9669051ad03a5f1c07f5c252a029eb8d (patch) | |
tree | 7cd6bbbfbb44e2549556e5f130ec3a79891ec7f5 /PKGBUILD | |
parent | 639291f27b8de6d13d1c17ebe52993046a9435cc (diff) | |
download | aur-f3eff35a9669051ad03a5f1c07f5c252a029eb8d.tar.gz |
Update to version 0.5.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -2,20 +2,19 @@ pkgbase=python-reproject _pyname=${pkgbase#python-} pkgname=("python-${_pyname}" "python2-${_pyname}" "python-${_pyname}-doc") -pkgver=0.4 -pkgrel=3 +pkgver=0.5.1 +pkgrel=1 pkgdesc="Python-based Astronomical image reprojection" arch=('i686' 'x86_64') url="http://reproject.readthedocs.io/en/stable/" license=('BSD') -makedepends=('cython' 'cython2' 'python-astropy>=2.0' 'python2-astropy>=2.0' 'python-astropy-helpers31' 'python2-astropy-helpers' 'python-astropy-healpix>=0.2' 'python2-astropy-healpix>=0.2' 'python-sphinx-astropy') -checkdepends=('python-shapely' 'python-pytest-astropy') +makedepends=('cython' 'cython2' 'python-astropy>=2.0' 'python2-astropy>=2.0' 'python-astropy-helpers' 'python2-astropy-helpers' 'python-astropy-healpix>=0.2' 'python2-astropy-healpix>=0.2' 'python-sphinx-astropy') +#checkdepends=('python-shapely' 'python-pytest-astropy') source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") -md5sums=('56777bf5c2f8e2a7c0a05b3d058943c2') +md5sums=('3de3fddddea39425e175d78fc62039a2') prepare() { cd ${srcdir}/${_pyname}-${pkgver} - sed -i -e '/[pytest]/s/pytest/tool:pytest/' setup.cfg sed -i -e '/auto_use/s/True/False/' setup.cfg cp -a ${srcdir}/${_pyname}-${pkgver}{,-py2} @@ -34,15 +33,15 @@ build() { python setup.py build_docs } -check() { +#check() { # msg "Checking Python3" - cd ${srcdir}/${_pyname}-${pkgver} - python setup.py test +# cd ${srcdir}/${_pyname}-${pkgver} +# python setup.py test # msg "Checking Python2" # cd ${srcdir}/${_pyname}-${pkgver}-py2 # python2 setup.py test -} +#} package_python2-reproject() { depends=('python2>=2.7' 'python2-numpy>=1.10' 'python2-scipy>=0.9' 'python2-astropy>=2.0' 'python2-astropy-healpix>=0.2') @@ -58,7 +57,7 @@ package_python2-reproject() { package_python-reproject() { depends=('python>=3.5' 'python-numpy>=1.10' 'python-scipy>=0.9' 'python-astropy>=2.0' 'python-astropy-healpix>=0.2') - optdepends=('python-shapely: For some of the mosaicking functionality' + optdepends=('python-shapely>=1.6: For some of the mosaicking functionality' 'python-reproject-doc: Documentation for Reproject' 'python-pytest-astropy: For testing') cd ${srcdir}/${_pyname}-${pkgver} |