diff options
| author | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2019-05-08 19:38:23 +0200 |
|---|---|---|
| committer | Josef Schlehofer <pepe.schlehofer@gmail.com> | 2019-05-08 19:42:21 +0200 |
| commit | 8e04393a112a781fb0650bd9191dae8d8576a1e0 (patch) | |
| tree | 8be4e47791673088d1e1f274e547d5bd55cc1d42 /lang/python/python-requests | |
| parent | 245d3b69a4aa90ff941042c9e4f99aee8c7d83a4 (diff) | |
python-requests: polishing Makefile
Add PKG_CPE_ID, PKG_LICENSE_FILES
Reorder things in Makefile
Update URL
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Diffstat (limited to 'lang/python/python-requests')
| -rw-r--r-- | lang/python/python-requests/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lang/python/python-requests/Makefile b/lang/python/python-requests/Makefile index a3b26f968..1b8b981b0 100644 --- a/lang/python/python-requests/Makefile +++ b/lang/python/python-requests/Makefile @@ -10,11 +10,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-requests PKG_VERSION:=2.21.0 PKG_RELEASE:=3 + +PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com> PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:python-requests:requests PKG_SOURCE:=requests-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/r/requests PKG_HASH:=502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e + PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-requests-$(PKG_VERSION) PKG_CPE_ID:=cpe:/a:python-requests:requests @@ -29,13 +34,12 @@ define Package/python-requests/Default SUBMENU:=Python SECTION:=lang CATEGORY:=Languages - MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com> - URL:=http://python-requests.org/ + TITLE:=HTTP library for Python + URL:=https://2.python-requests.org/ endef define Package/python-requests $(call Package/python-requests/Default) - TITLE:=HTTP library for Python DEPENDS:= \ +PACKAGE_python-requests:python \ +PACKAGE_python-requests:python-chardet \ @@ -47,7 +51,6 @@ endef define Package/python3-requests $(call Package/python-requests/Default) - TITLE:=HTTP library for Python3 DEPENDS:= \ +python3-light \ +python3-chardet \ @@ -58,7 +61,7 @@ $(call Package/python-requests/Default) endef define Package/python-requests/description - Requests is the only Non-GMO HTTP library for Python, safe for human consumption. + Requests is the only Non-GMO HTTP library for Python, safe for human consumption endef define Package/python3-requests/description |
