* [Buildroot] [PATCH 1/1] package/python-dnspython: enable host build
@ 2021-04-26 16:55 Bernd Kuhls
2021-04-26 18:03 ` Peter Korsgaard
2021-04-26 18:06 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2021-04-26 16:55 UTC (permalink / raw
To: buildroot
Needed for Samba 4.14.x:
https://gitlab.com/samba-team/samba/-/commit/2420b7c6d2038aca33759ca3a7d41240c5f19bf7#bc16f0673dfbb473658dfd16961cdbf12f02ea5a_8_15
Fixes:
http://autobuild.buildroot.net/results/7dc/7dc7e304cb4e9afb157326dd5e4ae38711e91cad/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
Forgot to send this patch while sending:
http://patchwork.ozlabs.org/project/buildroot/patch/20210404165823.954492-1-bernd.kuhls at t-online.de/
package/python-dnspython/python-dnspython.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/python-dnspython/python-dnspython.mk b/package/python-dnspython/python-dnspython.mk
index 18d98efd72..ed11687291 100644
--- a/package/python-dnspython/python-dnspython.mk
+++ b/package/python-dnspython/python-dnspython.mk
@@ -17,4 +17,11 @@ define PYTHON_DNSPYTHON_EXTRACT_CMDS
$(RM) -r $(@D)/dnspython-$(PYTHON_DNSPYTHON_VERSION)
endef
+define HOST_PYTHON_DNSPYTHON_EXTRACT_CMDS
+ $(UNZIP) -d $(@D) $(HOST_PYTHON_DNSPYTHON_DL_DIR)/$(HOST_PYTHON_DNSPYTHON_SOURCE)
+ mv $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION)/* $(@D)
+ $(RM) -r $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION)
+endef
+
$(eval $(python-package))
+$(eval $(host-python-package))
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-dnspython: enable host build
2021-04-26 16:55 [Buildroot] [PATCH 1/1] package/python-dnspython: enable host build Bernd Kuhls
@ 2021-04-26 18:03 ` Peter Korsgaard
2021-04-26 18:06 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-04-26 18:03 UTC (permalink / raw
To: buildroot
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:
> Needed for Samba 4.14.x:
> https://gitlab.com/samba-team/samba/-/commit/2420b7c6d2038aca33759ca3a7d41240c5f19bf7#bc16f0673dfbb473658dfd16961cdbf12f02ea5a_8_15
> Fixes:
> http://autobuild.buildroot.net/results/7dc/7dc7e304cb4e9afb157326dd5e4ae38711e91cad/
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> Forgot to send this patch while sending:
> http://patchwork.ozlabs.org/project/buildroot/patch/20210404165823.954492-1-bernd.kuhls at t-online.de/
> package/python-dnspython/python-dnspython.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
> diff --git a/package/python-dnspython/python-dnspython.mk b/package/python-dnspython/python-dnspython.mk
> index 18d98efd72..ed11687291 100644
> --- a/package/python-dnspython/python-dnspython.mk
> +++ b/package/python-dnspython/python-dnspython.mk
> @@ -17,4 +17,11 @@ define PYTHON_DNSPYTHON_EXTRACT_CMDS
> $(RM) -r $(@D)/dnspython-$(PYTHON_DNSPYTHON_VERSION)
> endef
> +define HOST_PYTHON_DNSPYTHON_EXTRACT_CMDS
> + $(UNZIP) -d $(@D) $(HOST_PYTHON_DNSPYTHON_DL_DIR)/$(HOST_PYTHON_DNSPYTHON_SOURCE)
> + mv $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION)/* $(@D)
> + $(RM) -r $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION)
> +endef
Ideally we probably would should change pkg-generic so the host variant
inherits the extract commands from the target variant if set, but OK.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/python-dnspython: enable host build
2021-04-26 16:55 [Buildroot] [PATCH 1/1] package/python-dnspython: enable host build Bernd Kuhls
2021-04-26 18:03 ` Peter Korsgaard
@ 2021-04-26 18:06 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-04-26 18:06 UTC (permalink / raw
To: buildroot
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:
> Needed for Samba 4.14.x:
> https://gitlab.com/samba-team/samba/-/commit/2420b7c6d2038aca33759ca3a7d41240c5f19bf7#bc16f0673dfbb473658dfd16961cdbf12f02ea5a_8_15
> Fixes:
> http://autobuild.buildroot.net/results/7dc/7dc7e304cb4e9afb157326dd5e4ae38711e91cad/
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> Forgot to send this patch while sending:
> http://patchwork.ozlabs.org/project/buildroot/patch/20210404165823.954492-1-bernd.kuhls at t-online.de/
Committed to 2021.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-26 18:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-26 16:55 [Buildroot] [PATCH 1/1] package/python-dnspython: enable host build Bernd Kuhls
2021-04-26 18:03 ` Peter Korsgaard
2021-04-26 18:06 ` Peter Korsgaard
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.