2013-09-14 16:44:00 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-pyzmq
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-07-24 03:45:30 +02:00
|
|
|
PYTHON_PYZMQ_VERSION = 14.3.1
|
2013-09-14 16:44:00 +02:00
|
|
|
PYTHON_PYZMQ_SOURCE = pyzmq-$(PYTHON_PYZMQ_VERSION).tar.gz
|
2014-07-31 10:46:58 +02:00
|
|
|
PYTHON_PYZMQ_SITE = http://pypi.python.org/packages/source/p/pyzmq
|
2014-01-02 14:01:48 +01:00
|
|
|
PYTHON_PYZMQ_LICENSE = LGPLv3+ BSD-3c 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))
|