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.

41 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2007-2017 OpenWrt.org
  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:=python-urllib3
  9. PKG_VERSION:=1.25.11
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
  12. PKG_LICENSE:=MIT
  13. PKG_LICENSE_FILES:=LICENSE.txt
  14. PKG_CPE_ID:=cpe:/a:urllib3_project:urllib3
  15. PYPI_NAME:=urllib3
  16. PKG_HASH:=8d7eaa5a82a1cac232164990f04874c594c9453ec55eef02eab885aa02fc17a2
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-urllib3
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Sanity-friendly HTTP client
  25. URL:=https://urllib3.readthedocs.io/
  26. DEPENDS:=+python3
  27. endef
  28. define Package/python3-urllib3/description
  29. HTTP library with thread-safe connection pooling, file post, and more.
  30. endef
  31. $(eval $(call Py3Package,python3-urllib3))
  32. $(eval $(call BuildPackage,python3-urllib3))
  33. $(eval $(call BuildPackage,python3-urllib3-src))