blob: 37007fb07d7e9d3ebb39f02664165c96237f43dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
include $(TOPDIR)/rules.mk
PKG_NAME:=python-gevent
PKG_VERSION:=25.9.1
PKG_RELEASE:=1
PYPI_NAME:=gevent
PKG_HASH:=adf9cd552de44a4e6754c51ff2e78d9193b7fa6eab123db9578a210e657235dd
PKG_MAINTAINER:=Andy Syam <privasisource@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_FLAGS:=no-mips16
PKG_BUILD_DEPENDS:=python-cffi/host python-greenlet/host python-cython/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
PYTHON3_PKG_SETUP_VARS:= \
GEVENTSETUP_EMBED=0 \
GEVENTSETUP_EMBED_LIBEV=0 \
GEVENTSETUP_EMBED_CARES=0
define Package/python3-gevent
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Coroutine-based network library
URL:=https://github.com/gevent/gevent
DEPENDS:= \
+python3-light \
+python3-cffi \
+python3-greenlet \
+python3-zope-interface \
+libcares \
+libev \
+libuv
endef
define Package/python3-gevent/description
gevent is a coroutine -based Python networking library that uses greenlet
to provide a high-level synchronous API on top of the libev or libuv event loop.
endef
$(eval $(call Py3Package,python3-gevent))
$(eval $(call BuildPackage,python3-gevent))
$(eval $(call BuildPackage,python3-gevent-src))
|