package/python-pyzmq: enable draft APIs when supported by ZeroMQ

This doesn't introduce a new config flag, instead it just automatically enables
draft support if it's configured in the zeromq package itself.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Lionel Flandrin 2019-02-05 11:28:14 +01:00 committed by Thomas Petazzoni
parent 964ec06018
commit 1c1d6b8248

View File

@ -22,4 +22,8 @@ endef
PYTHON_PYZMQ_POST_PATCH_HOOKS += PYTHON_PYZMQ_PATCH_ZEROMQ_VERSION
ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y)
PYTHON_PYZMQ_BUILD_OPTS += --enable-drafts
endif
$(eval $(python-package))