9f59b378a3
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
992 B
Makefile
26 lines
992 B
Makefile
################################################################################
|
|
#
|
|
# python-pyzmq
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_PYZMQ_VERSION = 16.0.2
|
|
PYTHON_PYZMQ_SOURCE = pyzmq-$(PYTHON_PYZMQ_VERSION).tar.gz
|
|
PYTHON_PYZMQ_SITE = https://pypi.python.org/packages/af/37/8e0bf3800823bc247c36715a52e924e8f8fd5d1432f04b44b8cd7a5d7e55
|
|
PYTHON_PYZMQ_LICENSE = LGPL-3.0+, BSD-3-Clause, Apache-2.0
|
|
# Apache license only online: http://www.apache.org/licenses/LICENSE-2.0
|
|
PYTHON_PYZMQ_LICENSE_FILES = COPYING.LESSER COPYING.BSD
|
|
PYTHON_PYZMQ_DEPENDENCIES = zeromq
|
|
PYTHON_PYZMQ_SETUP_TYPE = distutils
|
|
PYTHON_PYZMQ_BUILD_OPTS = --zmq=$(STAGING_DIR)/usr
|
|
|
|
# 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
|
|
|
|
$(eval $(python-package))
|