From aa44ed23ce0da733c0580719b1f21a6adbd848f1 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Thu, 20 Jul 2023 02:33:49 +0800 Subject: python3-sqlparse: Update to 0.4.4, rename source package This renames the source package to python-sqlparse to match other Python packages. This also updates the build dependencies; package now uses the flit-core build backend. Signed-off-by: Jeffery To --- lang/python/python-sqlparse/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 lang/python/python-sqlparse/Makefile (limited to 'lang/python/python-sqlparse/Makefile') diff --git a/lang/python/python-sqlparse/Makefile b/lang/python/python-sqlparse/Makefile new file mode 100644 index 000000000..4f4e8b227 --- /dev/null +++ b/lang/python/python-sqlparse/Makefile @@ -0,0 +1,36 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=sqlparse +PKG_VERSION:=0.4.4 +PKG_RELEASE:=1 + +PYPI_NAME:=sqlparse +PKG_HASH:=d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c + +PKG_MAINTAINER:=Peter Stadler +PKG_LICENSE:=BSD-3-Clause +PKG_LICENSE_FILES:=LICENSE + +PKG_BUILD_DEPENDS:=python-flit-core/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)) -- cgit