wok-6.x view matplotlib/receipt @ rev 24696
updated kamailio (5.3.2 -> 5.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:05:22 2022 +0100 (2022-03-13) |
parents | 1b44d49dab4c |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="matplotlib"
4 VERSION="2.2.4"
5 CATEGORY="graphics"
6 SHORT_DESC="2D plotting library for the Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PSL BSD"
9 WEB_SITE="http://matplotlib.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://pypi.io/packages/source/m/$PACKAGE/$TARBALL"
14 DEPENDS="expat freetype gcc-lib-base gtk+ libpng pygtk python python-numpy
15 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp
16 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr
17 xorg-libXrender zlib"
18 BUILD_DEPENDS="freetype-dev libpng-dev pygtk-dev python python-dev
19 python-numpy python-setuptools zlib-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://pypi.org/project/matplotlib/ 2>/dev/null | \
25 sed '/matplotlib-/!d;/tar/!d;s|.*matplotlib-||;s|.tar.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cp -a $stuff/setup.cfg .
32 python setup.py build &&
33 python setup.py install --root=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/usr $fs
40 }