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>
This commit is contained in:
parent
245d3b69a4
commit
8e04393a11
1 changed files with 8 additions and 5 deletions
|
@ -10,11 +10,16 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=python-requests
|
PKG_NAME:=python-requests
|
||||||
PKG_VERSION:=2.21.0
|
PKG_VERSION:=2.21.0
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
|
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
||||||
PKG_LICENSE:=Apache-2.0
|
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:=requests-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/r/requests
|
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/r/requests
|
||||||
PKG_HASH:=502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e
|
PKG_HASH:=502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-requests-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-requests-$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_CPE_ID:=cpe:/a:python-requests:requests
|
PKG_CPE_ID:=cpe:/a:python-requests:requests
|
||||||
|
@ -29,13 +34,12 @@ define Package/python-requests/Default
|
||||||
SUBMENU:=Python
|
SUBMENU:=Python
|
||||||
SECTION:=lang
|
SECTION:=lang
|
||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>, Alexandru Ardelean <ardeleanalex@gmail.com>
|
TITLE:=HTTP library for Python
|
||||||
URL:=http://python-requests.org/
|
URL:=https://2.python-requests.org/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/python-requests
|
define Package/python-requests
|
||||||
$(call Package/python-requests/Default)
|
$(call Package/python-requests/Default)
|
||||||
TITLE:=HTTP library for Python
|
|
||||||
DEPENDS:= \
|
DEPENDS:= \
|
||||||
+PACKAGE_python-requests:python \
|
+PACKAGE_python-requests:python \
|
||||||
+PACKAGE_python-requests:python-chardet \
|
+PACKAGE_python-requests:python-chardet \
|
||||||
|
@ -47,7 +51,6 @@ endef
|
||||||
|
|
||||||
define Package/python3-requests
|
define Package/python3-requests
|
||||||
$(call Package/python-requests/Default)
|
$(call Package/python-requests/Default)
|
||||||
TITLE:=HTTP library for Python3
|
|
||||||
DEPENDS:= \
|
DEPENDS:= \
|
||||||
+python3-light \
|
+python3-light \
|
||||||
+python3-chardet \
|
+python3-chardet \
|
||||||
|
@ -58,7 +61,7 @@ $(call Package/python-requests/Default)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/python-requests/description
|
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
|
endef
|
||||||
|
|
||||||
define Package/python3-requests/description
|
define Package/python3-requests/description
|
||||||
|
|
Loading…
Reference in a new issue