mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Heidelberg <m.heidelberg@cab.de>
Subject: Re: [ptxdist] [APPLIED] python3-click: new package
Date: Tue,  3 Jun 2025 12:38:56 +0200	[thread overview]
Message-ID: <20250603103856.1204049-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250523114951.1747739-3-m.heidelberg@cab.de>

Thanks, applied as 847cdf3950cd81695a15a0fe561c7229fe69e921.

Michael

[sent from post-receive hook]

On Tue, 03 Jun 2025 12:38:56 +0200, Markus Heidelberg <m.heidelberg@cab.de> wrote:
> A more recent version 8.2.1 exists, but needs flit-core >= 3.11.0
> to support the changed 'license' keyword type in pyproject.toml
> (see PEP 639) and avoid this error in compile stage:
> 
> flit_core.config.ConfigError: license field should be <class 'dict'>, not <class 'str'>
> 
> Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
> Message-Id: <20250523114951.1747739-3-m.heidelberg@cab.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-click.in b/rules/python3-click.in
> new file mode 100644
> index 000000000000..82b6d17541ae
> --- /dev/null
> +++ b/rules/python3-click.in
> @@ -0,0 +1,11 @@
> +## SECTION=python3
> +
> +config PYTHON3_CLICK
> +	tristate
> +	select HOST_PYTHON3_PYBUILD
> +	select HOST_PYTHON3_INSTALLER
> +	select PYTHON3
> +	prompt "click"
> +	help
> +	  Click is a Python package for creating beautiful command line
> +	  interfaces in a composable way with as little code as necessary.
> diff --git a/rules/python3-click.make b/rules/python3-click.make
> new file mode 100644
> index 000000000000..c19ab51646be
> --- /dev/null
> +++ b/rules/python3-click.make
> @@ -0,0 +1,56 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2025 by Markus Heidelberg <m.heidelberg@cab.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_CLICK) += python3-click
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_CLICK_VERSION		:= 8.1.8
> +PYTHON3_CLICK_MD5		:= b52ee8e6c33d88a2b4626e6a6002245d
> +PYTHON3_CLICK			:= click-$(PYTHON3_CLICK_VERSION)
> +PYTHON3_CLICK_SUFFIX		:= tar.gz
> +PYTHON3_CLICK_URL		:= $(call ptx/mirror-pypi, click, $(PYTHON3_CLICK).$(PYTHON3_CLICK_SUFFIX))
> +PYTHON3_CLICK_SOURCE		:= $(SRCDIR)/$(PYTHON3_CLICK).$(PYTHON3_CLICK_SUFFIX)
> +PYTHON3_CLICK_DIR		:= $(BUILDDIR)/$(PYTHON3_CLICK)
> +PYTHON3_CLICK_LICENSE		:= BSD-3-Clause
> +PYTHON3_CLICK_LICENSE_FILES	:= \
> +	file://docs/license.rst;md5=9c09fd3983d581cb05598a19742ff5df \
> +	file://pyproject.toml;startline=5;endline=5;md5=b5e378dbc689d60085f38e2fc52fc318 \
> +	file://LICENSE.txt;md5=1fa98232fd645608937a0fdc82e999b8
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_CLICK_CONF_TOOL	:= python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-click.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-click)
> +	@$(call install_fixup, python3-click,PRIORITY,optional)
> +	@$(call install_fixup, python3-click,SECTION,base)
> +	@$(call install_fixup, python3-click,AUTHOR,"Markus Heidelberg <m.heidelberg@cab.de>")
> +	@$(call install_fixup, python3-click,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-click, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py)
> +
> +	@$(call install_finish, python3-click)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



  reply	other threads:[~2025-06-03 10:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-23 11:49 [ptxdist] [PATCH 0/5] Add Flask package and missing dependencies Markus Heidelberg via ptxdist
2025-05-23 11:49 ` [ptxdist] [PATCH 1/5] python3-werkzeug: new package Markus Heidelberg via ptxdist
2025-06-03 10:38   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-05-23 11:49 ` [ptxdist] [PATCH 2/5] python3-click: " Markus Heidelberg via ptxdist
2025-06-03 10:38   ` Michael Olbrich [this message]
2025-05-23 11:49 ` [ptxdist] [PATCH 3/5] python3-blinker: " Markus Heidelberg via ptxdist
2025-06-03 10:38   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-05-23 11:49 ` [ptxdist] [PATCH 4/5] python3-itsdangerous: " Markus Heidelberg via ptxdist
2025-06-03 10:38   ` [ptxdist] [APPLIED] " Michael Olbrich
2025-05-23 11:49 ` [ptxdist] [PATCH 5/5] python3-flask: " Markus Heidelberg via ptxdist
2025-06-03 10:39   ` [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=20250603103856.1204049-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=m.heidelberg@cab.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