wok-6.x annotate matplotlib/receipt @ rev 24407

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