diff options
author | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2019-04-01 02:45:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-01 02:45:48 +0200 |
commit | e924f1be7fe52e50e58dfc2120b543eaf9599d44 (patch) | |
tree | 8e3c3b3a156df711c0eccf6bf64160ca9fddb553 /lang | |
parent | 81e1601b2b7a2840945b8c3b17d13a1b929792da (diff) | |
parent | 2edf5034f1c09fe60af52087abe7b6fcef9433fc (diff) |
Merge pull request #8485 from BKPepe/aiohttp
python-aiohttp: add a new package
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/python-aiohttp/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/lang/python/python-aiohttp/Makefile b/lang/python/python-aiohttp/Makefile new file mode 100644 index 000000000..f1de0b55b --- /dev/null +++ b/lang/python/python-aiohttp/Makefile @@ -0,0 +1,52 @@ +# +# Copyright (C) 2019 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:=aiohttp +PKG_VERSION:=3.5.4 +PKG_RELEASE:=1 + +PKG_SOURCE:=aiohttp-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/a/aiohttp/ +PKG_HASH:=9c4c83f4fa1938377da32bc2d59379025ceeee8e24b89f72fcbccd8ca22dc9bf + +PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com> +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:aio-libs_project:aiohttp + +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-aiohttp + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Async http client/server framework (asyncio) + URL:=https://github.com/aio-libs/aiohttp + DEPENDS:= \ + +python3-light \ + +python3-attrs \ + +python3-chardet \ + +python3-multidict \ + +python3-async-timeout \ + +python3-yarl \ + +python3-logging \ + +python3-codecs \ + +python3-cgi \ + +python3-openssl + VARIANT:=python3 +endef + +define Package/python3-aiohttp/description +Asynchronous HTTP client/server framework for asyncio and Python3 +endef + +$(eval $(call Py3Package,python3-aiohttp)) +$(eval $(call BuildPackage,python3-aiohttp)) +$(eval $(call BuildPackage,python3-aiohttp-src)) |