diff options
| author | Eneas U de Queiroz <cote2004-github@yahoo.com> | 2018-12-04 15:45:33 -0200 |
|---|---|---|
| committer | Eneas U de Queiroz <cote2004-github@yahoo.com> | 2018-12-05 08:11:53 -0200 |
| commit | b29881b853105481620dc18f43b0f50138ca937a (patch) | |
| tree | ff3a3c72c015fdfec59805417e6677e6a61798b2 /lang/python/python-requests | |
| parent | ae102f4ef89abbce3a150368007e245a6b9a57cc (diff) | |
python-requests: use PyPackage to build
Updated Makefile to use PyPackage, added option to build source package.
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Diffstat (limited to 'lang/python/python-requests')
| -rw-r--r-- | lang/python/python-requests/Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/lang/python/python-requests/Makefile b/lang/python/python-requests/Makefile index 0ce0e4d63..9723f60f0 100644 --- a/lang/python/python-requests/Makefile +++ b/lang/python/python-requests/Makefile @@ -30,21 +30,13 @@ define Package/python-requests TITLE:=HTTP library for Python URL:=http://python-requests.org/ DEPENDS:=+python +chardet +python-idna +python-urllib3 +python-certifi + VARIANT:=python endef define Package/python-requests/description Requests is the only Non-GMO HTTP library for Python, safe for human consumption. endef -define Build/Compile - $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) -endef - -define Package/python-requests/install - $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) - $(CP) \ - $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ - $(1)$(PYTHON_PKG_DIR) -endef - +$(eval $(call PyPackage,python-requests)) $(eval $(call BuildPackage,python-requests)) +$(eval $(call BuildPackage,python-requests-src)) |
