0
0
mirror of https://github.com/openwrt/packages.git synced 2025-08-23 06:22:24 +00:00
Files

48 lines
1.2 KiB
Makefile

#
# Copyright (C) 2007-2017 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-urllib3
PKG_VERSION:=2.0.7
PKG_RELEASE:=1
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE.txt
PKG_CPE_ID:=cpe:/a:python:urllib3
PYPI_NAME:=urllib3
PKG_HASH:=c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84
PKG_BUILD_DEPENDS:=python-hatchling/host
HOST_BUILD_DEPENDS:=python-hatchling/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include ../python3-package.mk
include ../python3-host-build.mk
define Package/python3-urllib3
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Sanity-friendly HTTP client
URL:=https://urllib3.readthedocs.io/
DEPENDS:=+python3
endef
define Package/python3-urllib3/description
HTTP library with thread-safe connection pooling, file post, and more.
endef
$(eval $(call Py3Package,python3-urllib3))
$(eval $(call BuildPackage,python3-urllib3))
$(eval $(call BuildPackage,python3-urllib3-src))
$(eval $(call HostBuild))