Thanks, applied as fae5d362b5f7acf7f8c10084d65dc50b9f47cfdc.

Michael

[sent from post-receive hook]

On Mon, 06 Jul 2020 08:32:06 +0200, Philipp Zabel <[email protected]> 
wrote:
> Signed-off-by: Philipp Zabel <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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 <[email protected]>
> +#
> +# 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 
> <[email protected]>")
> +     @$(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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to