wok annotate python-numpy/receipt @ rev 22299
updated xorg-xrdb (1.0.9 -> 1.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 16:58:12 2019 +0100 (2019-11-13) |
parents | 9e01bc6321ea |
children | 74b39318b0a3 |
rev | line source |
---|---|
claudinei@3411 | 1 # SliTaz package receipt. |
claudinei@3411 | 2 |
claudinei@3411 | 3 PACKAGE="python-numpy" |
claudinei@3411 | 4 SOURCE="numpy" |
yuripourre@18659 | 5 VERSION="1.10.1" |
claudinei@3411 | 6 CATEGORY="development" |
claudinei@3411 | 7 SHORT_DESC="scientific computing library for the Python." |
claudinei@3411 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15360 | 9 LICENSE="BSD" |
claudinei@3411 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20672 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
claudinei@3411 | 12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" |
pascal@15360 | 13 |
claudinei@3411 | 14 DEPENDS="python" |
claudinei@3411 | 15 BUILD_DEPENDS="python python-dev" |
claudinei@3411 | 16 |
claudinei@3411 | 17 # Rules to configure and make the package. |
claudinei@3411 | 18 compile_rules() |
claudinei@3411 | 19 { |
pascal@15360 | 20 { |
claudinei@3411 | 21 python setup.py build && |
pascal@15360 | 22 python setup.py install --root=$DESTDIR |
pascal@15360 | 23 } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' |
claudinei@3411 | 24 } |
claudinei@3411 | 25 |
claudinei@3411 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3411 | 27 genpkg_rules() |
claudinei@3411 | 28 { |
pascal@15360 | 29 cp -a $install/usr $fs |
claudinei@3411 | 30 } |
claudinei@3411 | 31 |
claudinei@3411 | 32 # Remove old package. |
claudinei@3411 | 33 post_install() |
claudinei@3411 | 34 { |
pascal@18730 | 35 [ ! -d "$1/var/lib/tazpkg/installed/numpy" ] || |
pascal@18730 | 36 rm -rf "$1/var/lib/tazpkg/installed/numpy" |
pascal@6596 | 37 } |