diff options
author | Julien Malik <julien.malik@paraiso.me> | 2022-11-26 15:24:04 +0100 |
---|---|---|
committer | Julien Malik <julien.malik@paraiso.me> | 2022-11-26 15:24:04 +0100 |
commit | 8fe1dab3715197409192fedfedc0b5f6956781f3 (patch) | |
tree | ea2f9d59a3cbb1a59d3899b7d5c6adda3b0d534f | |
parent | a19f331b068ba9f5fab60f149acdd9805ccdb390 (diff) |
python-async-generator: add package for 1.10
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
-rw-r--r-- | lang/python/python-async-generator/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lang/python/python-async-generator/Makefile b/lang/python/python-async-generator/Makefile new file mode 100644 index 000000000..b3e649032 --- /dev/null +++ b/lang/python/python-async-generator/Makefile @@ -0,0 +1,42 @@ +# +# Copyright (C) 2022 Julien Malik <julien.malik@paraiso.me> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-async-generator +PKG_VERSION:=1.10 +PKG_RELEASE:=1 + +PYPI_NAME:=async_generator +PKG_HASH:=6ebb3d106c12920aaae42ccb6f787ef5eefdcdd166ea3d628fa8476abe712144 + +PKG_LICENSE:=Apache-2.0|MIT +PKG_LICENSE_FILES:=LICENSE.APACHE2|LICENSE.MIT +PKG_MAINTAINER:=Julien Malik <julien.malik@paraiso.me> + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-async-generator + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Async generators and context managers for Python 3.5+ + URL:=https://github.com/python-trio/async_generator + DEPENDS:=+python3-light +endef + +define Package/python3-async-generator/description + Python 3.6 added async generators. Python 3.7 adds some more tools to make them usable, like contextlib.asynccontextmanager. + + This library gives you all that back to Python 3.5. +endef + +$(eval $(call Py3Package,python3-async-generator)) +$(eval $(call BuildPackage,python3-async-generator)) +$(eval $(call BuildPackage,python3-async-generator-src)) |