summaryrefslogtreecommitdiff
path: root/lang/python/python-socketio/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-04-03 18:45:21 -0700
committerGitHub <noreply@github.com>2021-04-03 18:45:21 -0700
commitbb181a18c1549c2df31d22e97444a479acad72ea (patch)
tree71b5ba2c13077c4957258682e87067d3155ca0ab /lang/python/python-socketio/Makefile
parent752d35723124a957a77aa0776612855795776556 (diff)
parent8133922a029adbc0cec32cc64c4cbbb16cf82da5 (diff)
Merge pull request #15025 from ja-pa/python-flask-socketio
python-flask-socketio: add new package
Diffstat (limited to 'lang/python/python-socketio/Makefile')
-rw-r--r--lang/python/python-socketio/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/lang/python/python-socketio/Makefile b/lang/python/python-socketio/Makefile
new file mode 100644
index 000000000..b80eaaaae
--- /dev/null
+++ b/lang/python/python-socketio/Makefile
@@ -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))