package/python-sqlparse: new package

sqlparse is a non-validating SQL parser for Python. It provides support for
parsing, splitting and formatting SQL statements.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett 2019-08-03 21:16:25 -04:00 committed by Thomas Petazzoni
parent 4903bbaaef
commit b11bcfffdf
5 changed files with 29 additions and 0 deletions

View File

@ -60,6 +60,7 @@ F: package/python-mutagen/
F: package/python-pip/
F: package/python-psycopg2/
F: package/python-sqlalchemy/
F: package/python-sqlparse/
F: package/python-visitor/
F: package/restorecond/
F: package/refpolicy/

View File

@ -1084,6 +1084,7 @@ menu "External python modules"
source "package/python-sortedcontainers/Config.in"
source "package/python-spidev/Config.in"
source "package/python-sqlalchemy/Config.in"
source "package/python-sqlparse/Config.in"
source "package/python-subprocess32/Config.in"
source "package/python-systemd/Config.in"
source "package/python-tabledata/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_SQLPARSE
bool "python-sqlparse"
help
sqlparse is a non-validating SQL parser for Python.
It provides support for parsing, splitting and formatting
SQL statements.
https://github.com/andialbrecht/sqlparse

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/sqlparse/json
md5 2ce34181d6b7b234c9f3c0ecd1ffb93e sqlparse-0.3.0.tar.gz
sha256 7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873 sqlparse-0.3.0.tar.gz
# Locally computed sha256 checksums
sha256 c1938235b80d39e93138eae89edc3af67e18ecbc40d266529fa57b2dce426310 LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-sqlparse
#
################################################################################
PYTHON_SQLPARSE_VERSION = 0.3.0
PYTHON_SQLPARSE_SOURCE = sqlparse-$(PYTHON_SQLPARSE_VERSION).tar.gz
PYTHON_SQLPARSE_SITE = https://files.pythonhosted.org/packages/63/c8/229dfd2d18663b375975d953e2bdc06d0eed714f93dcb7732f39e349c438
PYTHON_SQLPARSE_SETUP_TYPE = setuptools
PYTHON_SQLPARSE_LICENSE = BSD-3-Clause
PYTHON_SQLPARSE_LICENSE_FILES = LICENSE
$(eval $(python-package))