1################################################################################
2#
3# python-msgpack
4#
5################################################################################
6
7PYTHON_MSGPACK_VERSION = 1.0.7
8PYTHON_MSGPACK_SOURCE = msgpack-$(PYTHON_MSGPACK_VERSION).tar.gz
9PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/c2/d5/5662032db1571110b5b51647aed4b56dfbd01bfae789fa566a2be1f385d1
10PYTHON_MSGPACK_LICENSE = Apache-2.0
11PYTHON_MSGPACK_LICENSE_FILES = COPYING
12PYTHON_MSGPACK_SETUP_TYPE = setuptools
13PYTHON_MSGPACK_BUILD_OPTS = --skip-dependency-check
14
15# When set in the environment, whatever the value, MSGPACK_PUREPYTHON drives
16# using the pure python implementation rather than rely on the C++ native code.
17# So we can't force it to use C++; we can only force it to use pure python.
18ifeq ($(BR2_INSTALL_LIBSTDCPP),)
19PYTHON_MSGPACK_ENV = MSGPACK_PUREPYTHON=1
20endif
21
22$(eval $(python-package))
23