python-engineio: add new package
authorJan Pavlinec <jan.pavlinec@nic.cz>
Wed, 3 Mar 2021 09:13:15 +0000 (10:13 +0100)
committerJan Pavlinec <jan.pavlinec@nic.cz>
Tue, 23 Mar 2021 09:55:08 +0000 (10:55 +0100)
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
lang/python/python-engineio/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-engineio/Makefile b/lang/python/python-engineio/Makefile
new file mode 100644 (file)
index 0000000..ad3196a
--- /dev/null
@@ -0,0 +1,45 @@
+#
+# Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-engineio
+PKG_VERSION:=4.0.1
+PKG_RELEASE:=1
+
+PYPI_NAME:=python-engineio
+PKG_HASH:=bb575c1a3512b4b5d4706f3071d5cc36e592459e99a47d9a4b7faabeba941377
+
+PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-engineio
+  SUBMENU:=Python
+  SECTION:=lang
+  CATEGORY:=Languages
+  TITLE:=Engine.IO server
+  URL:=https://github.com/miguelgrinberg/python-engineio
+  DEPENDS:= \
+       +python3-light \
+       +python3-asyncio \
+       +python3-logging \
+       +python3-openssl \
+       +python3-urllib
+endef
+
+define Package/python3-engineio/description
+  Python implementation of the Engine.IO realtime client and server.
+endef
+
+$(eval $(call Py3Package,python3-engineio))
+$(eval $(call BuildPackage,python3-engineio))
+$(eval $(call BuildPackage,python3-engineio-src))