diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-requests.inc | 28 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-requests_2.23.0.bb | 30 |
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 @@ | |||
1 | DESCRIPTION = "Python HTTP for Humans." | ||
2 | HOMEPAGE = "http://python-requests.org" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7" | ||
5 | |||
6 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:" | ||
7 | |||
8 | SRC_URI[md5sum] = "abfdc28db1065bbd0bc32592ac9d27a6" | ||
9 | SRC_URI[sha256sum] = "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6" | ||
10 | |||
11 | inherit pypi | ||
12 | |||
13 | RDEPENDS_${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 | |||
26 | CVE_PRODUCT = "requests" | ||
27 | |||
28 | BBCLASSEXTEND = "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 @@ | |||
1 | inherit setuptools3 | 1 | DESCRIPTION = "Python HTTP for Humans." |
2 | require python-requests.inc | 2 | HOMEPAGE = "http://python-requests.org" |
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=19b6be66ed463d93fa88c29f7860bcd7" | ||
5 | |||
6 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-requests:" | ||
7 | |||
8 | SRC_URI[md5sum] = "abfdc28db1065bbd0bc32592ac9d27a6" | ||
9 | SRC_URI[sha256sum] = "b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6" | ||
10 | |||
11 | inherit pypi setuptools3 | ||
12 | |||
13 | RDEPENDS_${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 | |||
26 | CVE_PRODUCT = "requests" | ||
27 | |||
28 | BBCLASSEXTEND = "native nativesdk" | ||