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.7
  10. PKG_RELEASE:=2
  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:=f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745
  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))