mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH 2/7] python3-pyro: new package
Date: Mon,  7 Jun 2021 15:09:04 +0200	[thread overview]
Message-ID: <20210607130909.4836-2-rhi@pengutronix.de> (raw)
In-Reply-To: <20210607130909.4836-1-rhi@pengutronix.de>

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 rules/python3-pyro.in   | 20 +++++++++++++++
 rules/python3-pyro.make | 55 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 rules/python3-pyro.in
 create mode 100644 rules/python3-pyro.make

diff --git a/rules/python3-pyro.in b/rules/python3-pyro.in
new file mode 100644
index 000000000000..fcf350dccec9
--- /dev/null
+++ b/rules/python3-pyro.in
@@ -0,0 +1,20 @@
+## SECTION=python3
+
+config PYTHON3_PYRO
+	tristate
+	prompt "python3-pyro"
+	select PYTHON3
+	select HOST_PYTHON3_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/python3-pyro.make b/rules/python3-pyro.make
new file mode 100644
index 000000000000..4751931d2ea9
--- /dev/null
+++ b/rules/python3-pyro.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Niklas Reisser <niklas.reisser@de.bosch.com>
+#               2021 by Roland Hieber, Pengutronix <rhi@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_PYRO) += python3-pyro
+
+#
+# Paths and names
+#
+
+PYTHON3_PYRO_VERSION	:= 4.76
+PYTHON3_PYRO		:= Pyro4-$(PYTHON3_PYRO_VERSION)
+PYTHON3_PYRO_MD5	:= 03a09990328c9f2388ac806fa734689c
+PYTHON3_PYRO_SUFFIX	:= tar.gz
+PYTHON3_PYRO_URL	:= $(call ptx/mirror-pypi, pyro4, $(PYTHON3_PYRO_VERSION).$(PYTHON3_PYRO_SUFFIX))
+PYTHON3_PYRO_SOURCE	:= $(SRCDIR)/$(PYTHON3_PYRO).$(PYTHON3_PYRO_SUFFIX)
+PYTHON3_PYRO_DIR	:= $(BUILDDIR)/$(PYTHON3_PYRO)
+PYTHON3_PYRO_LICENSE	:= MIT
+PYTHON3_PYRO_LICENSE_FILES	:= file://LICENSE;md5=cd13dafd4eeb0802bb6efea6b4a4bdbc
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PYRO_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-pyro.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-pyro)
+	@$(call install_fixup, python3-pyro,PRIORITY,optional)
+	@$(call install_fixup, python3-pyro,SECTION,base)
+	@$(call install_fixup, python3-pyro,AUTHOR,"Niklas Reisser <niklas.reisser@de.bosch.com>")
+	@$(call install_fixup, python3-pyro,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-pyro, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES)/Pyro4,, *.py)
+
+	@$(call install_finish, python3-pyro)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.29.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2021-06-07 13:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07 13:09 [ptxdist] [PATCH 1/7] googletest: " Roland Hieber
2021-06-07 13:09 ` Roland Hieber [this message]
2021-06-16 10:35   ` [ptxdist] [APPLIED] python3-pyro: " Michael Olbrich
2021-06-07 13:09 ` [ptxdist] [PATCH 3/7] host-extract-cert: version bump 0.1 -> 0.2 Roland Hieber
2021-06-16 10:35   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-07 13:09 ` [ptxdist] [PATCH 4/7] ima-evm-utils: fix license statement Roland Hieber
2021-06-11 12:24   ` Michael Olbrich
2021-06-07 13:09 ` [ptxdist] [PATCH 5/7] ima-evm-utils: version bump 1.1 -> 1.2.1 Roland Hieber
2021-06-11 12:18   ` Michael Olbrich
2021-06-16 16:01     ` Roland Hieber
2021-06-17  6:44       ` Michael Olbrich
2021-06-17  6:47         ` Michael Olbrich
2021-06-17  7:08           ` Michael Olbrich
2021-06-17 13:01             ` Roland Hieber
2021-06-07 13:09 ` [ptxdist] [PATCH 6/7] rng-tools: allow installing rngtest without rngd Roland Hieber
2021-06-16 10:35   ` [ptxdist] [APPLIED] " Michael Olbrich
2021-06-07 13:09 ` [ptxdist] [PATCH 7/7] systemd: make hostnamed and quotacheck optional Roland Hieber
2021-06-11  8:04   ` Michael Olbrich
2021-06-16 16:14     ` Roland Hieber
2021-06-17  6:45       ` Michael Olbrich
2021-06-16 10:35 ` [ptxdist] [APPLIED] googletest: new package Michael Olbrich

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=20210607130909.4836-2-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --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