wok-next diff python-numpy/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | 9278a60d6895 |
children | 6c73b944e8dd |
line diff
1.1 --- a/python-numpy/receipt Mon Jun 05 16:48:55 2017 +0300 1.2 +++ b/python-numpy/receipt Sat Feb 24 16:17:33 2018 +0200 1.3 @@ -1,31 +1,20 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="python-numpy" 1.8 -SOURCE="numpy" 1.9 -VERSION="1.10.1" 1.10 +VERSION="1.14.0" 1.11 CATEGORY="development" 1.12 -SHORT_DESC="Scientific computing library for the Python" 1.13 +SHORT_DESC="NumPy: array processing for numbers, strings, records, and objects" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="BSD" 1.16 -WEB_SITE="http://numpy.scipy.org/" 1.17 +WEB_SITE="http://www.numpy.org/" 1.18 1.19 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.20 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 1.21 +BUILD_DEPENDS="python-pip" 1.22 1.23 -DEPENDS="python" 1.24 -BUILD_DEPENDS="python python-dev" 1.25 - 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 - { 1.30 - python setup.py build && 1.31 - python setup.py install --root=$DESTDIR 1.32 - } 2>&1 | grep -Ev '(conftest.c:|configtest.c:)' 1.33 +compile_rules() { 1.34 + pip install --no-compile --root=$DESTDIR numpy 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 +genpkg_rules() { 1.41 copy @std @dev 1.42 + DEPENDS="python" 1.43 }