From: Yegor Yefremov Date: Mon, 23 Mar 2020 10:49:06 +0000 (+0100) Subject: package/python3-requests: add special host variant X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97ac0abad212d5bd78acf9f01d56cee2dcb9f1ca;p=buildroot.git package/python3-requests: add special host variant Needed to build mongodb. Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- diff --git a/package/python-requests/python-requests.mk b/package/python-requests/python-requests.mk index 1adf564015..9d36346b65 100644 --- a/package/python-requests/python-requests.mk +++ b/package/python-requests/python-requests.mk @@ -4,6 +4,7 @@ # ################################################################################ +# Please keep in sync with package/python3-requests/python3-requests.mk PYTHON_REQUESTS_VERSION = 2.23.0 PYTHON_REQUESTS_SOURCE = requests-$(PYTHON_REQUESTS_VERSION).tar.gz PYTHON_REQUESTS_SITE = https://files.pythonhosted.org/packages/f5/4f/280162d4bd4d8aad241a21aecff7a6e46891b905a4341e7ab549ebaf7915 diff --git a/package/python3-requests/python3-requests.hash b/package/python3-requests/python3-requests.hash new file mode 120000 index 0000000000..19e182d4a6 --- /dev/null +++ b/package/python3-requests/python3-requests.hash @@ -0,0 +1 @@ +../python-requests/python-requests.hash \ No newline at end of file diff --git a/package/python3-requests/python3-requests.mk b/package/python3-requests/python3-requests.mk new file mode 100644 index 0000000000..e2bb00eab2 --- /dev/null +++ b/package/python3-requests/python3-requests.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python3-requests +# +################################################################################ + +# Please keep in sync with package/python-requests/python-requests.mk +PYTHON3_REQUESTS_VERSION = 2.23.0 +PYTHON3_REQUESTS_SOURCE = requests-$(PYTHON3_REQUESTS_VERSION).tar.gz +PYTHON3_REQUESTS_SITE = https://files.pythonhosted.org/packages/f5/4f/280162d4bd4d8aad241a21aecff7a6e46891b905a4341e7ab549ebaf7915 +PYTHON3_REQUESTS_SETUP_TYPE = setuptools +PYTHON3_REQUESTS_LICENSE = Apache-2.0 +PYTHON3_REQUESTS_LICENSE_FILES = LICENSE +HOST_PYTHON3_REQUESTS_DL_SUBDIR = python-requests +HOST_PYTHON3_REQUESTS_NEEDS_HOST_PYTHON = python3 + +$(eval $(host-python-package))