mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
|
|
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
|
|
pkgname=py3-matplotlib
|
|
_pkgname=matplotlib
|
|
pkgver=3.1.1
|
|
pkgrel=0
|
|
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="157ced0cdcb17c9c82f897ee1621ea06a063491ce7393cda4c74a07a970c49385167b5cf32c1666a2933af50ccc53811cf871b6465b796a42abf4a358c76f6c0 matplotlib-3.1.1.tar.gz"
|