From 1e7f0794bbb0075285dc3b4dab8484f12adbb886 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Fri, 24 Nov 2023 18:38:06 -0700 Subject: [PATCH] package/python-contourpy: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-contourpy/Config.in | 8 ++++++++ package/python-contourpy/python-contourpy.hash | 5 +++++ package/python-contourpy/python-contourpy.mk | 14 ++++++++++++++ 4 files changed, 28 insertions(+) create mode 100644 package/python-contourpy/Config.in create mode 100644 package/python-contourpy/python-contourpy.hash create mode 100644 package/python-contourpy/python-contourpy.mk diff --git a/package/Config.in b/package/Config.in index d3fc4514c4..a91ff8d345 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1030,6 +1030,7 @@ menu "External python modules" source "package/python-configshell-fb/Config.in" source "package/python-constantly/Config.in" source "package/python-construct/Config.in" + source "package/python-contourpy/Config.in" source "package/python-couchdb/Config.in" source "package/python-crayons/Config.in" source "package/python-crc16/Config.in" diff --git a/package/python-contourpy/Config.in b/package/python-contourpy/Config.in new file mode 100644 index 0000000000..4843884a97 --- /dev/null +++ b/package/python-contourpy/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_CONTOURPY + bool "python-contourpy" + select BR2_PACKAGE_PYTHON_PYBIND + help + Python library for calculating contours of 2D quadrilateral + grids. + + https://github.com/contourpy/contourpy diff --git a/package/python-contourpy/python-contourpy.hash b/package/python-contourpy/python-contourpy.hash new file mode 100644 index 0000000000..8f23d107ae --- /dev/null +++ b/package/python-contourpy/python-contourpy.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/contourpy/json +md5 cae5b781ade023c01bc1a8a53312f2ac contourpy-1.1.0.tar.gz +sha256 e53046c3863828d21d531cc3b53786e6580eb1ba02477e8681009b6aa0870b21 contourpy-1.1.0.tar.gz +# Locally computed sha256 checksums +sha256 c2522156ba7d4dfbbec266dfea98bf76a69bc41edb18cad323177fad6b19b35f LICENSE diff --git a/package/python-contourpy/python-contourpy.mk b/package/python-contourpy/python-contourpy.mk new file mode 100644 index 0000000000..f305793cb2 --- /dev/null +++ b/package/python-contourpy/python-contourpy.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-contourpy +# +################################################################################ + +PYTHON_CONTOURPY_VERSION = 1.1.0 +PYTHON_CONTOURPY_SOURCE = contourpy-$(PYTHON_CONTOURPY_VERSION).tar.gz +PYTHON_CONTOURPY_SITE = https://files.pythonhosted.org/packages/a7/3b/632c003e1dfbc82d32c0466762f2d2cf139d26032626dc65944e38d0e5b9 +PYTHON_CONTOURPY_LICENSE = BSD-3-Clause +PYTHON_CONTOURPY_LICENSE_FILES = LICENSE +PYTHON_CONTOURPY_DEPENDENCIES = python-pybind host-python-meson-python + +$(eval $(meson-package))