wok-next diff matplotlib/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5ffe59e2de3a
line diff
     1.1 --- a/matplotlib/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.2 +++ b/matplotlib/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="matplotlib"
     1.5  VERSION="1.0.0"
     1.6  CATEGORY="graphics"
     1.7 -SHORT_DESC="2D plotting library for the Python."
     1.8 +SHORT_DESC="2D plotting library for the Python"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="PSL BSD"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 @@ -16,16 +16,13 @@
    1.13  BUILD_DEPENDS="python python-dev zlib-dev libpng16-dev freetype-dev python-numpy \
    1.14  python-pygtk-dev"
    1.15  
    1.16 -# Rules to configure and make the package.
    1.17 -compile_rules()
    1.18 -{
    1.19 +compile_rules() {
    1.20  	cp -a $stuff/setup.cfg .
    1.21 -	python setup.py build
    1.22 -	python setup.py install --root=$DESTDIR
    1.23 +
    1.24 +	python -B setup.py build &&
    1.25 +	python -B setup.py install --root=$install
    1.26  }
    1.27  
    1.28 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 -genpkg_rules()
    1.30 -{
    1.31 +genpkg_rules() {
    1.32  	cp -a $install/usr $fs
    1.33  }