wok view python-numpy/receipt @ rev 21600

Up: smplayer(19.5.0), xine-lib(1.2.9), xine-ui(0.99.10)
author maniac
date Thu May 23 12:16:28 2019 +0300 (2019-05-23)
parents 9e01bc6321ea
children 74b39318b0a3
line source
1 # SliTaz package receipt.
3 PACKAGE="python-numpy"
4 SOURCE="numpy"
5 VERSION="1.10.1"
6 CATEGORY="development"
7 SHORT_DESC="scientific computing library for the Python."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.org/project/$SOURCE/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 {
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }
32 # Remove old package.
33 post_install()
34 {
35 [ ! -d "$1/var/lib/tazpkg/installed/numpy" ] ||
36 rm -rf "$1/var/lib/tazpkg/installed/numpy"
37 }