mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH 2/3] python3-sqlparse: new package
Date: Thu, 17 Sep 2020 14:25:03 +0200	[thread overview]
Message-ID: <20200917122504.18935-2-bst@pengutronix.de> (raw)
In-Reply-To: <20200917122504.18935-1-bst@pengutronix.de>

python3-django requires this since version 2.2 .

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
 rules/python3-sqlparse.in   |  8 ++++++
 rules/python3-sqlparse.make | 52 +++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 rules/python3-sqlparse.in
 create mode 100644 rules/python3-sqlparse.make

diff --git a/rules/python3-sqlparse.in b/rules/python3-sqlparse.in
new file mode 100644
index 000000000..17b4097ba
--- /dev/null
+++ b/rules/python3-sqlparse.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_SQLPARSE
+	tristate
+	select PYTHON3
+	prompt "sqlparse"
+	help
+	  Non-validating SQL parser for Python
diff --git a/rules/python3-sqlparse.make b/rules/python3-sqlparse.make
new file mode 100644
index 000000000..98f74ef45
--- /dev/null
+++ b/rules/python3-sqlparse.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_SQLPARSE) += python3-sqlparse
+
+#
+# Paths and names
+#
+PYTHON3_SQLPARSE_VERSION	:= 0.3.1
+PYTHON3_SQLPARSE_MD5		:= 423047887a3590b04dd18f8caf843a2f
+PYTHON3_SQLPARSE		:= sqlparse-$(PYTHON3_SQLPARSE_VERSION)
+PYTHON3_SQLPARSE_SUFFIX		:= tar.gz
+PYTHON3_SQLPARSE_URL		:= https://files.pythonhosted.org/packages/67/4b/253b6902c1526885af6d361ca8c6b1400292e649f0e9c95ee0d2e8ec8681/$(PYTHON3_SQLPARSE).$(PYTHON3_SQLPARSE_SUFFIX)
+PYTHON3_SQLPARSE_SOURCE		:= $(SRCDIR)/$(PYTHON3_SQLPARSE).$(PYTHON3_SQLPARSE_SUFFIX)
+PYTHON3_SQLPARSE_DIR		:= $(BUILDDIR)/$(PYTHON3_SQLPARSE)
+PYTHON3_SQLPARSE_LICENSE	:= BSD-3-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_SQLPARSE_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-sqlparse.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-sqlparse)
+	@$(call install_fixup, python3-sqlparse, PRIORITY, optional)
+	@$(call install_fixup, python3-sqlparse, SECTION, base)
+	@$(call install_fixup, python3-sqlparse, AUTHOR, "Bastian Krause <bst@pengutronix.de>")
+	@$(call install_fixup, python3-sqlparse, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-sqlparse, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-sqlparse)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.28.0


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

  reply	other threads:[~2020-09-17 12:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-17 12:25 [ptxdist] [PATCH 1/3] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause
2020-09-17 12:25 ` Bastian Krause [this message]
2020-09-17 12:25 ` [ptxdist] [PATCH 3/3] python3-django: version bump 1.8.7 -> 2.2.16 Bastian Krause
2020-09-21 10:20 ` [ptxdist] [PATCH 1/3] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause

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=20200917122504.18935-2-bst@pengutronix.de \
    --to=bst@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