mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 1/2] python3-configshell: new package
Date: Sun, 20 Sep 2020 18:06:49 +0200	[thread overview]
Message-ID: <20200920160649.qq367bfzki6kv5ko@pengutronix.de> (raw)
In-Reply-To: <20200918082948.3458392-1-l.stach@pengutronix.de>

On Fri, Sep 18, 2020 at 10:29:47AM +0200, Lucas Stach wrote:
> A framework to implement simple but nice CLIs.
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
>  rules/python3-configshell.in   | 11 +++++++
>  rules/python3-configshell.make | 55 ++++++++++++++++++++++++++++++++++
>  2 files changed, 66 insertions(+)
>  create mode 100644 rules/python3-configshell.in
>  create mode 100644 rules/python3-configshell.make
> 
> 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..63810e1e21b2
> --- /dev/null
> +++ b/rules/python3-configshell.make
> @@ -0,0 +1,55 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Lucas Stach <l.stach@pengutronix.de>
> +#
> +# 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	:= ASL 2.0

There is no such SPDX identifier… did you mean Apache-2.0? Same for the
next patch.

 - Roland

> +
> +# ----------------------------------------------------------------------------
> +# 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 <l.stach@pengutronix.de>")
> +	@$(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
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

      parent reply	other threads:[~2020-09-20 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18  8:29 Lucas Stach
2020-09-18  8:29 ` [ptxdist] [PATCH 2/2] nvmetcli: " Lucas Stach
2020-09-20 16:06 ` Roland Hieber [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=20200920160649.qq367bfzki6kv5ko@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=l.stach@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