aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-numpy
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-03-22 17:25:50 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-03-22 17:25:50 +0000
commitbd97ca2f65ea9e14c445d6e4f7bd557c97c24293 (patch)
tree3bcbb53ba24581b520ce9f120d5963afebd52651 /testing/py-numpy
parent94a863e24043689d36f2d2d63efc22ace1c9cbb9 (diff)
downloadaports-bd97ca2f65ea9e14c445d6e4f7bd557c97c24293.tar.bz2
aports-bd97ca2f65ea9e14c445d6e4f7bd557c97c24293.tar.xz
testing/py-numpy: enabled fortran compiler
Diffstat (limited to 'testing/py-numpy')
-rw-r--r--testing/py-numpy/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/testing/py-numpy/APKBUILD b/testing/py-numpy/APKBUILD
index 86f1bf636a..8f9b3581a1 100644
--- a/testing/py-numpy/APKBUILD
+++ b/testing/py-numpy/APKBUILD
@@ -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
}