summaryrefslogtreecommitdiff
path: root/lang/python/python3-sqlparse
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-07-20 02:33:49 +0800
committerRosen Penev <rosenp@gmail.com>2023-07-24 22:46:27 -0700
commitaa44ed23ce0da733c0580719b1f21a6adbd848f1 (patch)
tree086380c43ab08a9a2348626bf8d706b7d14d177d /lang/python/python3-sqlparse
parent2c1b66c8867ee3a5351abad2ab5d522ca76f26db (diff)
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 <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python3-sqlparse')
-rw-r--r--lang/python/python3-sqlparse/Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/lang/python/python3-sqlparse/Makefile b/lang/python/python3-sqlparse/Makefile
deleted file mode 100644
index 1b003f95a..000000000
--- a/lang/python/python3-sqlparse/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=sqlparse
-PKG_VERSION:=0.4.2
-PKG_RELEASE:=2
-
-PYPI_NAME:=sqlparse
-PKG_HASH:=0c00730c74263a94e5a9919ade150dfc3b19c574389985446148402998287dae
-
-PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
-PKG_LICENSE:=BSD-3-Clause
-PKG_LICENSE_FILES:=LICENSE
-
-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 module.
- URL:=https://github.com/andialbrecht/sqlparse
- DEPENDS:=+python3-light
-endef
-
-define Package/python3-sqlparse/description
- A non-validating SQL parser module. It provides support for parsing, splitting and formatting SQL statements.
-endef
-
-define Py3Package/python3-sqlparse/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR)/sqlparse/__main__.py \
- $(1)/usr/bin/sqlformat
-endef
-
-$(eval $(call Py3Package,python3-sqlparse))
-$(eval $(call BuildPackage,python3-sqlparse))
-$(eval $(call BuildPackage,python3-sqlparse-src))