From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200703115710.30041-8-p.zabel@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Mon, 06 Jul 2020 08:32:06 +0200 Subject: Re: [ptxdist] [APPLIED] python3-wcwidth: 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: Philipp Zabel Thanks, applied as fae5d362b5f7acf7f8c10084d65dc50b9f47cfdc. Michael [sent from post-receive hook] On Mon, 06 Jul 2020 08:32:06 +0200, Philipp Zabel wrote: > Signed-off-by: Philipp Zabel > Message-Id: <20200703115710.30041-8-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-wcwidth.in b/rules/python3-wcwidth.in > new file mode 100644 > index 000000000000..0d3ea64ce51d > --- /dev/null > +++ b/rules/python3-wcwidth.in > @@ -0,0 +1,8 @@ > +## SECTION=python3 > + > +config PYTHON3_WCWIDTH > + tristate > + select PYTHON3 > + prompt "wcwidth" > + help > + Measures the displayed width of unicode strings in a terminal > diff --git a/rules/python3-wcwidth.make b/rules/python3-wcwidth.make > new file mode 100644 > index 000000000000..e986eff132af > --- /dev/null > +++ b/rules/python3-wcwidth.make > @@ -0,0 +1,54 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Philipp Zabel > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_WCWIDTH) += python3-wcwidth > + > +# > +# Paths and names > +# > +PYTHON3_WCWIDTH_VERSION := 0.2.5 > +PYTHON3_WCWIDTH_MD5 := a07a75f99d316e14838ac760c831ea37 > +PYTHON3_WCWIDTH := wcwidth-$(PYTHON3_WCWIDTH_VERSION) > +PYTHON3_WCWIDTH_SUFFIX := tar.gz > +PYTHON3_WCWIDTH_URL := https://pypi.python.org/packages/source/w/wcwidth/$(PYTHON3_WCWIDTH).$(PYTHON3_WCWIDTH_SUFFIX) > +PYTHON3_WCWIDTH_SOURCE := $(SRCDIR)/$(PYTHON3_WCWIDTH).$(PYTHON3_WCWIDTH_SUFFIX) > +PYTHON3_WCWIDTH_DIR := $(BUILDDIR)/$(PYTHON3_WCWIDTH) > +PYTHON3_WCWIDTH_LICENSE := MIT > +PYTHON3_WCWIDTH_LICENSE_FILES := \ > + file://LICENSE;md5=b15979c39a2543892fca8cd86b4b52cb > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_WCWIDTH_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-wcwidth.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-wcwidth) > + @$(call install_fixup, python3-wcwidth, PRIORITY, optional) > + @$(call install_fixup, python3-wcwidth, SECTION, base) > + @$(call install_fixup, python3-wcwidth, AUTHOR, "Philipp Zabel ") > + @$(call install_fixup, python3-wcwidth, DESCRIPTION, missing) > + > + @$(call install_glob, python3-wcwidth, 0, 0, -, \ > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py) > + > + @$(call install_finish, python3-wcwidth) > + > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de