From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200922141434.8544-18-bst@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Tue, 06 Oct 2020 10:18:47 +0200 Subject: Re: [ptxdist] [APPLIED] python3-sqlparse: 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: Bastian Krause Thanks, applied as 022de2d13f4a090f8f076c94b5eedc33aed6a387. Michael [sent from post-receive hook] On Tue, 06 Oct 2020 10:18:47 +0200, Bastian Krause wrote: > python3-django requires this since version 2.2 . > > Signed-off-by: Bastian Krause > Message-Id: <20200922141434.8544-18-bst@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-sqlparse.in b/rules/python3-sqlparse.in > new file mode 100644 > index 000000000000..17b4097ba855 > --- /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 000000000000..5590e9473e80 > --- /dev/null > +++ b/rules/python3-sqlparse.make > @@ -0,0 +1,52 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Bastian Krause > +# > +# 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 := $(call ptx/mirror-pypi, sqlparse, $(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 ") > + @$(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 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de