mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Jan Luebbe <jlu@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] python3-pyusb: new package
Date: Tue,  2 May 2023 09:06:11 +0200	[thread overview]
Message-ID: <20230502070611.316725-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20230428085355.167793-1-jlu@pengutronix.de>

Thanks, applied as 3e819572585da675820332fb6e11a18601bfd754.

Michael

[sent from post-receive hook]

On Tue, 02 May 2023 09:06:10 +0200, Jan Luebbe <jlu@pengutronix.de> wrote:
> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
> Message-Id: <20230428085355.167793-1-jlu@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-pyusb.in b/rules/python3-pyusb.in
> new file mode 100644
> index 000000000000..c20b081f3494
> --- /dev/null
> +++ b/rules/python3-pyusb.in
> @@ -0,0 +1,10 @@
> +## SECTION=python3
> +
> +config PYTHON3_PYUSB
> +	tristate
> +	select HOST_PYTHON3_SETUPTOOLS_SCM
> +	select PYTHON3
> +	select LIBUSB
> +	prompt "pyusb"
> +	help
> +	  Easy USB access for Python
> diff --git a/rules/python3-pyusb.make b/rules/python3-pyusb.make
> new file mode 100644
> index 000000000000..a717e7883e74
> --- /dev/null
> +++ b/rules/python3-pyusb.make
> @@ -0,0 +1,54 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Jan Luebbe <jlu@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_PYUSB) += python3-pyusb
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_PYUSB_VERSION		:= 1.2.1
> +PYTHON3_PYUSB_MD5		:= 880008dff32dac8f58076b4e534492d9
> +PYTHON3_PYUSB			:= pyusb-$(PYTHON3_PYUSB_VERSION)
> +PYTHON3_PYUSB_SUFFIX		:= tar.gz
> +PYTHON3_PYUSB_URL		:= $(call ptx/mirror-pypi, pyusb, $(PYTHON3_PYUSB).$(PYTHON3_PYUSB_SUFFIX))
> +PYTHON3_PYUSB_SOURCE		:= $(SRCDIR)/$(PYTHON3_PYUSB).$(PYTHON3_PYUSB_SUFFIX)
> +PYTHON3_PYUSB_DIR		:= $(BUILDDIR)/$(PYTHON3_PYUSB)
> +PYTHON3_PYUSB_LICENSE		:= BSD-3-Clause
> +PYTHON3_PYUSB_LICENSE_FILES	:= \
> +	file://LICENSE;md5=e64a29fcd3c3dd356a24e235dfcb3905
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_PYUSB_CONF_TOOL	:= python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-pyusb.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-pyusb)
> +	@$(call install_fixup, python3-pyusb,PRIORITY,optional)
> +	@$(call install_fixup, python3-pyusb,SECTION,base)
> +	@$(call install_fixup, python3-pyusb,AUTHOR,"Jan Luebbe <jlu@pengutronix.de>")
> +	@$(call install_fixup, python3-pyusb,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-pyusb, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py)
> +
> +	@$(call install_finish, python3-pyusb)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



      reply	other threads:[~2023-05-02  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28  8:53 [ptxdist] [PATCH] " Jan Luebbe
2023-05-02  7:06 ` Michael Olbrich [this message]

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=20230502070611.316725-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=jlu@pengutronix.de \
    --cc=ptxdist@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