From: Lars Pedersen <lapeddk@gmail.com>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: [ptxdist] [PATCH 1/2] python3-tabulate: new package
Date: Mon, 5 Jul 2021 11:40:03 +0200 [thread overview]
Message-ID: <20210705094004.56639-1-lapeddk@gmail.com> (raw)
Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
rules/python3-tabulate.in | 8 ++++++
rules/python3-tabulate.make | 54 +++++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
create mode 100644 rules/python3-tabulate.in
create mode 100644 rules/python3-tabulate.make
diff --git a/rules/python3-tabulate.in b/rules/python3-tabulate.in
new file mode 100644
index 000000000..cbca26140
--- /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 000000000..3665e1e45
--- /dev/null
+++ b/rules/python3-tabulate.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Lars Pedersen <lapeddk@gmail.com>
+#
+# 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 <lapeddk@gmail.com>")
+ @$(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
--
2.31.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2021-07-05 9:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-05 9:40 Lars Pedersen [this message]
2021-07-05 9:40 ` [ptxdist] [PATCH 2/2] python3-yoyo-migrations: " Lars Pedersen
2021-07-20 11:48 ` [ptxdist] [APPLIED] " Michael Olbrich
2021-07-20 11:48 ` [ptxdist] [APPLIED] python3-tabulate: " Michael Olbrich
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=20210705094004.56639-1-lapeddk@gmail.com \
--to=lapeddk@gmail.com \
--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