# Contributor: Isaac Dunham # Maintainer: Isaac Dunham pkgname=py3-matplotlib _pkgname=matplotlib pkgver=2.2.3 pkgrel=2 pkgdesc="Python3 library for plots" url="https://matplotlib.org" arch="all" license="Python-2.0" depends="py3-numpy py3-dateutil py3-parsing py3-tz py3-cycler py3-cairo py3-kiwisolver python3-tkinter" makedepends="python3-dev gfortran py3-numpy-dev freetype-dev libpng-dev tk-dev py3-setuptools" checkdepends="py3-pytest xvfb" source="$_pkgname-$pkgver.tar.gz::https://github.com/matplotlib/$_pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" # matplotlib provides unit tests, but they need to be run post installation :-( options="!check" replaces="py-matplotlib" # Backwards compatibility provides="py-matplotlib=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="d118f5d56e2f578031aba22933c0b3a4423a31a04f50f08cc1aa660186546d09692a9cf401bb5f24cb296f94fbfd8707460728d501ac2bd4a624dfa89e92949b matplotlib-2.2.3.tar.gz"