summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD26
2 files changed, 19 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fcccb474a21..20450284ae1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,23 @@
pkgbase = python-regions
pkgdesc = Astropy affilated package for region handling
- pkgver = 0.3
+ pkgver = 0.4
pkgrel = 1
url = http://astropy-regions.readthedocs.io/en/latest/
arch = i686
arch = x86_64
license = BSD
+ checkdepends = python-pytest-astropy
+ checkdepends = python-astropy-healpix
makedepends = cython
makedepends = cython2
makedepends = python-astropy>=1.3
makedepends = python2-astropy>=1.3
- makedepends = python-astropy-helpers31
+ makedepends = python-astropy-helpers
makedepends = python2-astropy-helpers
makedepends = python-sphinx-astropy
makedepends = python-shapely
- source = https://files.pythonhosted.org/packages/source/r/regions/regions-0.3.tar.gz
- md5sums = b2f0b08cdaa2b40519de665f9af2a25a
+ source = https://files.pythonhosted.org/packages/source/r/regions/regions-0.4.tar.gz
+ md5sums = d1bb0818478d4eca71abefbdfa6373bc
pkgname = python-regions
depends = python>=3.4
diff --git a/PKGBUILD b/PKGBUILD
index aa986f961dd..7e478b165ae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
pkgbase=python-regions
_pyname=${pkgbase#python-}
pkgname=("python-${_pyname}" "python2-${_pyname}" "python-${_pyname}-doc")
-pkgver=0.3
+pkgver=0.4
pkgrel=1
pkgdesc="Astropy affilated package for region handling"
arch=('i686' 'x86_64')
url="http://astropy-regions.readthedocs.io/en/latest/"
license=('BSD')
-makedepends=('cython' 'cython2' 'python-astropy>=1.3' 'python2-astropy>=1.3' 'python-astropy-helpers31' 'python2-astropy-helpers' 'python-sphinx-astropy' 'python-shapely')
-#checkdepends=('python-pytest-astropy' 'python-astropy-healpix')
+makedepends=('cython' 'cython2' 'python-astropy>=1.3' 'python2-astropy>=1.3' 'python-astropy-helpers' 'python2-astropy-helpers' 'python-sphinx-astropy' 'python-shapely')
+checkdepends=('python-pytest-astropy' 'python-astropy-healpix')
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
-md5sums=('b2f0b08cdaa2b40519de665f9af2a25a')
+md5sums=('d1bb0818478d4eca71abefbdfa6373bc')
prepare() {
cd ${srcdir}/${_pyname}-${pkgver}
@@ -33,15 +33,15 @@ build() {
python setup.py build_docs
}
-#check() {
-## msg "Checking Python3"
-# cd ${srcdir}/${_pyname}-${pkgver}
-# python setup.py test
-#
-## msg "Checking Python2"
-## cd ${srcdir}/${_pyname}-${pkgver}-py2
-## python2 setup.py test
-#}
+check() {
+# msg "Checking Python3"
+ cd ${srcdir}/${_pyname}-${pkgver}
+ python setup.py test
+
+# msg "Checking Python2"
+# cd ${srcdir}/${_pyname}-${pkgver}-py2
+# python2 setup.py test
+}
package_python2-regions() {
depends=('python2>=2.7' 'python2-numpy>=1.9' 'python2-astropy>=1.3')