aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-numpy/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py-numpy/APKBUILD')
-rw-r--r--community/py-numpy/APKBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/community/py-numpy/APKBUILD b/community/py-numpy/APKBUILD
index 193137c56a..ee425c660f 100644
--- a/community/py-numpy/APKBUILD
+++ b/community/py-numpy/APKBUILD
@@ -4,14 +4,13 @@
pkgname=py-numpy
_pkgname=numpy
pkgver=1.12.0
-pkgrel=0
+pkgrel=1
pkgdesc="Scientific tools for Python"
url="http://numpy.scipy.org/"
arch="all"
license="BSD"
-depends="gfortran"
depends_dev="python2-dev python3-dev cython-dev openblas-dev"
-makedepends="$depends_dev py-setuptools py-nose"
+makedepends="$depends_dev gfortran py-setuptools py-nose"
subpackages="$pkgname-dev
$pkgname-doc
$pkgname-f2py::noarch
@@ -73,7 +72,7 @@ _f2py() {
local python="python$pyver"
pkgdesc="f2py for numpy (for $python)"
- depends="py$pyver-numpy"
+ depends="py$pyver-numpy=$pkgver-r$pkgrel $python-dev"
install_if="$pkgname-f2py=$pkgver-r$pkgrel $python"
[ "$pyver" = 3 ] || replaces="$pkgname"