summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e055a38c174..5c977620dc7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
pkgbase=python-extinction
_pyname=${pkgbase#python-}
pkgname=("python-${_pyname}" "python2-${_pyname}")
-pkgver=0.4.0
+pkgver=0.4.2
pkgrel=1
pkgdesc="Fast interstellar dust extinction laws in Python"
arch=('i686' 'x86_64')
url="http://extinction.readthedocs.io/"
license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-numpy' 'python2-numpy')
+makedepends=('cython' 'cython2' 'python-numpy' 'python2-numpy')
#checkdepends=('python-pytest' 'python2-pytest')
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
-md5sums=('f67c418793a4b44b4075af6d2f9b742b')
+md5sums=('a79209dc264c4d1a4a1c4fcbc37ec611')
prepare() {
cd ${srcdir}/${_pyname}-${pkgver}
@@ -40,7 +40,7 @@ check() {
}
package_python2-extinction() {
- depends=('python2-numpy')
+ depends=('python2-numpy>=1.13.3')
cd ${srcdir}/${_pyname}-${pkgver}-py2
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
@@ -49,7 +49,7 @@ package_python2-extinction() {
}
package_python-extinction() {
- depends=('python-numpy')
+ depends=('python-numpy>=1.13.3')
cd ${srcdir}/${_pyname}-${pkgver}
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"