Commit b4ef7cc4 authored by Leo's avatar Leo Committed by Francesco Colista

community/py-numpy: fix license and url and modernize.

parent 33f71a68
......@@ -5,11 +5,11 @@
pkgname=py-numpy
_pkgname=numpy
pkgver=1.16.4
pkgrel=0
pkgrel=1
pkgdesc="Scientific tools for Python"
url="http://numpy.scipy.org/"
url="https://www.numpy.org/"
arch="all"
license="BSD"
license="BSD-3-Clause"
options="!check"
makedepends="python2-dev py-setuptools python3-dev
cython openblas-dev>=0.3.0 gfortran py-nose"
......@@ -33,14 +33,11 @@ build() {
export Atlas=None
LDFLAGS="$LDFLAGS -shared"
cd "$builddir"
python2 setup.py build config_fc --fcompiler=gnu95
python3 setup.py build config_fc --fcompiler=gnu95
}
package() {
cd "$builddir"
local python; for python in python2 python3; do
$python setup.py install --prefix=/usr --root="$pkgdir" \
config_fc --fcompiler=gnu95
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment