wok-current annotate python-numpy/receipt @ rev 23864

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