From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 03 Jun 2025 12:39:20 +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 1uMP3A-003HGq-0K for lore@lore.pengutronix.de; Tue, 03 Jun 2025 12:39:20 +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 1uMP39-0001ln-Fg; Tue, 03 Jun 2025 12:39:19 +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 1uMP2m-0000Up-LZ; Tue, 03 Jun 2025 12:38:56 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uMP2m-001bjx-1Y; Tue, 03 Jun 2025 12:38:56 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uMP2m-0053Ih-1M; Tue, 03 Jun 2025 12:38:56 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Tue, 3 Jun 2025 12:38:56 +0200 Message-Id: <20250603103856.1204049-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250523114951.1747739-3-m.heidelberg@cab.de> References: <20250523114951.1747739-3-m.heidelberg@cab.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] python3-click: 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: Markus Heidelberg 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 847cdf3950cd81695a15a0fe561c7229fe69e921. Michael [sent from post-receive hook] On Tue, 03 Jun 2025 12:38:56 +0200, Markus Heidelberg 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 , not > > Signed-off-by: Markus Heidelberg > Message-Id: <20250523114951.1747739-3-m.heidelberg@cab.de> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(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