wok view python-numpy/receipt @ rev 23516

updated python-numpy (1.10.1 -> 1.16.4)
author Hans-G?nter Theisgen
date Mon Apr 06 11:21:13 2020 +0100 (2020-04-06)
parents 8dd8bab3f0ca
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="python-numpy"
4 VERSION="1.16.4" # last version fpr Python 2
5 CATEGORY="development"
6 SHORT_DESC="Scientific computing library for the Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pypi.org/project/numpy/"
11 SOURCE="numpy"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/v$VERSION.tar.gz"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-cython python-dev python-setuptools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 {
22 python setup.py build &&
23 python setup.py install --root=$DESTDIR
24 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }
33 # Remove old package.
34 post_install()
35 {
36 [ ! -d "$1/var/lib/tazpkg/installed/numpy" ] ||
37 rm -rf "$1/var/lib/tazpkg/installed/numpy"
38 }