python-gevent: update to 26.4.0; add test.sh
authorAlexandru Ardelean <redacted>
Mon, 13 Apr 2026 07:39:52 +0000 (07:39 +0000)
committerAlexandru Ardelean <redacted>
Tue, 14 Apr 2026 05:00:30 +0000 (08:00 +0300)
Bump version 25.9.1 -> 26.4.0.
Add test.sh to verify greenlet spawning and joining.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-gevent/Makefile
lang/python/python-gevent/test.sh [new file with mode: 0644]

index 37007fb07d7e9d3ebb39f02664165c96237f43dd..aa7632ea1a98b42972a8d17a4928ead9cb2181df 100644 (file)
@@ -1,11 +1,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-gevent
-PKG_VERSION:=25.9.1
+PKG_VERSION:=26.4.0
 PKG_RELEASE:=1
 
 PYPI_NAME:=gevent
-PKG_HASH:=adf9cd552de44a4e6754c51ff2e78d9193b7fa6eab123db9578a210e657235dd
+PKG_HASH:=288d03addfccf0d1c67268358b6759b04392bf3bc35d26f3d9a45c82899c292d
 
 PKG_MAINTAINER:=Andy Syam <privasisource@gmail.com>
 PKG_LICENSE:=MIT
diff --git a/lang/python/python-gevent/test.sh b/lang/python/python-gevent/test.sh
new file mode 100644 (file)
index 0000000..840d4c5
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+[ "$1" = python3-gevent ] || exit 0
+
+python3 - << 'EOF'
+import gevent
+from gevent import sleep, spawn, joinall
+
+results = []
+
+def worker(n):
+    sleep(0)
+    results.append(n)
+
+jobs = [spawn(worker, i) for i in range(3)]
+joinall(jobs)
+
+assert sorted(results) == [0, 1, 2], f"Expected [0,1,2], got {results}"
+
+print("python3-gevent OK")
+EOF
\ No newline at end of file
git clone https://git.99rst.org/PROJECT