2018-06-24 03:55:05 +08:00
|
|
|
#
|
2019-02-12 05:28:39 +08:00
|
|
|
# Copyright (C) 2007-2019 OpenWrt.org
|
2018-06-24 03:55:05 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=python-requests
|
2023-07-05 16:05:58 +08:00
|
|
|
PKG_VERSION:=2.31.0
|
2023-01-22 03:45:41 +08:00
|
|
|
PKG_RELEASE:=1
|
2019-05-09 01:38:23 +08:00
|
|
|
|
2023-09-04 17:00:32 +08:00
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
2018-06-24 03:55:05 +08:00
|
|
|
PKG_LICENSE:=Apache-2.0
|
2019-05-09 01:38:23 +08:00
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_CPE_ID:=cpe:/a:python-requests:requests
|
2018-06-24 03:55:05 +08:00
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
PYPI_NAME:=requests
|
2023-07-05 16:05:58 +08:00
|
|
|
PKG_HASH:=942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1
|
2019-05-09 01:38:23 +08:00
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
include ../pypi.mk
|
2018-06-24 03:55:05 +08:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2019-02-12 05:28:39 +08:00
|
|
|
include ../python3-package.mk
|
2018-06-24 03:55:05 +08:00
|
|
|
|
2020-04-22 01:27:50 +08:00
|
|
|
define Package/python3-requests
|
2018-06-24 03:55:05 +08:00
|
|
|
SUBMENU:=Python
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
2019-05-09 01:38:23 +08:00
|
|
|
TITLE:=HTTP library for Python
|
2023-01-12 20:14:53 +08:00
|
|
|
URL:=https://requests.readthedocs.io
|
2019-02-12 05:28:39 +08:00
|
|
|
DEPENDS:= \
|
2020-04-22 01:27:50 +08:00
|
|
|
+python3-light \
|
|
|
|
+python3-chardet \
|
|
|
|
+python3-idna \
|
|
|
|
+python3-urllib3 \
|
|
|
|
+python3-certifi
|
2019-02-12 05:28:39 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/python3-requests/description
|
2020-04-01 22:21:16 +08:00
|
|
|
Requests is the only Non-GMO HTTP library for Python, safe for human consumption
|
2019-02-12 05:28:39 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-requests))
|
|
|
|
$(eval $(call BuildPackage,python3-requests))
|
|
|
|
$(eval $(call BuildPackage,python3-requests-src))
|