8acc606d3517edd2acad03c5175339d471b5fe61
[feed/packages.git] / lang / python / python-requests / Makefile
1 #
2 # Copyright (C) 2007-2019 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-requests
11 PKG_VERSION:=2.30.0
12 PKG_RELEASE:=1
13
14 PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com>
15 PKG_LICENSE:=Apache-2.0
16 PKG_LICENSE_FILES:=LICENSE
17 PKG_CPE_ID:=cpe:/a:python-requests:requests
18
19 PYPI_NAME:=requests
20 PKG_HASH:=239d7d4458afcb28a692cdd298d87542235f4ca8d36d03a15bfc128a6559a2f4
21
22 include ../pypi.mk
23 include $(INCLUDE_DIR)/package.mk
24 include ../python3-package.mk
25
26 define Package/python3-requests
27 SUBMENU:=Python
28 SECTION:=lang
29 CATEGORY:=Languages
30 TITLE:=HTTP library for Python
31 URL:=https://requests.readthedocs.io
32 DEPENDS:= \
33 +python3-light \
34 +python3-chardet \
35 +python3-idna \
36 +python3-urllib3 \
37 +python3-certifi
38 endef
39
40 define Package/python3-requests/description
41 Requests is the only Non-GMO HTTP library for Python, safe for human consumption
42 endef
43
44 $(eval $(call Py3Package,python3-requests))
45 $(eval $(call BuildPackage,python3-requests))
46 $(eval $(call BuildPackage,python3-requests-src))