python-socketio: add new package

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit decbd7b43a)
This commit is contained in:
Jan Pavlinec 2021-03-03 10:36:33 +01:00 committed by Josef Schlehofer
parent 96726c6ce4
commit ba0b60f50a
No known key found for this signature in database
GPG key ID: B950216FE4329F4C

View file

@ -0,0 +1,46 @@
#
# 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-socketio
PKG_VERSION:=5.1.0
PKG_RELEASE:=1
PYPI_NAME:=python-socketio
PKG_HASH:=338cc29abb6f3ca14c88f1f8d05ed27c690df4648f62062b299f92625bbf7093
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-socketio
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Socket.IO server and client
URL:=https://github.com/miguelgrinberg/python-socketio
DEPENDS:= \
+python3-light \
+python3-bidict \
+python3-engineio \
+python3-asyncio \
+python3-logging \
+python3-urllib
endef
define Package/python3-socketio/description
Python implementation of the Socket.IO realtime client and server.
endef
$(eval $(call Py3Package,python3-socketio))
$(eval $(call BuildPackage,python3-socketio))
$(eval $(call BuildPackage,python3-socketio-src))