blob: 7904168c9724531cd2ed459a68fb7bc9d3c6a417 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=py3-matplotlib
_pkgname=matplotlib
pkgver=3.2.1
pkgrel=0
pkgdesc="Python3 library for plots"
url="https://matplotlib.org"
# mips blocked due to py3-numpy
arch="all !mips !mips64"
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="2725ebb2e3665f3f110354efab6a6ec20721667acbaf1dc22a9396dbdca096edaabe79b0e602970b1c0769a5eb849cd815774af00a366f3d4e2f336bce06208e matplotlib-3.2.1.tar.gz"
|