[ptxdist] Backporting Python3.5 and Django to PTXdist 2013.03
Hi, I am trying to backport Python3.5 and Django to PTXdist 2013.03. I was able to backport Python3.5 from PTXdist 2016.04 by copying python3 .in and .make files and also patches files. Then I also copied following files: 'ptxd_make_dts_dtc.sh' and 'ptxd_make_world_install.sh'. But I cannot backport python3-django. Indeed I have an error concerning _CONF_TOOL := python3. So I think I missed some files to support that: PYTHON3_DJANGO_CONF_TOOL := python3 Which files should be taken to support the python3 CONF_TOOL ? Regards, Omer ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Backporting Python3.5 and Django to PTXdist 2013.03
I am using "WAGO-PFC-BSP-2016.10.2" which is based on PTXdist 2013.0. And I am not sure that I will be able to migrate all Wago stuffs. 2017-02-09 10:26 GMT+01:00 Michael Olbrich: > Hi, > > On Thu, Feb 09, 2017 at 10:21:16AM +0100, Ömer Maden wrote: > > Maybe I have found concerned commit > > : 048b4aefcea1d9f51d5543f13d8dd1e386b8e52c (add helper to build python > > packages). I will test... > > Yes, that one is definitively needed. There may be other related commits as > well. Why not update to a new ptxdist version? > > Michael > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | > > ___ > ptxdist mailing list > ptxdist@pengutronix.de -- Omer Maden omer.ma...@gmail.com ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Backporting Python3.5 and Django to PTXdist 2013.03
Re, Maybe I have found concerned commit : 048b4aefcea1d9f51d5543f13d8dd1e386b8e52c (add helper to build python packages). I will test... Regards, Omer 2017-02-09 9:55 GMT+01:00 Ömer Maden: > Hi, > > I am trying to backport Python3.5 and Django to PTXdist 2013.03. > > I was able to backport Python3.5 from PTXdist 2016.04 by copying python3 > .in and .make files and also patches files. > Then I also copied following files: 'ptxd_make_dts_dtc.sh' and > 'ptxd_make_world_install.sh'. > > But I cannot backport python3-django. Indeed I have an error concerning > _CONF_TOOL := python3. So I think I missed some files to support that: > PYTHON3_DJANGO_CONF_TOOL := python3 > > Which files should be taken to support the python3 CONF_TOOL ? > > Regards, > Omer > > -- Omer Maden omer.ma...@gmail.com ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Backporting Python3.5 and Django to PTXdist 2013.03
Hi, On Thu, Feb 09, 2017 at 10:21:16AM +0100, Ömer Maden wrote: > Maybe I have found concerned commit > : 048b4aefcea1d9f51d5543f13d8dd1e386b8e52c (add helper to build python > packages). I will test... Yes, that one is definitively needed. There may be other related commits as well. Why not update to a new ptxdist version? Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] host-cmake: version bump 3.1.1 -> 3.7.2
Signed-off-by: Ulrich Ölmann--- rules/host-cmake.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/host-cmake.make b/rules/host-cmake.make index d7a52bd5063e..5db8e76b76ad 100644 --- a/rules/host-cmake.make +++ b/rules/host-cmake.make @@ -17,11 +17,11 @@ HOST_PACKAGES-$(PTXCONF_HOST_CMAKE) += host-cmake # # Paths and names # -HOST_CMAKE_VERSION := 3.1.1 -HOST_CMAKE_MD5 := 0ae4f25dbec66697c0c3cec1b9e885ae +HOST_CMAKE_VERSION := 3.7.2 +HOST_CMAKE_MD5 := 79bd7e65cd81ea3aa2619484ad6ff25a HOST_CMAKE := cmake-$(HOST_CMAKE_VERSION) HOST_CMAKE_SUFFIX := tar.gz -HOST_CMAKE_URL := http://www.cmake.org/files/v3.1/$(HOST_CMAKE).$(HOST_CMAKE_SUFFIX) +HOST_CMAKE_URL := http://www.cmake.org/files/v3.7/$(HOST_CMAKE).$(HOST_CMAKE_SUFFIX) HOST_CMAKE_SOURCE := $(SRCDIR)/$(HOST_CMAKE).$(HOST_CMAKE_SUFFIX) HOST_CMAKE_DIR := $(HOST_BUILDDIR)/$(HOST_CMAKE) HOST_CMAKE_LICENSE := BSD-3-Clause, Apache-2.0, bzip2-1.0.5 -- 2.1.4 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] libcap: make host-gperf dependency explicit
Keep using gperf to optimize cap lookups at runtime, but make the dependency on host-gperf explicit. Signed-off-by: Clemens Gruber--- rules/libcap.in | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/libcap.in b/rules/libcap.in index 767b4f412..6262467d1 100644 --- a/rules/libcap.in +++ b/rules/libcap.in @@ -2,6 +2,7 @@ menuconfig LIBCAP tristate + select HOST_GPERF prompt "libcap" help A library for getting and setting POSIX.1e capabilities. -- 2.11.1 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] host-libcap: disable gperf dependency
Fixes a build error when the implicit dependency host-gperf is not available. As it is only an optimization used at build-time of other ptxdist packages, we can disable gperf support. Signed-off-by: Clemens Gruber--- rules/host-libcap.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/host-libcap.make b/rules/host-libcap.make index 251f2d56b..e5c456382 100644 --- a/rules/host-libcap.make +++ b/rules/host-libcap.make @@ -18,7 +18,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBCAP) += host-libcap # Prepare # -HOST_LIBCAP_MAKE_OPT := prefix= PAM_CAP=no LIBATTR=no lib=lib +HOST_LIBCAP_MAKE_OPT := prefix= BUILD_GPERF=no PAM_CAP=no LIBATTR=no lib=lib HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) RAISE_SETFCAP=no install # vim: syntax=make -- 2.11.1 ___ ptxdist mailing list ptxdist@pengutronix.de