python-eventlet: bump to 0.40.4

Full release notes:
https://github.com/eventlet/eventlet/blob/master/NEWS

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
Alexandru Ardelean
2026-03-15 12:47:47 +02:00
committed by Alexandru Ardelean
parent e0ab7d0dfa
commit 3a31ea37bb
2 changed files with 22 additions and 2 deletions

View File

@@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-eventlet
PKG_VERSION:=0.40.3
PKG_VERSION:=0.40.4
PKG_RELEASE:=1
PYPI_NAME:=eventlet
PKG_HASH:=290852db0065d78cec17a821b78c8a51cafb820a792796a354592ae4d5fceeb0
PKG_HASH:=69bef712b1be18b4930df6f0c495d2a882bf7b63aa111e7b6eeff461cfcaf26f
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=MIT

View File

@@ -0,0 +1,20 @@
#!/bin/sh
[ "$1" = python3-eventlet ] || exit 0
python3 - << 'EOF'
import eventlet
# Test basic green thread spawning
results = []
def worker(n):
results.append(n)
pool = eventlet.GreenPool(size=4)
for i in range(4):
pool.spawn(worker, i)
pool.waitall()
assert sorted(results) == [0, 1, 2, 3], f"Unexpected results: {results}"
EOF