From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200921083057.4074995-1-l.stach@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Tue, 06 Oct 2020 10:18:36 +0200 Subject: Re: [ptxdist] [APPLIED] python3-configshell: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Lucas Stach Thanks, applied as 623c1c6127ce501e628649facb24160fd6eea3da. Michael [sent from post-receive hook] On Tue, 06 Oct 2020 10:18:36 +0200, Lucas Stach wrote: > A framework to implement simple but nice CLIs. > > Signed-off-by: Lucas Stach > Message-Id: <20200921083057.4074995-1-l.stach@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-configshell.in b/rules/python3-configshell.in > new file mode 100644 > index 000000000000..e83bd2d6f6fe > --- /dev/null > +++ b/rules/python3-configshell.in > @@ -0,0 +1,11 @@ > +## SECTION=python3 > + > +config PYTHON3_CONFIGSHELL > + tristate > + select PYTHON3 > + select PYTHON3_SIX > + select PYTHON3_READLINE > + select PYTHON3_PYPARSING > + prompt "python3-configshell" > + help > + A framework to implement simple but nice CLIs. > diff --git a/rules/python3-configshell.make b/rules/python3-configshell.make > new file mode 100644 > index 000000000000..60642b987e9b > --- /dev/null > +++ b/rules/python3-configshell.make > @@ -0,0 +1,55 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Lucas Stach > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_CONFIGSHELL) += python3-configshell > + > +# > +# Paths and names > +# > +PYTHON3_CONFIGSHELL_VERSION := 1.1.28 > +PYTHON3_CONFIGSHELL_MD5 := effc6c44784e5cd77e2eacd07bef494d > +PYTHON3_CONFIGSHELL := configshell-fb-$(PYTHON3_CONFIGSHELL_VERSION) > +PYTHON3_CONFIGSHELL_SUFFIX := tar.gz > +PYTHON3_CONFIGSHELL_URL := https://pypi.io/packages/source/c/configshell-fb/$(PYTHON3_CONFIGSHELL).$(PYTHON3_CONFIGSHELL_SUFFIX) > +PYTHON3_CONFIGSHELL_SOURCE := $(SRCDIR)/$(PYTHON3_CONFIGSHELL).$(PYTHON3_CONFIGSHELL_SUFFIX) > +PYTHON3_CONFIGSHELL_DIR := $(BUILDDIR)/$(PYTHON3_CONFIGSHELL) > +PYTHON3_CONFIGSHELL_LICENSE := Apache-2.0 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# python3 > +# > +PYTHON3_CONFIGSHELL_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-configshell.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-configshell) > + @$(call install_fixup, python3-configshell,PRIORITY,optional) > + @$(call install_fixup, python3-configshell,SECTION,base) > + @$(call install_fixup, python3-configshell,AUTHOR,"Lucas Stach ") > + @$(call install_fixup, python3-configshell,DESCRIPTION,missing) > + > + @$(call install_glob, python3-configshell, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES)/configshell_fb,, *.py) > + > + @$(call install_finish, python3-configshell) > + > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de