pyodide/packages/matplotlib/meta.yaml

49 lines
1.2 KiB
YAML
Raw Normal View History

2018-06-20 18:54:47 +00:00
package:
name: matplotlib
version: 3.3.3
2018-06-20 18:54:47 +00:00
source:
url: https://files.pythonhosted.org/packages/7b/b3/7c48f648bf83f39d4385e0169d1b68218b838e185047f7f613b1cfc57947/matplotlib-3.3.3.tar.gz
sha256: b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec
2018-06-20 18:54:47 +00:00
patches:
- patches/disable_macosx_backend.patch
- patches/fix-freetype.patch
- patches/hardcoded-font-cache.patch
- patches/fix-threading.patch
2018-06-20 18:54:47 +00:00
extras:
-
- src/wasm_backend.py
- lib/matplotlib/backends/wasm_backend.py
-
- src/setup.cfg
- ./setup.cfg
build:
cflags: -s USE_FREETYPE=1 -s USE_LIBPNG=1 -s USE_ZLIB=1
ldflags: -s USE_FREETYPE=1 -s USE_LIBPNG=1 -s USE_ZLIB=1
replace-libs:
- png16=png
2018-06-20 18:54:47 +00:00
post: |
wget -O $SITEPACKAGES/matplotlib/mpl-data/fonts/ttf/Humor-Sans.ttf http://antiyawn.com/uploads/Humor-Sans-1.0.ttf
2018-07-18 13:26:18 +00:00
rm -rf $SITEPACKAGES/matplotlib/backends/qt_editor
rm -rf $SITEPACKAGES/matplotlib/backends/web_backend
rm -rf $SITEPACKAGES/sphinxext
cp $PKGDIR/src/fontlist.json $SITEPACKAGES/matplotlib
2018-06-20 18:54:47 +00:00
requirements:
run:
- cycler
- kiwisolver
- numpy
- pillow
2018-06-20 18:54:47 +00:00
- pyparsing
- python-dateutil
- pytz
2018-08-03 12:43:40 +00:00
test:
imports:
- matplotlib
2018-10-10 18:16:02 +00:00
- mpl_toolkits