From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>,
Niklas Reisser <Niklas.Reisser@de.bosch.com>
Subject: [ptxdist] [PATCH 4/4] python-pyro: new package
Date: Wed, 28 Aug 2019 15:58:11 +0200 [thread overview]
Message-ID: <20190828135811.5680-4-rhi@pengutronix.de> (raw)
In-Reply-To: <20190828135811.5680-1-rhi@pengutronix.de>
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
prev parent reply other threads:[~2019-08-28 13:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-28 13:58 [ptxdist] [PATCH 1/4] sqlitecpp: " 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 ` Roland Hieber [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190828135811.5680-4-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=Niklas.Reisser@de.bosch.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox