summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-requests.inc28
-rw-r--r--meta-python/recipes-devtools/python/python3-requests_2.23.0.bb30
2 files changed, 28 insertions, 30 deletions
diff --git a/meta-python/recipes-devtools/python/python-requests.inc b/meta-python/recipes-devtools/python/python-requests.inc
deleted file mode 100644
index ddca4bc669..0000000000
--- a/meta-python/recipes-devtools/python/python-requests.inc
+++ /dev/null
@@ -1,28 +0,0 @@
1DESCRIPTION = "Python HTTP for Humans."
2HOMEPAGE = "http://python-requests.org"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7"
5
6FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:"
7
8SRC_URI[md5sum] = "abfdc28db1065bbd0bc32592ac9d27a6"
9SRC_URI[sha256sum] = "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6"
10
11inherit pypi
12
13RDEPENDS_${PN} += " \
14 ${PYTHON_PN}-email \
15 ${PYTHON_PN}-json \
16 ${PYTHON_PN}-ndg-httpsclient \
17 ${PYTHON_PN}-netserver \
18 ${PYTHON_PN}-pyasn1 \
19 ${PYTHON_PN}-pyopenssl \
20 ${PYTHON_PN}-pysocks \
21 ${PYTHON_PN}-urllib3 \
22 ${PYTHON_PN}-chardet \
23 ${PYTHON_PN}-idna \
24"
25
26CVE_PRODUCT = "requests"
27
28BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb b/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb
index 0a2410f85c..9f3fb7d2e9 100644
--- a/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb
+++ b/meta-python/recipes-devtools/python/python3-requests_2.23.0.bb
@@ -1,2 +1,28 @@
1inherit setuptools3 1DESCRIPTION = "Python HTTP for Humans."
2require python-requests.inc 2HOMEPAGE = "http://python-requests.org"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7"
5
6FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:"
7
8SRC_URI[md5sum] = "abfdc28db1065bbd0bc32592ac9d27a6"
9SRC_URI[sha256sum] = "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6"
10
11inherit pypi setuptools3
12
13RDEPENDS_${PN} += " \
14 ${PYTHON_PN}-email \
15 ${PYTHON_PN}-json \
16 ${PYTHON_PN}-ndg-httpsclient \
17 ${PYTHON_PN}-netserver \
18 ${PYTHON_PN}-pyasn1 \
19 ${PYTHON_PN}-pyopenssl \
20 ${PYTHON_PN}-pysocks \
21 ${PYTHON_PN}-urllib3 \
22 ${PYTHON_PN}-chardet \
23 ${PYTHON_PN}-idna \
24"
25
26CVE_PRODUCT = "requests"
27
28BBCLASSEXTEND = "native nativesdk"