mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] python3-periphery: new package
Date: Sat, 15 Jun 2024 16:59:03 +0200	[thread overview]
Message-ID: <20240615145903.4137196-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20240613100744.1899176-13-rhi@pengutronix.de>

Thanks, applied as 0dd71c4091f14c56c4319b9fede13bd29221bc21.

Michael

[sent from post-receive hook]

On Sat, 15 Jun 2024 16:59:03 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20240613100744.1899176-13-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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 <rhi@pengutronix.de>
> +#
> +# 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 <rhi@pengutronix.de>")
> +	@$(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



  reply	other threads:[~2024-06-15 15:03 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 10:07 [ptxdist] [PATCH v3 00/13] nanopb, at-spi2-core, and some python3 packages Roland Hieber
2024-06-13 10:07 ` [ptxdist] [PATCH v3 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
2024-06-15 14:58   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 02/13] nanopb: new package: tiny protobuf implementation Roland Hieber
2024-06-15 14:58   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0 Roland Hieber
2024-06-15 14:58   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 04/13] python3-jinja2: pin down license files Roland Hieber
2024-06-15 14:58   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 05/13] host-python3-markupsafe: add host package Roland Hieber
2024-06-15 14:58   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 06/13] host-python3-jinja2: " Roland Hieber
2024-06-15 14:58   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 07/13] host-python3-poetry-core: add new " Roland Hieber
2024-06-15 14:58   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 08/13] host-python3-dunamai: " Roland Hieber
2024-06-15 14:59   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 09/13] host-python3-tomlkit: " Roland Hieber
2024-06-15 14:59   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 10/13] host-python3-poetry-dynamic-versioning: " Roland Hieber
2024-06-15 14:59   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 11/13] python3-aiomqtt: new package Roland Hieber
2024-06-15 14:59   ` [ptxdist] [APPLIED] " Michael Olbrich
2024-06-13 10:07 ` [ptxdist] [PATCH v3 12/13] python3-periphery: " Roland Hieber
2024-06-15 14:59   ` Michael Olbrich [this message]
2024-06-13 10:07 ` [ptxdist] [PATCH v3 13/13] python3-protobuf: " Roland Hieber
2024-06-15 14:59   ` [ptxdist] [APPLIED] " 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=20240615145903.4137196-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rhi@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