Skip to content
Snippets Groups Projects
Unverified Commit 79f62459 authored by Rosen Penev's avatar Rosen Penev Committed by GitHub
Browse files

Merge pull request #15074 from ja-pa/python-greenlet

python-eventlet & python-greenlet: add new packages
parents bb181a18 d303bd6a
No related branches found
No related tags found
1 merge request!13Uplift of packages using two step method. Use commits specified by feeds.conf.default from main repo.
#
# 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-eventlet
PKG_VERSION:=0.30.2
PKG_RELEASE:=1
PYPI_NAME:=eventlet
PKG_HASH:=1811b122d9a45eb5bafba092d36911bca825f835cb648a862bbf984030acff9d
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-eventlet
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Python concurrent networking library
URL:=https://eventlet.net/
DEPENDS:= \
+python3-light \
+python3-six \
+python3-dns \
+python3-greenlet \
+python3-distutils \
+python3-email \
+python3-logging \
+python3-openssl \
+python3-urllib
endef
define Package/python3-eventlet/description
Eventlet is a concurrent networking library for Python that
allows you to change how you run your code, not how you write it.
endef
$(eval $(call Py3Package,python3-eventlet))
$(eval $(call BuildPackage,python3-eventlet))
$(eval $(call BuildPackage,python3-eventlet-src))
#
# 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-greenlet
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PYPI_NAME:=greenlet
PKG_HASH:=719e169c79255816cdcf6dccd9ed2d089a72a9f6c42273aae12d55e8d35bdcf8
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-greenlet
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Lightweight coroutines for in-process concurrent programming
URL:=https://github.com/python-greenlet/greenlet
DEPENDS:= \
+python3-light \
+libstdcpp \
@!(arc||mips)
endef
define Package/python3-greenlet/description
The greenlet package is a spin-off of Stackless
a version of CPython that supports micro-threads called tasklets.
endef
$(eval $(call Py3Package,python3-greenlet))
$(eval $(call BuildPackage,python3-greenlet))
$(eval $(call BuildPackage,python3-greenlet-src))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment