python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / python-pyzmq / python-pyzmq.mk
blobade2d3a234fbd633c98355e6cbff90de95dea7d7
1 ################################################################################
3 # python-pyzmq
5 ################################################################################
7 PYTHON_PYZMQ_VERSION = 16.0.2
8 PYTHON_PYZMQ_SOURCE = pyzmq-$(PYTHON_PYZMQ_VERSION).tar.gz
9 PYTHON_PYZMQ_SITE = https://pypi.python.org/packages/af/37/8e0bf3800823bc247c36715a52e924e8f8fd5d1432f04b44b8cd7a5d7e55
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))