python-tornado: bump to 6.5.5, add test.sh
authorAlexandru Ardelean <redacted>
Fri, 3 Apr 2026 14:55:29 +0000 (17:55 +0300)
committerAlexandru Ardelean <redacted>
Mon, 6 Apr 2026 06:02:56 +0000 (09:02 +0300)
Bump from 6.3.3 to 6.5.5. Add a basic test.sh that imports
the tornado module and verifies Application/RequestHandler
can be instantiated.

Changelog: https://www.tornadoweb.org/en/stable/releases.html
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-tornado/Makefile
lang/python/python-tornado/test.sh [new file with mode: 0755]

index c8599c18242e244d75e1b8df2a21a2fc9fb8913b..74dd3dac711e498bebd85f5956df01a8a4e16d9c 100644 (file)
@@ -8,11 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-tornado
-PKG_VERSION:=6.3.3
+PKG_VERSION:=6.5.5
 PKG_RELEASE:=1
 
 PYPI_NAME:=tornado
-PKG_HASH:=e7d8db41c0181c80d76c982aacc442c0783a2c54d6400fe028954201a2e032fe
+PKG_HASH:=192b8f3ea91bd7f1f50c06955416ed76c6b72f96779b962f07f911b91e8d30e9
+
+PKG_BUILD_DEPENDS:=python-setuptools/host
 
 PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
 PKG_LICENSE:=Apache-2.0
diff --git a/lang/python/python-tornado/test.sh b/lang/python/python-tornado/test.sh
new file mode 100755 (executable)
index 0000000..bf902a2
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+[ "$1" = python3-tornado ] || exit 0
+
+python3 - << 'EOF'
+import tornado
+assert tornado.version, "tornado version is empty"
+
+from tornado.web import Application, RequestHandler
+from tornado.httpserver import HTTPServer
+from tornado.ioloop import IOLoop
+
+class TestHandler(RequestHandler):
+    def get(self):
+        self.write("ok")
+
+app = Application([(r"/", TestHandler)])
+assert app is not None, "failed to create tornado Application"
+EOF
git clone https://git.99rst.org/PROJECT