mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-25 20:57:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_PYTHON_MSGPACK
|
||||
bool "python-msgpack"
|
||||
help
|
||||
MessagePack (http://msgpack.org/) is a fast, compact binary
|
||||
serialization format, suitable for similar data to JSON.
|
||||
This package provides a pure python library for reading
|
||||
and writing MessagePack data.
|
||||
|
||||
https://pypi.python.org/pypi/msgpack-python/
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/msgpack/json
|
||||
md5 a5a4172b2e89812ec28267dd8942b77d msgpack-1.0.7.tar.gz
|
||||
sha256 572efc93db7a4d27e404501975ca6d2d9775705c2d922390d878fcf768d92c87 msgpack-1.0.7.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 492dedba85da5872f78e6091bcd1fea474d660d35acb4dee964b8aab3f007427 COPYING
|
||||
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-msgpack
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_MSGPACK_VERSION = 1.0.7
|
||||
PYTHON_MSGPACK_SOURCE = msgpack-$(PYTHON_MSGPACK_VERSION).tar.gz
|
||||
PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/c2/d5/5662032db1571110b5b51647aed4b56dfbd01bfae789fa566a2be1f385d1
|
||||
PYTHON_MSGPACK_LICENSE = Apache-2.0
|
||||
PYTHON_MSGPACK_LICENSE_FILES = COPYING
|
||||
PYTHON_MSGPACK_SETUP_TYPE = setuptools
|
||||
PYTHON_MSGPACK_BUILD_OPTS = --skip-dependency-check
|
||||
|
||||
# When set in the environment, whatever the value, MSGPACK_PUREPYTHON drives
|
||||
# using the pure python implementation rather than rely on the C++ native code.
|
||||
# So we can't force it to use C++; we can only force it to use pure python.
|
||||
ifeq ($(BR2_INSTALL_LIBSTDCPP),)
|
||||
PYTHON_MSGPACK_ENV = MSGPACK_PUREPYTHON=1
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user