mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 14:07:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -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/
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/cbor2/json
|
||||
md5 b44037904de5b0f833020bfe01f741ca cbor2-5.5.1.tar.gz
|
||||
sha256 f9e192f461a9f8f6082df28c035b006d153904213dc8640bed8a72d72bbc9475 cbor2-5.5.1.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 a6afd126d8f545a15166a22f25fadff4b9fb4978bbdd17e97d97d950b66d2fef LICENSE.txt
|
||||
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-cbor2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_CBOR2_VERSION = 5.5.1
|
||||
PYTHON_CBOR2_SOURCE = cbor2-$(PYTHON_CBOR2_VERSION).tar.gz
|
||||
PYTHON_CBOR2_SITE = https://files.pythonhosted.org/packages/d6/37/a0a75c2cae532ecb155d05edc1fbbe54fa3957e86f875a38542f87e1379c
|
||||
PYTHON_CBOR2_SETUP_TYPE = setuptools
|
||||
PYTHON_CBOR2_LICENSE = MIT
|
||||
PYTHON_CBOR2_LICENSE_FILES = LICENSE.txt
|
||||
PYTHON_CBOR2_DEPENDENCIES = host-python-setuptools-scm
|
||||
PYTHON_CBOR2_ENV = CBOR2_BUILD_C_EXTENSION=1
|
||||
HOST_PYTHON_CBOR2_DEPENDENCIES = host-python-setuptools-scm
|
||||
HOST_PYTHON_CBOR2_ENV = CBOR2_BUILD_C_EXTENSION=0
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user