You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

  1. #
  2. # Copyright (C) 2019 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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=aiohttp
  9. PKG_VERSION:=3.5.4
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=aiohttp-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/a/aiohttp/
  13. PKG_HASH:=9c4c83f4fa1938377da32bc2d59379025ceeee8e24b89f72fcbccd8ca22dc9bf
  14. PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_CPE_ID:=cpe:/a:aio-libs_project:aiohttp
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-aiohttp
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Async http client/server framework (asyncio)
  25. URL:=https://github.com/aio-libs/aiohttp
  26. DEPENDS:= \
  27. +python3-light \
  28. +python3-attrs \
  29. +python3-chardet \
  30. +python3-multidict \
  31. +python3-async-timeout \
  32. +python3-yarl \
  33. +python3-logging \
  34. +python3-codecs \
  35. +python3-cgi \
  36. +python3-openssl
  37. VARIANT:=python3
  38. endef
  39. define Package/python3-aiohttp/description
  40. Asynchronous HTTP client/server framework for asyncio and Python3
  41. endef
  42. $(eval $(call Py3Package,python3-aiohttp))
  43. $(eval $(call BuildPackage,python3-aiohttp))
  44. $(eval $(call BuildPackage,python3-aiohttp-src))