pyodide/packages/matplotlib/meta.yaml

45 lines
1.1 KiB
YAML
Raw Normal View History

2018-06-20 18:54:47 +00:00
package:
name: matplotlib
2018-09-10 17:01:44 +00:00
version: 2.2.3
2018-06-20 18:54:47 +00:00
source:
2018-09-10 17:01:44 +00:00
url: https://files.pythonhosted.org/packages/eb/a0/31b6ba00bc4dcbc06f0b80d1ad6119a9cc3081ecb04a00117f6c1ca3a084/matplotlib-2.2.3.tar.gz
sha256: 7355bf757ecacd5f0ac9dd9523c8e1a1103faadf8d33c22664178e17533f8ce5
2018-06-20 18:54:47 +00:00
patches:
- patches/font_name_encoding.patch
- patches/force_malloc_free.patch
- patches/hardcoded_font_cache.patch
- patches/reduce_cpp_exceptions.patch
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
2018-06-22 20:52:55 +00:00
ldflags: ../../../../emsdk/emsdk/.emscripten_cache/asmjs/libpng.bc
2018-06-20 18:54:47 +00:00
post: |
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
- 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