wok diff py3k-numpy/receipt @ rev 23689

updated sysstat (12.1.7 -> 12.3.2)
author Hans-G?nter Theisgen
date Sun Apr 26 17:56:55 2020 +0100 (2020-04-26)
parents
children 5ea0ce1cecc0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/py3k-numpy/receipt	Sun Apr 26 17:56:55 2020 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="py3k-numpy"
     1.7 +VERSION="1.17.5"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Scientific computing library for Python."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="https://numpy.org/"
    1.13 +
    1.14 +SOURCE="numpy"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="https://github.com/$SOURCE/$SOURCE/archive/v$VERSION.tar.gz"
    1.17 +
    1.18 +DEPENDS="gcc83-lib-base py3k"
    1.19 +BUILD_DEPENDS="gcc83 py3k-dev py3k-cython"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	export	CC=gcc-83
    1.25 +	export	CXX=g++-83
    1.26 +
    1.27 +	{
    1.28 +	python3 setup.py build &&
    1.29 +	python3 setup.py install --root=$DESTDIR
    1.30 +	} 2>&1 | grep -Ev '(conftest.c:|configtest.c:)'
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cp -a $install/usr	$fs
    1.37 +}
    1.38 +
    1.39 +# Remove old package.
    1.40 +post_install()
    1.41 +{
    1.42 +	[ ! -d "$1/var/lib/tazpkg/installed/numpy" ] ||
    1.43 +	rm -rf "$1/var/lib/tazpkg/installed/numpy"
    1.44 +}