Files
packages/lang/python/python-sqlparse/Makefile
Alexandru Ardelean 2eef8732a3 python-sqlparse: bump to 0.5.5
Changes since 0.4.4:
- v0.5.0: Improved handling of CTEs and window functions
- v0.5.0: Better token classification for SQL dialects
- v0.5.x: Various bug fixes for edge cases in formatting
  and statement splitting

Also add test.sh to verify formatting, splitting, and parsing.

Link: https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-01 10:29:27 +03:00

38 lines
989 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=sqlparse
PKG_VERSION:=0.5.5
PKG_RELEASE:=1
PYPI_NAME:=sqlparse
PKG_HASH:=e20d4a9b0b8585fdf63b10d30066c7c94c5d7a7ec47c889a2d83a3caa93ff28e
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID:=cpe:/a:sqlparse_project:sqlparse
PKG_BUILD_DEPENDS:=python-hatchling/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-sqlparse
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Non-validating SQL parser
URL:=https://github.com/andialbrecht/sqlparse
DEPENDS:=+python3-light
endef
define Package/python3-sqlparse/description
sqlparse is a non-validating SQL parser for Python. It provides support
for parsing, splitting and formatting SQL statements.
endef
$(eval $(call Py3Package,python3-sqlparse))
$(eval $(call BuildPackage,python3-sqlparse))
$(eval $(call BuildPackage,python3-sqlparse-src))