package: name: matplotlib version: 2.2.3 source: url: https://files.pythonhosted.org/packages/eb/a0/31b6ba00bc4dcbc06f0b80d1ad6119a9cc3081ecb04a00117f6c1ca3a084/matplotlib-2.2.3.tar.gz sha256: 7355bf757ecacd5f0ac9dd9523c8e1a1103faadf8d33c22664178e17533f8ce5 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 ldflags: ../../../../emsdk/emsdk/.emscripten_cache/asmjs/libpng.bc post: | 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 requirements: run: - cycler - kiwisolver - numpy - pyparsing - python-dateutil - pytz test: imports: - matplotlib - mpl_toolkits