* [ptxdist] [PATCH 1/4] sqlitecpp: new package @ 2019-08-28 13:58 Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8 Roland Hieber ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Roland Hieber @ 2019-08-28 13:58 UTC (permalink / raw) To: ptxdist; +Cc: Chetan Dayananda, Roland Hieber SQLiteC++ offers an encapsulation around the native C APIs of SQLite, with a few intuitive and well documented C++ classes. The library is only built statically, so there is no need to targetinstall anything. Based on a patch by Chetan Dayananda. Cc: Chetan Dayananda <chetan.dayananda@in.bosch.com> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- rules/sqlitecpp.in | 11 +++++++++++ rules/sqlitecpp.make | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 rules/sqlitecpp.in create mode 100644 rules/sqlitecpp.make diff --git a/rules/sqlitecpp.in b/rules/sqlitecpp.in new file mode 100644 index 000000000000..e6a662337029 --- /dev/null +++ b/rules/sqlitecpp.in @@ -0,0 +1,11 @@ +## SECTION=system_libraries + +config SQLITECPP + bool + prompt "sqlitecpp" + select HOST_CMAKE + select SQLITE + select SQLITE_LOAD_EXTENSION + help + SQLiteC++ offers an encapsulation around the native C APIs of SQLite, + with a few intuitive and well documented C++ classes. diff --git a/rules/sqlitecpp.make b/rules/sqlitecpp.make new file mode 100644 index 000000000000..5d1b74d60c8e --- /dev/null +++ b/rules/sqlitecpp.make @@ -0,0 +1,39 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Chetan Dayananda <chetan.dayananda@in.bosch.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_SQLITECPP) += sqlitecpp + +# +# Paths and names +# +SQLITECPP_VERSION := 2.4.0 +SQLITECPP_MD5 := aa0da9aa79bd76bc09446de418b6be08 +SQLITECPP := sqlitecpp-$(SQLITECPP_VERSION) +SQLITECPP_SUFFIX := tar.gz +SQLITECPP_URL := https://github.com/SRombauts/SQLiteCpp/archive/$(SQLITECPP_VERSION).$(SQLITECPP_SUFFIX) +SQLITECPP_SOURCE := $(SRCDIR)/$(SQLITECPP).tar.gz +SQLITECPP_DIR := $(BUILDDIR)/$(SQLITECPP) +SQLITECPP_LICENSE := MIT + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +SQLITECPP_CONF_TOOL := cmake +SQLITECPP_CONF_OPT := $(CROSS_CMAKE_USR) -DSQLITECPP_INTERNAL_SQLITE=OFF + +# +# No Target-Install stage because the package only builds a static lib. +# + +# vim: syntax=make -- 2.23.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8 2019-08-28 13:58 [ptxdist] [PATCH 1/4] sqlitecpp: new package Roland Hieber @ 2019-08-28 13:58 ` Roland Hieber 2019-09-01 20:31 ` [ptxdist] [PATCH v2 " Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 3/4] host-python-setuptools: version bump 17.0 -> 41.2.0 Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 4/4] python-pyro: new package Roland Hieber 2 siblings, 1 reply; 5+ messages in thread From: Roland Hieber @ 2019-08-28 13:58 UTC (permalink / raw) To: ptxdist; +Cc: Roland Hieber, Niklas Reisser Update version and make support for Java, Python 2 and Python 3 code generation selectable so that it doesn't pull in too many dependencies, but target packages can still select it if needed. Based on a patch by Niklas Reisser. Cc: Niklas Reisser <Niklas.Reisser@de.bosch.com> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- rules/host-swig.in | 15 +++++++++++++++ rules/host-swig.make | 10 +++++----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/rules/host-swig.in b/rules/host-swig.in index 24075d429e50..d0f1a1457e3a 100644 --- a/rules/host-swig.in +++ b/rules/host-swig.in @@ -6,3 +6,18 @@ config HOST_SWIG select HOST_ZLIB select HOST_LIBPCRE select HOST_PYTHON + select HOST_PYTHON3 if HOST_SWIG_PYTHON3_SUPPORT + select HOST_SYSTEM_JDK if HOST_SWIG_JAVA_SUPPORT + +if HOST_SWIG + +config HOST_SWIG_JAVA_SUPPORT + bool + +config HOST_SWIG_PYTHON_SUPPORT + bool + +config HOST_SWIG_PYTHON3_SUPPORT + bool + +endif diff --git a/rules/host-swig.make b/rules/host-swig.make index d15496999cab..7dc685e9e622 100644 --- a/rules/host-swig.make +++ b/rules/host-swig.make @@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_SWIG) += host-swig # # Paths and names # -HOST_SWIG_VERSION := 2.0.9 -HOST_SWIG_MD5 := 54d534b14a70badc226129159412ea85 +HOST_SWIG_VERSION := 3.0.8 +HOST_SWIG_MD5 := c96a1d5ecb13d38604d7e92148c73c97 HOST_SWIG := swig-$(HOST_SWIG_VERSION) HOST_SWIG_SUFFIX := tar.gz HOST_SWIG_URL := $(call ptx/mirror, SF, swig/$(HOST_SWIG).$(HOST_SWIG_SUFFIX)) @@ -38,11 +38,11 @@ HOST_SWIG_CONF_OPT = \ --without-boost \ --without-x \ --without-tcl \ - --with-python=$(CROSS_PYTHON) \ - --without-python3 \ + $(call ptx/ifdef, PTXCONF_HOST_SWIG_PYTHON_SUPPORT, --with-python=$(CROSS_PYTHON), --without-python) \ + $(call ptx/ifdef, PTXCONF_HOST_SWIG_PYTHON3_SUPPORT, --with-python=$(CROSS_PYTHON3), --without-python3) \ --without-perl5 \ --without-octave \ - --without-java \ + $(call ptx/ifdef, PTXCONF_HOST_SWIG_JAVA_SUPPORT, --with-java=$(PTXCONF_SETUP_JAVA_SDK), --without-java) \ --without-gcj \ --without-android \ --without-guile \ -- 2.23.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH v2 2/4] host-swig: version bump 2.0.9 -> 3.0.8 2019-08-28 13:58 ` [ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8 Roland Hieber @ 2019-09-01 20:31 ` Roland Hieber 0 siblings, 0 replies; 5+ messages in thread From: Roland Hieber @ 2019-09-01 20:31 UTC (permalink / raw) To: ptxdist; +Cc: Roland Hieber, Niklas Reisser Update version and make support for Java, Python 2 and Python 3 code generation selectable so that it doesn't pull in too many dependencies, but target packages can still select it if needed. Based on a patch by Niklas Reisser. Cc: Niklas Reisser <Niklas.Reisser@de.bosch.com> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- v1 -> v2: - also make HOST_PYTHON dependency conditional. - no change in the other patches, so not resending them. rules/host-swig.in | 17 ++++++++++++++++- rules/host-swig.make | 10 +++++----- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/rules/host-swig.in b/rules/host-swig.in index 24075d429e50..56a23fccefad 100644 --- a/rules/host-swig.in +++ b/rules/host-swig.in @@ -5,4 +5,19 @@ config HOST_SWIG default y if ALLYES select HOST_ZLIB select HOST_LIBPCRE - select HOST_PYTHON + select HOST_PYTHON if HOST_SWIG_PYTHON_SUPPORT + select HOST_PYTHON3 if HOST_SWIG_PYTHON3_SUPPORT + select HOST_SYSTEM_JDK if HOST_SWIG_JAVA_SUPPORT + +if HOST_SWIG + +config HOST_SWIG_JAVA_SUPPORT + bool + +config HOST_SWIG_PYTHON_SUPPORT + bool + +config HOST_SWIG_PYTHON3_SUPPORT + bool + +endif diff --git a/rules/host-swig.make b/rules/host-swig.make index d15496999cab..7dc685e9e622 100644 --- a/rules/host-swig.make +++ b/rules/host-swig.make @@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_SWIG) += host-swig # # Paths and names # -HOST_SWIG_VERSION := 2.0.9 -HOST_SWIG_MD5 := 54d534b14a70badc226129159412ea85 +HOST_SWIG_VERSION := 3.0.8 +HOST_SWIG_MD5 := c96a1d5ecb13d38604d7e92148c73c97 HOST_SWIG := swig-$(HOST_SWIG_VERSION) HOST_SWIG_SUFFIX := tar.gz HOST_SWIG_URL := $(call ptx/mirror, SF, swig/$(HOST_SWIG).$(HOST_SWIG_SUFFIX)) @@ -38,11 +38,11 @@ HOST_SWIG_CONF_OPT = \ --without-boost \ --without-x \ --without-tcl \ - --with-python=$(CROSS_PYTHON) \ - --without-python3 \ + $(call ptx/ifdef, PTXCONF_HOST_SWIG_PYTHON_SUPPORT, --with-python=$(CROSS_PYTHON), --without-python) \ + $(call ptx/ifdef, PTXCONF_HOST_SWIG_PYTHON3_SUPPORT, --with-python=$(CROSS_PYTHON3), --without-python3) \ --without-perl5 \ --without-octave \ - --without-java \ + $(call ptx/ifdef, PTXCONF_HOST_SWIG_JAVA_SUPPORT, --with-java=$(PTXCONF_SETUP_JAVA_SDK), --without-java) \ --without-gcj \ --without-android \ --without-guile \ -- 2.23.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH 3/4] host-python-setuptools: version bump 17.0 -> 41.2.0 2019-08-28 13:58 [ptxdist] [PATCH 1/4] sqlitecpp: new package Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8 Roland Hieber @ 2019-08-28 13:58 ` Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 4/4] python-pyro: new package Roland Hieber 2 siblings, 0 replies; 5+ messages in thread From: Roland Hieber @ 2019-08-28 13:58 UTC (permalink / raw) To: ptxdist; +Cc: Roland Hieber, Niklas Reisser python-pyro (which we will package in the next commit) needs a newer setuptools version. Based on a patch by Niklas Reisser. Cc: Niklas Reisser <Niklas.Reisser@de.bosch.com> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- rules/host-python-setuptools.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/host-python-setuptools.make b/rules/host-python-setuptools.make index 02a1c959eb13..0596d4f1ffba 100644 --- a/rules/host-python-setuptools.make +++ b/rules/host-python-setuptools.make @@ -14,8 +14,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_PYTHON_SETUPTOOLS) += host-python-setuptools # # Paths and names # -HOST_PYTHON_SETUPTOOLS_VERSION := 17.0 -HOST_PYTHON_SETUPTOOLS_MD5 := a661715d164163ec7a01a9277a6d49da +HOST_PYTHON_SETUPTOOLS_VERSION := 41.2.0 +HOST_PYTHON_SETUPTOOLS_MD5 := a3470ce184da33f0fa6c9f44f6221bc0 HOST_PYTHON_SETUPTOOLS := python-setuptools-$(HOST_PYTHON_SETUPTOOLS_VERSION) HOST_PYTHON_SETUPTOOLS_SUFFIX := zip HOST_PYTHON_SETUPTOOLS_URL := https://pypi.python.org/packages/source/s/setuptools/setuptools-$(HOST_PYTHON_SETUPTOOLS_VERSION).$(HOST_PYTHON_SETUPTOOLS_SUFFIX) -- 2.23.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 5+ messages in thread
* [ptxdist] [PATCH 4/4] python-pyro: new package 2019-08-28 13:58 [ptxdist] [PATCH 1/4] sqlitecpp: new package Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8 Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 3/4] host-python-setuptools: version bump 17.0 -> 41.2.0 Roland Hieber @ 2019-08-28 13:58 ` Roland Hieber 2 siblings, 0 replies; 5+ messages in thread From: Roland Hieber @ 2019-08-28 13:58 UTC (permalink / raw) To: ptxdist; +Cc: Roland Hieber, Niklas Reisser Based on a patch by Niklas Reisser. Cc: Niklas Reisser <Niklas.Reisser@de.bosch.com> Signed-off-by: Roland Hieber <rhi@pengutronix.de> --- rules/python-pyro.in | 20 +++++++++++++++ rules/python-pyro.make | 56 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 rules/python-pyro.in create mode 100644 rules/python-pyro.make diff --git a/rules/python-pyro.in b/rules/python-pyro.in new file mode 100644 index 000000000000..83e6ab94785e --- /dev/null +++ b/rules/python-pyro.in @@ -0,0 +1,20 @@ +## SECTION=python + +config PYTHON_PYRO + tristate + prompt "python-pyro" + select PYTHON + select HOST_PYTHON_SETUPTOOLS + + help + Pyro is a library that enables you to build applications + in which objects can talk to each other over the network, + with minimal programming effort. You can just use normal + Python method calls, with almost every possible parameter + and return value type, and Pyro takes care of locating the + right object on the right computer to execute the method. + It is designed to be very easy to use, and to generally stay + out of your way. But it also provides a set of powerful features + that enables you to build distributed applications rapidly and + effortlessly. Pyro is written in 100% pure Python and therefore + runs on many platforms and Python versions, including Python 3.x diff --git a/rules/python-pyro.make b/rules/python-pyro.make new file mode 100644 index 000000000000..fd39c73dc513 --- /dev/null +++ b/rules/python-pyro.make @@ -0,0 +1,56 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Niklas Reisser <niklas.reisser@de.bosch.com> +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON_PYRO) += python-pyro + +# +# Paths and names +# + +PYTHON_PYRO_VERSION := 4.76 +PYTHON_PYRO := Pyro4-$(PYTHON_PYRO_VERSION) +PYTHON_PYRO_MD5 := 03a09990328c9f2388ac806fa734689c +PYTHON_PYRO_SUFFIX := tar.gz +PYTHON_PYRO_URL := https://github.com/irmen/Pyro4/archive/$(PYTHON_PYRO_VERSION).$(PYTHON_PYRO_SUFFIX) +PYTHON_PYRO_SOURCE := $(SRCDIR)/$(PYTHON_PYRO).$(PYTHON_PYRO_SUFFIX) +PYTHON_PYRO_DIR := $(BUILDDIR)/$(PYTHON_PYRO) +PYTHON_PYRO_DEVPKG := NO +PYTHON_PYRO_LICENSE := MIT +PYTHON_PYRO_LICENSE_FILES := file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON_PYRO_CONF_TOOL := python + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python-pyro.targetinstall: + @$(call targetinfo) + @$(call install_init, python-pyro) + + @$(call install_fixup, python-pyro, PRIORITY, optional) + @$(call install_fixup, python-pyro, VERSION, $(PYTHON_PYRO_VERSION)) + @$(call install_fixup, python-pyro, AUTHOR, "Niklas Reisser <niklas.reisser@de.bosch.com>") + @$(call install_fixup, python-pyro, DESCRIPTION, missing) + @$(call install_fixup, python-pyro, DEPENDS, ) + + @$(call install_glob, python-pyro, 0, 0, -, \ + /usr/lib/python$(PYTHON_MAJORMINOR)/site-packages/Pyro4,, *.py) + + @$(call install_finish,python-pyro) + + @$(call touch) + +# vim: syntax=make -- 2.23.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-09-01 20:31 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-08-28 13:58 [ptxdist] [PATCH 1/4] sqlitecpp: new package Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 2/4] host-swig: version bump 2.0.9 -> 3.0.8 Roland Hieber 2019-09-01 20:31 ` [ptxdist] [PATCH v2 " Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 3/4] host-python-setuptools: version bump 17.0 -> 41.2.0 Roland Hieber 2019-08-28 13:58 ` [ptxdist] [PATCH 4/4] python-pyro: new package Roland Hieber
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox