* [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled
@ 2019-02-05 10:28 Lionel Flandrin
2019-02-05 10:28 ` [Buildroot] [PATCH 2/2] package/python-pyzmq: Enable draft APIs when supported by ZeroMQ Lionel Flandrin
2019-02-06 16:19 ` [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Lionel Flandrin @ 2019-02-05 10:28 UTC (permalink / raw)
To: buildroot
Signed-off-by: Lionel Flandrin <lionel@svkt.org>
---
package/zeromq/Config.in | 7 +++++++
package/zeromq/zeromq.mk | 4 ++++
2 files changed, 11 insertions(+)
diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in
index 69be9f002c..fdcdebc691 100644
--- a/package/zeromq/Config.in
+++ b/package/zeromq/Config.in
@@ -52,4 +52,11 @@ config BR2_PACKAGE_ZEROMQ_PGM
3208) implemented either over raw IP packets or UDP
datagrams (encapsulated PGM).
+config BR2_PACKAGE_ZEROMQ_DRAFTS
+ bool "Enable ZeroMQ draft APIs"
+ help
+ Enable unstable draft ZeroMQ APIs
+
+ https://pyzmq.readthedocs.io/en/latest/draft.html
+
endif
diff --git a/package/zeromq/zeromq.mk b/package/zeromq/zeromq.mk
index da57f8745c..0761e54405 100644
--- a/package/zeromq/zeromq.mk
+++ b/package/zeromq/zeromq.mk
@@ -47,6 +47,10 @@ else
ZEROMQ_CONF_OPTS += --without-pgm
endif
+ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y)
+ZEROMQ_CONF_OPTS += --enable-drafts
+endif
+
# ZeroMQ uses libsodium if it's available.
ifeq ($(BR2_PACKAGE_LIBSODIUM),y)
ZEROMQ_DEPENDENCIES += libsodium
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/python-pyzmq: Enable draft APIs when supported by ZeroMQ
2019-02-05 10:28 [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Lionel Flandrin
@ 2019-02-05 10:28 ` Lionel Flandrin
2019-02-06 16:19 ` Thomas Petazzoni
2019-02-06 16:19 ` [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Thomas Petazzoni
1 sibling, 1 reply; 4+ messages in thread
From: Lionel Flandrin @ 2019-02-05 10:28 UTC (permalink / raw)
To: buildroot
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>
---
package/python-pyzmq/python-pyzmq.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/python-pyzmq/python-pyzmq.mk b/package/python-pyzmq/python-pyzmq.mk
index 1f7cb5d613..b977cca927 100644
--- a/package/python-pyzmq/python-pyzmq.mk
+++ b/package/python-pyzmq/python-pyzmq.mk
@@ -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))
--
2.20.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled
2019-02-05 10:28 [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Lionel Flandrin
2019-02-05 10:28 ` [Buildroot] [PATCH 2/2] package/python-pyzmq: Enable draft APIs when supported by ZeroMQ Lionel Flandrin
@ 2019-02-06 16:19 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-02-06 16:19 UTC (permalink / raw)
To: buildroot
Hello Lionel,
On Tue, 5 Feb 2019 11:28:13 +0100
Lionel Flandrin <lionel@svkt.org> wrote:
> Signed-off-by: Lionel Flandrin <lionel@svkt.org>
> ---
> package/zeromq/Config.in | 7 +++++++
> package/zeromq/zeromq.mk | 4 ++++
> 2 files changed, 11 insertions(+)
>
> diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in
> index 69be9f002c..fdcdebc691 100644
> --- a/package/zeromq/Config.in
> +++ b/package/zeromq/Config.in
> @@ -52,4 +52,11 @@ config BR2_PACKAGE_ZEROMQ_PGM
> 3208) implemented either over raw IP packets or UDP
> datagrams (encapsulated PGM).
>
> +config BR2_PACKAGE_ZEROMQ_DRAFTS
> + bool "Enable ZeroMQ draft APIs"
Changed to:
bool "Draft APIs support"
> +ifeq ($(BR2_PACKAGE_ZEROMQ_DRAFTS),y)
> +ZEROMQ_CONF_OPTS += --enable-drafts
Added:
else
ZEROMQ_CONF_OPTS += --disable-drafts
Applied with those changes!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/python-pyzmq: Enable draft APIs when supported by ZeroMQ
2019-02-05 10:28 ` [Buildroot] [PATCH 2/2] package/python-pyzmq: Enable draft APIs when supported by ZeroMQ Lionel Flandrin
@ 2019-02-06 16:19 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-02-06 16:19 UTC (permalink / raw)
To: buildroot
On Tue, 5 Feb 2019 11:28:14 +0100
Lionel Flandrin <lionel@svkt.org> wrote:
> 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>
> ---
> package/python-pyzmq/python-pyzmq.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-02-06 16:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-05 10:28 [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Lionel Flandrin
2019-02-05 10:28 ` [Buildroot] [PATCH 2/2] package/python-pyzmq: Enable draft APIs when supported by ZeroMQ Lionel Flandrin
2019-02-06 16:19 ` Thomas Petazzoni
2019-02-06 16:19 ` [Buildroot] [PATCH 1/2] package/zeromq: Allow building with draft APIs enabled Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.