SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "matplotlib"

# SliTaz package receipt.

PACKAGE="matplotlib"
VERSION="2.2.4"
CATEGORY="graphics"
SHORT_DESC="2D plotting library for the Python."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="PSL BSD"
WEB_SITE="https://matplotlib.sourceforge.net/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://pypi.io/packages/source/m/$PACKAGE/$TARBALL"

DEPENDS="expat freetype gcc-lib-base gtk+ libpng pygtk python python-numpy 
    xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdmcp 
    xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr 
    xorg-libXrender zlib"
BUILD_DEPENDS="freetype-dev libpng-dev pygtk-dev python python-dev 
    python-numpy python-setuptools zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://pypi.org/project/matplotlib/ 2>/dev/null | \
    sed '/matplotlib-/!d;/tar/!d;s|.*matplotlib-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cp -a $stuff/setup.cfg .
    python setup.py build &&
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)