From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 07 Jun 2021 15:10:02 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lqF10-0008VY-Tz for lore@lore.pengutronix.de; Mon, 07 Jun 2021 15:10:02 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lqF10-00045Z-Lw; Mon, 07 Jun 2021 15:10:02 +0200 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lqF0C-0003mB-Vf; Mon, 07 Jun 2021 15:09:12 +0200 Received: from rhi by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lqF0C-0002OP-Ka; Mon, 07 Jun 2021 15:09:12 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Date: Mon, 7 Jun 2021 15:09:04 +0200 Message-Id: <20210607130909.4836-2-rhi@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210607130909.4836-1-rhi@pengutronix.de> References: <20210607130909.4836-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 2/7] python3-pyro: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Roland Hieber --- 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 +# 2021 by Roland Hieber, Pengutronix +# +# 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 ") + @$(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