35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'python3-matplotlib'
|
|
pkgname=python3-matplotlib
|
|
version=3.3.4
|
|
revision=1
|
|
wrksrc="matplotlib-${version}"
|
|
build_style=python3-module
|
|
build_helper="numpy"
|
|
hostmakedepends="pkg-config python3-setuptools python3-certifi python3-numpy"
|
|
makedepends="python3-devel freetype-devel libpng-devel libqhull-devel"
|
|
depends="python3-certifi python3-cycler python3-kiwisolver
|
|
python3-numpy python3-Pillow python3-parsing python3-dateutil"
|
|
short_desc="Python3 2D/3D plotting library"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="custom:matplotlib, BSD-3-Clause, MIT"
|
|
homepage="https://matplotlib.org/"
|
|
distfiles="https://github.com/matplotlib/matplotlib/archive/v${version}.tar.gz"
|
|
checksum=ce7cebd3df11a032fff9b3a32029f49f0fc7c322f556f26ea9ef812d6e43cb21
|
|
replaces="python3-matplotlib-data>=0"
|
|
|
|
pre_build() {
|
|
cat <<-EOF > setup.cfg
|
|
[libs]
|
|
system_freetype = true
|
|
system_qhull = true
|
|
EOF
|
|
}
|
|
|
|
do_check() {
|
|
echo "Skipping check: comparison of images is too frail for validation"
|
|
}
|
|
|
|
post_install() {
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
vlicense LICENSE/LICENSE
|
|
}
|