2018-06-20 18:54:47 +00:00
|
|
|
package:
|
|
|
|
name: matplotlib
|
2020-12-20 09:37:05 +00:00
|
|
|
version: 3.3.3
|
2018-06-20 18:54:47 +00:00
|
|
|
|
|
|
|
source:
|
2020-12-20 09:37:05 +00:00
|
|
|
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:
|
2019-10-18 16:17:50 +00:00
|
|
|
- patches/disable_macosx_backend.patch
|
2020-12-20 09:37:05 +00:00
|
|
|
- patches/fix-freetype.patch
|
|
|
|
- patches/hardcoded-font-cache.patch
|
|
|
|
- patches/fix-threading.patch
|
2018-06-20 18:54:47 +00:00
|
|
|
|
|
|
|
extras:
|
2022-01-10 19:54:11 +00:00
|
|
|
- - src/browser_backend.py
|
2021-06-27 15:36:14 +00:00
|
|
|
- lib/matplotlib/backends/browser_backend.py
|
2022-01-10 19:54:11 +00:00
|
|
|
- - src/wasm_backend.py
|
2018-06-20 18:54:47 +00:00
|
|
|
- lib/matplotlib/backends/wasm_backend.py
|
2022-01-10 19:54:11 +00:00
|
|
|
- - src/html5_canvas_backend.py
|
2021-06-27 15:36:14 +00:00
|
|
|
- lib/matplotlib/backends/html5_canvas_backend.py
|
2022-01-10 19:54:11 +00:00
|
|
|
- - src/setup.cfg
|
2018-06-20 18:54:47 +00:00
|
|
|
- ./setup.cfg
|
|
|
|
|
|
|
|
build:
|
|
|
|
cflags: -s USE_FREETYPE=1 -s USE_LIBPNG=1 -s USE_ZLIB=1
|
2021-02-06 07:58:12 +00:00
|
|
|
ldflags: -s USE_FREETYPE=1 -s USE_LIBPNG=1 -s USE_ZLIB=1
|
2021-01-04 08:50:01 +00:00
|
|
|
replace-libs:
|
|
|
|
- png16=png
|
2018-06-20 18:54:47 +00:00
|
|
|
post: |
|
2022-01-24 01:47:04 +00:00
|
|
|
cd build/matplotlib-3.3.3/dist/matplotlib-3.3.3/
|
|
|
|
wget -O matplotlib/mpl-data/fonts/ttf/Humor-Sans.ttf http://antiyawn.com/uploads/Humor-Sans-1.0.ttf
|
|
|
|
rm -rf matplotlib/backends/qt_editor
|
|
|
|
rm -rf matplotlib/backends/web_backend
|
|
|
|
rm -rf sphinxext
|
|
|
|
cp $PKGDIR/src/fontlist.json matplotlib
|
2021-06-27 15:36:14 +00:00
|
|
|
mkdir -p $PKGDIR/../../build/fonts
|
2022-01-24 01:47:04 +00:00
|
|
|
cp matplotlib/mpl-data/fonts/ttf/* $PKGDIR/../../build/fonts/
|
2018-06-20 18:54:47 +00:00
|
|
|
|
|
|
|
requirements:
|
|
|
|
run:
|
2021-05-02 13:42:28 +00:00
|
|
|
- distutils
|
2018-06-20 18:54:47 +00:00
|
|
|
- cycler
|
|
|
|
- kiwisolver
|
|
|
|
- numpy
|
2020-12-20 09:37:05 +00:00
|
|
|
- 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
|