2013-09-14 16:44:00 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-pyzmq
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-01-31 12:22:45 +01:00
|
|
|
PYTHON_PYZMQ_VERSION = 16.0.2
|
2013-09-14 16:44:00 +02:00
|
|
|
PYTHON_PYZMQ_SOURCE = pyzmq-$(PYTHON_PYZMQ_VERSION).tar.gz
|
2017-01-31 12:22:45 +01:00
|
|
|
PYTHON_PYZMQ_SITE = https://pypi.python.org/packages/af/37/8e0bf3800823bc247c36715a52e924e8f8fd5d1432f04b44b8cd7a5d7e55
|
2017-03-30 15:43:38 +02:00
|
|
|
PYTHON_PYZMQ_LICENSE = LGPL-3.0+, BSD-3-Clause, Apache-2.0
|
2013-09-14 16:44:00 +02:00
|
|
|
# Apache license only online: http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
PYTHON_PYZMQ_LICENSE_FILES = COPYING.LESSER COPYING.BSD
|
2013-12-11 21:26:50 +01:00
|
|
|
PYTHON_PYZMQ_DEPENDENCIES = zeromq
|
|
|
|
PYTHON_PYZMQ_SETUP_TYPE = distutils
|
2015-02-03 23:44:05 +01:00
|
|
|
PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr
|
2013-09-14 16:44:00 +02:00
|
|
|
|
|
|
|
# Due to issues with cross-compiling, hardcode to the zeromq in BR
|
|
|
|
define PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION
|
|
|
|
$(SED) 's/##ZEROMQ_VERSION##/$(ZEROMQ_VERSION)/' \
|
|
|
|
$(@D)/buildutils/detect.py
|
|
|
|
endef
|
|
|
|
|
|
|
|
PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION
|
|
|
|
|
2013-12-11 21:26:50 +01:00
|
|
|
$(eval $(python-package))
|