From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Wed, 28 Aug 2019 15:58:11 +0200 Message-Id: <20190828135811.5680-4-rhi@pengutronix.de> In-Reply-To: <20190828135811.5680-1-rhi@pengutronix.de> References: <20190828135811.5680-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 4/4] python-pyro: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Roland Hieber , Niklas Reisser Based on a patch by Niklas Reisser. Cc: Niklas Reisser Signed-off-by: Roland Hieber --- 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 +# +# 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 ") + @$(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