![Gwenhael Goavec-Merou](/assets/img/avatar_default.png)
python-matplotlib may be used in qt5 application. This patch add option to enable qt5. Since this backend is automatically enabled when pyqt5 is detected, list dependencies is simply an updated (no enable/disable options). Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
21 lines
781 B
Makefile
21 lines
781 B
Makefile
################################################################################
|
|
#
|
|
# python-matplotlib
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_MATPLOTLIB_VERSION = 3.0.3
|
|
PYTHON_MATPLOTLIB_SOURCE = matplotlib-$(PYTHON_MATPLOTLIB_VERSION).tar.gz
|
|
PYTHON_MATPLOTLIB_SITE = https://files.pythonhosted.org/packages/26/04/8b381d5b166508cc258632b225adbafec49bbe69aa9a4fa1f1b461428313
|
|
PYTHON_MATPLOTLIB_LICENSE = Python-2.0
|
|
PYTHON_MATPLOTLIB_LICENSE_FILES = LICENSE/LICENSE
|
|
PYTHON_MATPLOTLIB_DEPENDENCIES = host-pkgconf freetype host-python-numpy \
|
|
libpng python-cycler
|
|
PYTHON_MATPLOTLIB_SETUP_TYPE = setuptools
|
|
|
|
ifeq ($(BR2_PACKAGE_PYTHON_MATPLOTLIB_QT),y)
|
|
PYTHON_MATPLOTLIB_DEPENDENCIES += python-pyqt5
|
|
endif
|
|
|
|
$(eval $(python-package))
|