From 9c3e7014105eb69db7d9c9f662ab0a5054f35797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= Date: Thu, 5 Jan 2023 13:59:58 +0100 Subject: [PATCH] package/python-marshmallow: new package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit marshmallow is a dependency of to-be-added python-flask-smorest. Signed-off-by: Martin Hundebøll Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/python-marshmallow/Config.in | 8 ++++++++ package/python-marshmallow/python-marshmallow.hash | 6 ++++++ package/python-marshmallow/python-marshmallow.mk | 14 ++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/python-marshmallow/Config.in create mode 100644 package/python-marshmallow/python-marshmallow.hash create mode 100644 package/python-marshmallow/python-marshmallow.mk diff --git a/DEVELOPERS b/DEVELOPERS index 7335e70d15..2b05714e9c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1967,6 +1967,7 @@ F: package/zic/ N: Martin Hundebøll F: package/python-apispec/ +F: package/python-marshmallow/ F: package/python-webargs/ N: Martin Kepplinger diff --git a/package/Config.in b/package/Config.in index 747fac54bf..ece35f12c8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1129,6 +1129,7 @@ menu "External python modules" source "package/python-markdown/Config.in" source "package/python-markdown2/Config.in" source "package/python-markupsafe/Config.in" + source "package/python-marshmallow/Config.in" source "package/python-matplotlib/Config.in" source "package/python-mbstrdecoder/Config.in" source "package/python-memory-profiler/Config.in" diff --git a/package/python-marshmallow/Config.in b/package/python-marshmallow/Config.in new file mode 100644 index 0000000000..cc1b42f465 --- /dev/null +++ b/package/python-marshmallow/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_MARSHMALLOW + bool "python-marshmallow" + select BR2_PACKAGE_PYTHON_PACKAGING # runtime + help + A lightweight library for converting complex datatypes to + and from native Python datatypes. + + https://github.com/marshmallow-code/marshmallow diff --git a/package/python-marshmallow/python-marshmallow.hash b/package/python-marshmallow/python-marshmallow.hash new file mode 100644 index 0000000000..dc277d16e5 --- /dev/null +++ b/package/python-marshmallow/python-marshmallow.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/marshmallow/json +md5 3cf5c42917509a199c3105466435c425 marshmallow-3.19.0.tar.gz +sha256 90032c0fd650ce94b6ec6dc8dfeb0e3ff50c144586462c389b81a07205bedb78 marshmallow-3.19.0.tar.gz +# Locally computed sha256 checksums +sha256 759dc79c383ad79340c6e41f712e80407fe0d2cb3cbaad1ed98aa9c3e28a602c LICENSE +sha256 f982e6fd97ba00973e94605b972ff04894b22c4fa937b868828b32ae8f0a7c2e docs/license.rst diff --git a/package/python-marshmallow/python-marshmallow.mk b/package/python-marshmallow/python-marshmallow.mk new file mode 100644 index 0000000000..6427296508 --- /dev/null +++ b/package/python-marshmallow/python-marshmallow.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-marshmallow +# +################################################################################ + +PYTHON_MARSHMALLOW_VERSION = 3.19.0 +PYTHON_MARSHMALLOW_SOURCE = marshmallow-$(PYTHON_MARSHMALLOW_VERSION).tar.gz +PYTHON_MARSHMALLOW_SITE = https://files.pythonhosted.org/packages/5e/59/dd465e5ab0ccb879c410f88c75189a19fd437b12cd9a03b31579aef58709 +PYTHON_MARSHMALLOW_SETUP_TYPE = setuptools +PYTHON_MARSHMALLOW_LICENSE = MIT +PYTHON_MARSHMALLOW_LICENSE_FILES = LICENSE + +$(eval $(python-package))