2013-09-14 16:44:00 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-pyzmq
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-08-31 06:35:43 +02:00
|
|
|
PYTHON_PYZMQ_VERSION = 17.1.2
|
2013-09-14 16:44:00 +02:00
|
|
|
PYTHON_PYZMQ_SOURCE = pyzmq-$(PYTHON_PYZMQ_VERSION).tar.gz
|
2018-08-31 06:35:43 +02:00
|
|
|
PYTHON_PYZMQ_SITE = https://files.pythonhosted.org/packages/b9/6a/bc9277b78f5c3236e36b8c16f4d2701a7fd4fa2eb697159d3e0a3a991573
|
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))
|