Thanks, applied as d6f28c84bd5a543d721a3c83fe519141fd4e0ef4.

Michael

[sent from post-receive hook]

On Tue, 20 Jul 2021 13:48:25 +0200, Lars Pedersen <[email protected]> wrote:
> Signed-off-by: Lars Pedersen <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/python3-tabulate.in b/rules/python3-tabulate.in
> new file mode 100644
> index 000000000000..cbca26140c07
> --- /dev/null
> +++ b/rules/python3-tabulate.in
> @@ -0,0 +1,8 @@
> +## SECTION=python3
> +
> +config PYTHON3_TABULATE
> +     tristate
> +     select PYTHON3
> +     prompt "tabulate"
> +     help
> +       Pretty-print tabular data in Python, a library and a command-line 
> utility
> diff --git a/rules/python3-tabulate.make b/rules/python3-tabulate.make
> new file mode 100644
> index 000000000000..3665e1e45ed3
> --- /dev/null
> +++ b/rules/python3-tabulate.make
> @@ -0,0 +1,54 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2021 by Lars Pedersen <[email protected]>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_TABULATE) += python3-tabulate
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_TABULATE_VERSION     := 0.8.9
> +PYTHON3_TABULATE_MD5         := 71e6f214512ceda2892be47767156754
> +PYTHON3_TABULATE             := tabulate-$(PYTHON3_TABULATE_VERSION)
> +PYTHON3_TABULATE_SUFFIX              := tar.gz
> +PYTHON3_TABULATE_URL         := $(call ptx/mirror-pypi, tabulate, 
> $(PYTHON3_TABULATE).$(PYTHON3_TABULATE_SUFFIX))
> +PYTHON3_TABULATE_SOURCE              := 
> $(SRCDIR)/$(PYTHON3_TABULATE).$(PYTHON3_TABULATE_SUFFIX)
> +PYTHON3_TABULATE_DIR         := $(BUILDDIR)/$(PYTHON3_TABULATE)
> +PYTHON3_TABULATE_LICENSE     := MIT
> +PYTHON3_TABULATE_LICENSE_FILES := \
> +     file://LICENSE;md5=fad5a39bdfe452b13775adda41023ba7
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +PYTHON3_TABULATE_CONF_TOOL   := python3
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-tabulate.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, python3-tabulate)
> +     @$(call install_fixup, python3-tabulate,PRIORITY,optional)
> +     @$(call install_fixup, python3-tabulate,SECTION,base)
> +     @$(call install_fixup, python3-tabulate,AUTHOR,"Lars Pedersen 
> <[email protected]>")
> +     @$(call install_fixup, python3-tabulate,DESCRIPTION,missing)
> +
> +     @$(call install_glob, python3-tabulate, 0, 0, -, \
> +             $(PYTHON3_SITEPACKAGES),, *.py)
> +
> +     @$(call install_finish, python3-tabulate)
> +
> +     @$(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