diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2013-03-22 15:50:37 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2013-03-22 15:50:54 +0000 |
commit | 94a863e24043689d36f2d2d63efc22ace1c9cbb9 (patch) | |
tree | 2db2685079be8490998f7845d49183f47185aea6 /testing/py-numpy | |
parent | 0dda559447ab38dca2ec7cbd9afe1c8a510ce8a4 (diff) | |
download | aports-94a863e24043689d36f2d2d63efc22ace1c9cbb9.tar.bz2 aports-94a863e24043689d36f2d2d63efc22ace1c9cbb9.tar.xz |
testing/py-numpy: fixes #1708
Diffstat (limited to 'testing/py-numpy')
-rw-r--r-- | testing/py-numpy/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/py-numpy/APKBUILD b/testing/py-numpy/APKBUILD new file mode 100644 index 0000000000..86f1bf636a --- /dev/null +++ b/testing/py-numpy/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=py-numpy +_pkgname=numpy +pkgver=1.7.0 +pkgrel=0 +pkgdesc="Scientific tools for Python" +url="http://numpy.scipy.org/" +arch="all" +license="custom" +depends="" +depends_dev="python-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + install -m755 -d "$pkgdir"/usr/share/licenses/custom/$pkgname + install -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/custom/$pkgname/LICENSE +} + +md5sums="4fa54e40b6a243416f0248123b6ec332 numpy-1.7.0.tar.gz" +sha256sums="f4fa70b7edbab65ee6432eb63743f5489f1919c614632b20b2fb45aa7e682ac6 numpy-1.7.0.tar.gz" +sha512sums="a485daa556f6c76003de1dbb3e42b3daeee0a320c69c81b31a7d2ebbc2cf8ab8e96c214a4758e5e7bf814295dc1d6aa563092b714db7e719678d8462135861a8 numpy-1.7.0.tar.gz" |