From b48a1955099085b68df1bdee99bb18848fc2e2cc Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Thu, 14 Dec 2023 03:01:56 -0700 Subject: [PATCH] package/python-multipart: new package Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-multipart/Config.in | 6 ++++++ package/python-multipart/python-multipart.hash | 5 +++++ package/python-multipart/python-multipart.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-multipart/Config.in create mode 100644 package/python-multipart/python-multipart.hash create mode 100644 package/python-multipart/python-multipart.mk diff --git a/package/Config.in b/package/Config.in index c3aeb87f08..67713e9209 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1179,6 +1179,7 @@ menu "External python modules" source "package/python-msgfy/Config.in" source "package/python-msgpack/Config.in" source "package/python-multidict/Config.in" + source "package/python-multipart/Config.in" source "package/python-munch/Config.in" source "package/python-mutagen/Config.in" source "package/python-mwclient/Config.in" diff --git a/package/python-multipart/Config.in b/package/python-multipart/Config.in new file mode 100644 index 0000000000..07002e1018 --- /dev/null +++ b/package/python-multipart/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_MULTIPART + bool "python-multipart" + help + A streaming multipart parser for Python. + + https://github.com/andrew-d/python-multipart diff --git a/package/python-multipart/python-multipart.hash b/package/python-multipart/python-multipart.hash new file mode 100644 index 0000000000..9b2b6d3d82 --- /dev/null +++ b/package/python-multipart/python-multipart.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/python-multipart/json +md5 a61a045b7f5e64d44dc53c73522ac4d2 python_multipart-0.0.6.tar.gz +sha256 e9925a80bb668529f1b67c7fdb0a5dacdd7cbfc6fb0bff3ea443fe22bdd62132 python_multipart-0.0.6.tar.gz +# Locally computed sha256 checksums +sha256 a8e833176cd617daf00b9d6d39fa15ca8edebc6d1643079cd2f4893c0c289be2 LICENSE.txt diff --git a/package/python-multipart/python-multipart.mk b/package/python-multipart/python-multipart.mk new file mode 100644 index 0000000000..7ffb05fa92 --- /dev/null +++ b/package/python-multipart/python-multipart.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-multipart +# +################################################################################ + +PYTHON_MULTIPART_VERSION = 0.0.6 +PYTHON_MULTIPART_SOURCE = python_multipart-$(PYTHON_MULTIPART_VERSION).tar.gz +PYTHON_MULTIPART_SITE = https://files.pythonhosted.org/packages/2d/23/abcfad10c3348cb6358400f8adbc21b523bbc6c954494fd0974428068672 +PYTHON_MULTIPART_SETUP_TYPE = pep517 +PYTHON_MULTIPART_LICENSE = Apache-2.0 +PYTHON_MULTIPART_LICENSE_FILES = LICENSE.txt +PYTHON_MULTIPART_DEPENDENCIES = host-python-hatchling + +$(eval $(python-package))