b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/) |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python-aiohttp |
| 11 | PKG_VERSION:=3.9.3 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=aiohttp |
| 15 | PKG_HASH:=90842933e5d1ff760fae6caca4b2b3edba53ba8f4b71e95dacf2818a2aca06f7 |
| 16 | |
| 17 | PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com> |
| 18 | PKG_LICENSE:=Apache-2.0 |
| 19 | PKG_LICENSE_FILES:=LICENSE.txt |
| 20 | PKG_CPE_ID:=cpe:/a:aiohttp:aiohttp |
| 21 | |
| 22 | include ../pypi.mk |
| 23 | include $(INCLUDE_DIR)/package.mk |
| 24 | include ../python3-package.mk |
| 25 | |
| 26 | define Package/python3-aiohttp |
| 27 | SECTION:=lang |
| 28 | CATEGORY:=Languages |
| 29 | SUBMENU:=Python |
| 30 | TITLE:=Async http client/server framework (asyncio) |
| 31 | URL:=https://github.com/aio-libs/aiohttp |
| 32 | DEPENDS:= \ |
| 33 | +python3 \ |
| 34 | +python3-aiosignal \ |
| 35 | +python3-async-timeout \ |
| 36 | +python3-attrs \ |
| 37 | +python3-charset-normalizer \ |
| 38 | +python3-frozenlist \ |
| 39 | +python3-multidict \ |
| 40 | +python3-yarl |
| 41 | endef |
| 42 | |
| 43 | define Package/python3-aiohttp/description |
| 44 | Asynchronous HTTP client/server framework for asyncio and Python3. |
| 45 | endef |
| 46 | |
| 47 | $(eval $(call Py3Package,python3-aiohttp)) |
| 48 | $(eval $(call BuildPackage,python3-aiohttp)) |
| 49 | $(eval $(call BuildPackage,python3-aiohttp-src)) |