wok-next annotate python-numpy/receipt @ rev 20732

Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 17:01:41 2018 +0300 (2018-05-29)
parents 6c73b944e8dd
children 9b3461bf373c
rev   line source
al@20443 1 # SliTaz package receipt v2.
claudinei@3411 2
claudinei@3411 3 PACKAGE="python-numpy"
al@20732 4 VERSION="latest"
claudinei@3411 5 CATEGORY="development"
al@20443 6 SHORT_DESC="NumPy: array processing for numbers, strings, records, and objects"
claudinei@3411 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15360 8 LICENSE="BSD"
al@20443 9 WEB_SITE="http://www.numpy.org/"
al@19741 10
al@20444 11 BUILD_DEPENDS="python"
pascal@15360 12
al@20443 13 compile_rules() {
al@20443 14 pip install --no-compile --root=$DESTDIR numpy
claudinei@3411 15 }
claudinei@3411 16
al@20443 17 genpkg_rules() {
al@20732 18 VERSION=$(sed -n '/^Successfully installed/ s|.*numpy-||p' $LOGS/$PACKAGE.log)
al@19741 19 copy @std @dev
al@20443 20 DEPENDS="python"
claudinei@3411 21 }