python-msgpack.mk 917 B

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