mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
testing/py-numpy: enabled fortran compiler
This commit is contained in:
parent
94a863e240
commit
bd97ca2f65
1 changed files with 6 additions and 4 deletions
|
@ -3,12 +3,12 @@
|
|||
pkgname=py-numpy
|
||||
_pkgname=numpy
|
||||
pkgver=1.7.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Scientific tools for Python"
|
||||
url="http://numpy.scipy.org/"
|
||||
arch="all"
|
||||
license="custom"
|
||||
depends=""
|
||||
depends="gfortran"
|
||||
depends_dev="python-dev"
|
||||
makedepends="$depends_dev"
|
||||
install=""
|
||||
|
@ -27,13 +27,15 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
python setup.py build || return 1
|
||||
export Atles=None
|
||||
LDFLAGS="$LDFLAGS -shared"
|
||||
python setup.py build config_fc --fcompiler=gnu95 || return 1
|
||||
}
|
||||
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
||||
python setup.py install --prefix=/usr --root="$pkgdir" config_fc --fcompiler=gnu95 || return 1
|
||||
install -m755 -d "$pkgdir"/usr/share/licenses/custom/$pkgname
|
||||
install -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/custom/$pkgname/LICENSE
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue