wok-current view py3k-numpy/receipt @ rev 23069
scilab: update for hdf5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 10 08:35:31 2020 +0100 (2020-03-10) |
parents | |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-numpy"
4 VERSION="1.17.5"
5 CATEGORY="development"
6 SHORT_DESC="Scientific computing library for Python."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://numpy.org/"
11 SOURCE="numpy"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/v$VERSION.tar.gz"
15 DEPENDS="gcc83-lib-base py3k"
16 BUILD_DEPENDS="gcc83 py3k-dev py3k-cython"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export CC=gcc-83
22 export CXX=g++-83
24 {
25 python3 setup.py build &&
26 python3 setup.py install --root=$DESTDIR
27 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }
36 # Remove old package.
37 post_install()
38 {
39 [ ! -d "$1/var/lib/tazpkg/installed/numpy" ] ||
40 rm -rf "$1/var/lib/tazpkg/installed/numpy"
41 }