Signed-off-by: Roland Hieber <r...@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.reis...@de.bosch.com>
+#               2021 by Roland Hieber, Pengutronix <r...@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.reis...@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-requ...@pengutronix.de

Reply via email to