Werkzeug: Update to 2.3.4, rename source package
authorJeffery To <jeffery.to@gmail.com>
Mon, 29 May 2023 12:13:37 +0000 (20:13 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 30 May 2023 02:19:49 +0000 (03:19 +0100)
This renames the source package from Werkzeug to python-werkzeug to
match other Python packages.

This also updates the package title, description, and list of
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/Werkzeug/Makefile [deleted file]
lang/python/python-werkzeug/Makefile [new file with mode: 0644]

diff --git a/lang/python/Werkzeug/Makefile b/lang/python/Werkzeug/Makefile
deleted file mode 100644 (file)
index 3c2b5df..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=Werkzeug
-PKG_VERSION:=2.2.2
-PKG_RELEASE:=1
-
-PYPI_NAME:=$(PKG_NAME)
-PKG_HASH:=7ea2d48322cc7c0f8b3a215ed73eabd7b5d75d0b50e31ab006286ccff9e00b8f
-
-PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
-PKG_LICENSE:=BSD-3-Clause
-PKG_LICENSE_FILES:=LICENSE.rst
-
-include ../pypi.mk
-include $(INCLUDE_DIR)/package.mk
-include ../python3-package.mk
-
-define Package/python3-werkzeug
-  SECTION:=lang
-  CATEGORY:=Languages
-  SUBMENU:=Python
-  TITLE:=Werkzeug
-  URL:=https://palletsprojects.com/p/werkzeug/
-  DEPENDS:=+python3-light +python3-email
-endef
-
-define Package/python3-werkzeug/description
- The comprehensive WSGI web application library.
-endef
-
-$(eval $(call Py3Package,python3-werkzeug))
-$(eval $(call BuildPackage,python3-werkzeug))
-$(eval $(call BuildPackage,python3-werkzeug-src))
diff --git a/lang/python/python-werkzeug/Makefile b/lang/python/python-werkzeug/Makefile
new file mode 100644 (file)
index 0000000..082b3bb
--- /dev/null
@@ -0,0 +1,39 @@
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-werkzeug
+PKG_VERSION:=2.3.4
+PKG_RELEASE:=1
+
+PYPI_NAME:=Werkzeug
+PKG_HASH:=1d5a58e0377d1fe39d061a5de4469e414e78ccb1e1e59c0f5ad6fa1c36c52b76
+
+PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE.rst
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-werkzeug
+  SECTION:=lang
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=Comprehensive WSGI web application library
+  URL:=https://palletsprojects.com/p/werkzeug/
+  DEPENDS:=+python3 +python3-markupsafe
+endef
+
+define Package/python3-werkzeug/description
+Werkzeug is a comprehensive WSGI web application library. It began as a
+simple collection of various utilities for WSGI applications and has
+become one of the most advanced WSGI utility libraries.
+endef
+
+$(eval $(call Py3Package,python3-werkzeug))
+$(eval $(call BuildPackage,python3-werkzeug))
+$(eval $(call BuildPackage,python3-werkzeug-src))