package/python-cbor2: new package

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>
This commit is contained in:
James Hilliard 2020-02-12 23:26:14 -07:00 committed by Thomas Petazzoni
parent c7a7873cf6
commit 8371f09622
5 changed files with 27 additions and 0 deletions

View file

@ -1193,6 +1193,7 @@ F: package/python-argon2-cffi/
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/

View file

@ -895,6 +895,7 @@ menu "External python modules"
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"

View file

@ -0,0 +1,6 @@
config BR2_PACKAGE_PYTHON_CBOR2
bool "python-cbor2"
help
Pure Python CBOR (de)serializer with extensive tag support.
https://cbor2.readthedocs.io/

View file

@ -0,0 +1,5 @@
# 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

View file

@ -0,0 +1,14 @@
################################################################################
#
# 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))