From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 15 Jun 2024 17:03:09 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sIUvt-006XKX-0L for lore@lore.pengutronix.de; Sat, 15 Jun 2024 17:03:09 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sIUvs-0005W2-DZ; Sat, 15 Jun 2024 17:03:08 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sIUrw-0000OB-0e; Sat, 15 Jun 2024 16:59:04 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sIUrv-002WgN-K5; Sat, 15 Jun 2024 16:59:03 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sIUrv-00HMH9-1s; Sat, 15 Jun 2024 16:59:03 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Sat, 15 Jun 2024 16:59:03 +0200 Message-Id: <20240615145903.4137196-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240613100744.1899176-13-rhi@pengutronix.de> References: <20240613100744.1899176-13-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] python3-periphery: 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 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 0dd71c4091f14c56c4319b9fede13bd29221bc21. Michael [sent from post-receive hook] On Sat, 15 Jun 2024 16:59:03 +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > Message-Id: <20240613100744.1899176-13-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-periphery.in b/rules/python3-periphery.in > new file mode 100644 > index 000000000000..ed3b53660909 > --- /dev/null > +++ b/rules/python3-periphery.in > @@ -0,0 +1,9 @@ > +## SECTION=python3 > + > +config PYTHON3_PERIPHERY > + tristate > + select PYTHON3 > + prompt "periphery" > + help > + A pure Python library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, > + MMIO, Serial) in Linux. > diff --git a/rules/python3-periphery.make b/rules/python3-periphery.make > new file mode 100644 > index 000000000000..9f0ace01feea > --- /dev/null > +++ b/rules/python3-periphery.make > @@ -0,0 +1,55 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2024 by Roland Hieber > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_PERIPHERY) += python3-periphery > + > +# > +# Paths and names > +# > +PYTHON3_PERIPHERY_VERSION := 2.4.1 > +PYTHON3_PERIPHERY_MD5 := 2b2a1037fb4ac15e7b0514ce3659d26c > +PYTHON3_PERIPHERY := python-periphery-$(PYTHON3_PERIPHERY_VERSION) > +PYTHON3_PERIPHERY_SUFFIX := tar.gz > +PYTHON3_PERIPHERY_URL := $(call ptx/mirror-pypi, python-periphery, $(PYTHON3_PERIPHERY).$(PYTHON3_PERIPHERY_SUFFIX)) > +PYTHON3_PERIPHERY_SOURCE := $(SRCDIR)/$(PYTHON3_PERIPHERY).$(PYTHON3_PERIPHERY_SUFFIX) > +PYTHON3_PERIPHERY_DIR := $(BUILDDIR)/$(PYTHON3_PERIPHERY) > +PYTHON3_PERIPHERY_LICENSE := MIT > +PYTHON3_PERIPHERY_LICENSE_FILES := \ > + file://README.md;startline=202;endline=204;md5=bc9620815782faae308ef7bcf23bcecb \ > + file://LICENSE;md5=30fe6f023a80fb33989fb3b9d773fea0 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_PERIPHERY_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-periphery.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-periphery) > + @$(call install_fixup, python3-periphery,PRIORITY,optional) > + @$(call install_fixup, python3-periphery,SECTION,base) > + @$(call install_fixup, python3-periphery,AUTHOR,"Roland Hieber ") > + @$(call install_fixup, python3-periphery,DESCRIPTION,missing) > + > + @$(call install_glob, python3-periphery, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish, python3-periphery) > + > + @$(call touch) > + > +# vim: syntax=make