Initial Commit
- initial default booting image
This commit is contained in:
48
package/python-matplotlib/Config.in
Normal file
48
package/python-matplotlib/Config.in
Normal file
@@ -0,0 +1,48 @@
|
||||
config BR2_PACKAGE_PYTHON_MATPLOTLIB
|
||||
bool "python-matplotlib"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
|
||||
depends on BR2_HOST_GCC_AT_LEAST_9 # host-python-numpy
|
||||
select BR2_PACKAGE_FREETYPE # runtime
|
||||
select BR2_PACKAGE_LIBPNG # runtime
|
||||
select BR2_PACKAGE_PYTHON_CERTIFI # runtime
|
||||
select BR2_PACKAGE_PYTHON_CONTOURPY # runtime
|
||||
select BR2_PACKAGE_PYTHON_CYCLER
|
||||
select BR2_PACKAGE_PYTHON_PYBIND
|
||||
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
|
||||
select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
|
||||
select BR2_PACKAGE_PYTHON_FONTTOOLS # runtime
|
||||
select BR2_PACKAGE_PYTHON_KIWISOLVER # runtime
|
||||
select BR2_PACKAGE_PYTHON_NUMPY # runtime
|
||||
select BR2_PACKAGE_PYTHON_PACKAGING # runtime
|
||||
select BR2_PACKAGE_PYTHON_PILLOW # runtime
|
||||
select BR2_PACKAGE_PYTHON_PYPARSING # runtime
|
||||
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
||||
select BR2_PACKAGE_QHULL
|
||||
select BR2_PACKAGE_ZLIB # runtime
|
||||
help
|
||||
Matplotlib strives to produce publication quality 2D
|
||||
graphics for interactive graphing, scientific publishing,
|
||||
user interface development and web application servers
|
||||
targeting multiple user interfaces and hardcopy output
|
||||
formats.
|
||||
|
||||
https://matplotlib.org/
|
||||
|
||||
if BR2_PACKAGE_PYTHON_MATPLOTLIB
|
||||
|
||||
config BR2_PACKAGE_PYTHON_MATPLOTLIB_QT
|
||||
bool "qt display"
|
||||
depends on BR2_PACKAGE_QT5 # python-pyqt5
|
||||
select BR2_PACKAGE_PYTHON_PYQT5
|
||||
select BR2_PACKAGE_QT5BASE_FONTCONFIG
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
|
||||
endif
|
||||
|
||||
comment "python-matplotlib needs a glibc or musl toolchain w/ C++, gcc >= 9, host gcc >= 9"
|
||||
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
|
||||
!BR2_INSTALL_LIBSTDCPP || !BR2_HOST_GCC_AT_LEAST_9 || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
||||
5
package/python-matplotlib/python-matplotlib.hash
Normal file
5
package/python-matplotlib/python-matplotlib.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/matplotlib/json
|
||||
md5 6bec2e78642cbd44c012718835ab024e matplotlib-3.10.9.tar.gz
|
||||
sha256 fd66508e8c6877d98e586654b608a0456db8d7e8a546eb1e2600efd957302358 matplotlib-3.10.9.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 5a1a81ea301728c8bba2933da832c0cd62229daf20893a024ab3d53244468dbc LICENSE/LICENSE
|
||||
34
package/python-matplotlib/python-matplotlib.mk
Normal file
34
package/python-matplotlib/python-matplotlib.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-matplotlib
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_MATPLOTLIB_VERSION = 3.10.9
|
||||
PYTHON_MATPLOTLIB_SOURCE = matplotlib-$(PYTHON_MATPLOTLIB_VERSION).tar.gz
|
||||
PYTHON_MATPLOTLIB_SITE = https://files.pythonhosted.org/packages/63/1b/4be5be87d43d327a0cf4de1a56e86f7f84c89312452406cf122efe2839e6
|
||||
PYTHON_MATPLOTLIB_LICENSE = Python-2.0
|
||||
PYTHON_MATPLOTLIB_LICENSE_FILES = LICENSE/LICENSE
|
||||
PYTHON_MATPLOTLIB_DEPENDENCIES = \
|
||||
freetype \
|
||||
host-pkgconf \
|
||||
host-python-certifi \
|
||||
host-python-numpy \
|
||||
host-python-setuptools-scm \
|
||||
libpng \
|
||||
python-cycler \
|
||||
python-pybind \
|
||||
qhull
|
||||
PYTHON_MATPLOTLIB_CONF_OPTS = \
|
||||
-Dmacosx=false \
|
||||
-Dsystem-freetype=true \
|
||||
-Dsystem-qhull=true
|
||||
PYTHON_MATPLOTLIB_CONF_ENV += \
|
||||
_PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \
|
||||
PYTHONPATH=$(PYTHON3_PATH)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON_MATPLOTLIB_QT),y)
|
||||
PYTHON_MATPLOTLIB_DEPENDENCIES += python-pyqt5
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user