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.

48 lines
1.2 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:=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:=f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python-urllib3/Default
  21. SUBMENU:=Python
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. TITLE:=Sanity-friendly HTTP client
  25. URL:=https://urllib3.readthedocs.io/
  26. endef
  27. define Package/python3-urllib3
  28. $(call Package/python-urllib3/Default)
  29. DEPENDS:=+PACKAGE_python3-urllib3:python3
  30. VARIANT:=python3
  31. endef
  32. define Package/python3-urllib3/description
  33. HTTP library with thread-safe connection pooling, file post, and more.
  34. .
  35. (Variant for Python3)
  36. endef
  37. $(eval $(call Py3Package,python3-urllib3))
  38. $(eval $(call BuildPackage,python3-urllib3))
  39. $(eval $(call BuildPackage,python3-urllib3-src))