mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-13 19:03:52 +02:00
8b9965fcb3
aiohttp:aiohttp is a better CPE ID than aio-libs_projet:aiohttp as this
CPE ID has the latest CVEs (whereas aio-libs_project:aiohttp only has
one CVE from 2018):
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️aiohttp:aiohttp
Fixes: 2edf5034f1
(python-aiohttp: add a new package)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2019-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-aiohttp
|
|
PKG_VERSION:=3.8.5
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=aiohttp
|
|
PKG_HASH:=b9552ec52cc147dbf1944ac7ac98af7602e51ea2dcd076ed194ca3c0d1c7d0bc
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
|
PKG_LICENSE:=Apache-2.0
|
|
PKG_LICENSE_FILES:=LICENSE.txt
|
|
PKG_CPE_ID:=cpe:/a:aiohttp:aiohttp
|
|
|
|
include ../pypi.mk
|
|
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 \
|
|
+python3-aiosignal \
|
|
+python3-async-timeout \
|
|
+python3-attrs \
|
|
+python3-charset-normalizer \
|
|
+python3-frozenlist \
|
|
+python3-multidict \
|
|
+python3-yarl
|
|
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))
|