blob: 323e7cda293e3d9d3d8d6f96f75361029513b52e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-urllib3
11PKG_VERSION:=2.0.4
12PKG_RELEASE:=1
13
14PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
15PKG_LICENSE:=MIT
16PKG_LICENSE_FILES:=LICENSE.txt
17PKG_CPE_ID:=cpe:/a:python:urllib3
18
19PYPI_NAME:=urllib3
20PKG_HASH:=8d22f86aae8ef5e410d4f539fde9ce6b2113a001bb4d189e0aed70642d602b11
21
22PKG_BUILD_DEPENDS:=python-hatchling/host
23
24include ../pypi.mk
25include $(INCLUDE_DIR)/package.mk
26include ../python3-package.mk
27
28define Package/python3-urllib3
29 SUBMENU:=Python
30 SECTION:=lang
31 CATEGORY:=Languages
32 TITLE:=Sanity-friendly HTTP client
33 URL:=https://urllib3.readthedocs.io/
34 DEPENDS:=+python3
35endef
36
37define Package/python3-urllib3/description
38 HTTP library with thread-safe connection pooling, file post, and more.
39endef
40
41$(eval $(call Py3Package,python3-urllib3))
42$(eval $(call BuildPackage,python3-urllib3))
43$(eval $(call BuildPackage,python3-urllib3-src))