--- /dev/null
+include $(TOPDIR)/rules.mk\r
+\r
+PKG_NAME:=python-gevent\r
+PKG_VERSION:=23.9.1\r
+PKG_RELEASE:=1\r
+\r
+PYPI_NAME:=gevent\r
+PKG_HASH:=72c002235390d46f94938a96920d8856d4ffd9ddf62a303a0d7c118894097e34\r
+\r
+PKG_MAINTAINER:=Andy Syam <privasisource@gmail.com>\r
+PKG_LICENSE:=MIT\r
+PKG_LICENSE_FILES:=LICENSE\r
+\r
+PKG_BUILD_FLAGS:=no-mips16\r
+PKG_BUILD_DEPENDS:=python-cffi/host python-greenlet/host python-cython/host\r
+\r
+include ../pypi.mk\r
+include $(INCLUDE_DIR)/package.mk\r
+include ../python3-package.mk\r
+\r
+PYTHON3_PKG_SETUP_VARS:= \\r
+ GEVENTSETUP_EMBED=0 \\r
+ GEVENTSETUP_EMBED_LIBEV=0 \\r
+ GEVENTSETUP_EMBED_CARES=0\r
+\r
+define Package/python3-gevent\r
+ SUBMENU:=Python\r
+ SECTION:=lang\r
+ CATEGORY:=Languages\r
+ TITLE:=Coroutine-based network library\r
+ URL:=https://github.com/gevent/gevent\r
+ DEPENDS:= \\r
+ +python3-light \\r
+ +python3-cffi \\r
+ +python3-greenlet \\r
+ +python3-zope-interface \\r
+ +libcares \\r
+ +libev \\r
+ +libuv\r
+endef\r
+\r
+define Package/python3-gevent/description\r
+ gevent is a coroutine -based Python networking library that uses greenlet\r
+ to provide a high-level synchronous API on top of the libev or libuv event loop.\r
+endef\r
+\r
+$(eval $(call Py3Package,python3-gevent))\r
+$(eval $(call BuildPackage,python3-gevent))\r
+$(eval $(call BuildPackage,python3-gevent-src))\r