Pure Python CBOR (de)serializer with extensive tag support.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
F: package/python-async-lru/
F: package/python-async-timeout/
F: package/python-brotli/
+F: package/python-cbor2/
F: package/python-cchardet/
F: package/python-flatbuffers/
F: package/python-frozenlist/
source "package/python-can/Config.in"
source "package/python-canopen/Config.in"
source "package/python-cbor/Config.in"
+ source "package/python-cbor2/Config.in"
source "package/python-cchardet/Config.in"
source "package/python-certifi/Config.in"
source "package/python-cffi/Config.in"
--- /dev/null
+config BR2_PACKAGE_PYTHON_CBOR2
+ bool "python-cbor2"
+ help
+ Pure Python CBOR (de)serializer with extensive tag support.
+
+ https://cbor2.readthedocs.io/
--- /dev/null
+# md5, sha256 from https://pypi.org/pypi/cbor2/json
+md5 47653309cff623382c770841847dafaf cbor2-5.0.1.tar.gz
+sha256 4299db69e5ac7b3026abb2a639737c72804511130ced81f660a9cb9222352dba cbor2-5.0.1.tar.gz
+# Locally computed sha256 checksums
+sha256 6163f7987dfb38d6bc320ce2b70b2f02b862bc41126516d552ef1cd43247e758 LICENSE.txt
--- /dev/null
+################################################################################
+#
+# python-cbor2
+#
+################################################################################
+
+PYTHON_CBOR2_VERSION = 5.0.1
+PYTHON_CBOR2_SOURCE = cbor2-$(PYTHON_CBOR2_VERSION).tar.gz
+PYTHON_CBOR2_SITE = https://files.pythonhosted.org/packages/3e/2c/188d040bd4cf99012d0e847a3d95bf1ef1f783859b09eb9f736950af84f0
+PYTHON_CBOR2_SETUP_TYPE = setuptools
+PYTHON_CBOR2_LICENSE = MIT
+PYTHON_CBOR2_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))