wok view matplotlib/receipt @ rev 25513
memtest: update sleep()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 15:41:57 2023 +0000 (21 months ago) |
parents | 370da83187ab |
children |
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="https://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 }