docker-engine: new package
[buildroot-gz.git] / package / python-pyzmq / python-pyzmq.mk
blob0e787b1d22cd1937127bdaeecfb0c2506ecd33e0
1 ################################################################################
3 # python-pyzmq
5 ################################################################################
7 PYTHON_PYZMQ_VERSION = 14.3.1
8 PYTHON_PYZMQ_SOURCE = pyzmq-$(PYTHON_PYZMQ_VERSION).tar.gz
9 PYTHON_PYZMQ_SITE = http://pypi.python.org/packages/source/p/pyzmq
10 PYTHON_PYZMQ_LICENSE = LGPLv3+, BSD-3c, Apache-2.0
11 # Apache license only online: http://www.apache.org/licenses/LICENSE-2.0
12 PYTHON_PYZMQ_LICENSE_FILES = COPYING.LESSER COPYING.BSD
13 PYTHON_PYZMQ_DEPENDENCIES = zeromq
14 PYTHON_PYZMQ_SETUP_TYPE = distutils
15 PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr
17 # Due to issues with cross-compiling, hardcode to the zeromq in BR
18 define PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION
19 $(SED) 's/##ZEROMQ_VERSION##/$(ZEROMQ_VERSION)/' \
20 $(@D)/buildutils/detect.py
21 endef
23 PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION
25 $(eval $(python-package))