summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python-urllib3.inc19
-rw-r--r--meta-python/recipes-devtools/python/python-urllib3_1.16.bb16
-rw-r--r--meta-python/recipes-devtools/python/python3-urllib3_1.16.bb2
3 files changed, 22 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python-urllib3.inc b/meta-python/recipes-devtools/python/python-urllib3.inc
new file mode 100644
index 0000000000..7b62be584d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-urllib3.inc
@@ -0,0 +1,19 @@
1SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more"
2HOMEPAGE = "https://github.com/shazow/urllib3"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067"
5
6SRC_URI[md5sum] = "fcaab1c5385c57deeb7053d3d7d81d59"
7SRC_URI[sha256sum] = "63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab"
8
9RDEPENDS_${PN} += "\
10 ${PYTHON_PN}-certifi \
11 ${PYTHON_PN}-cryptography \
12 ${PYTHON_PN}-email \
13 ${PYTHON_PN}-idna \
14 ${PYTHON_PN}-netclient \
15 ${PYTHON_PN}-pyopenssl \
16 ${PYTHON_PN}-threading \
17"
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-urllib3_1.16.bb b/meta-python/recipes-devtools/python/python-urllib3_1.16.bb
index 87a2852777..6c81f1db9b 100644
--- a/meta-python/recipes-devtools/python/python-urllib3_1.16.bb
+++ b/meta-python/recipes-devtools/python/python-urllib3_1.16.bb
@@ -1,16 +1,2 @@
1SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more"
2HOMEPAGE = "https://github.com/shazow/urllib3"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067"
5
6SRC_URI[md5sum] = "fcaab1c5385c57deeb7053d3d7d81d59"
7SRC_URI[sha256sum] = "63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab"
8
9inherit pypi setuptools 1inherit pypi setuptools
10 2require python-urllib3.inc
11RDEPENDS_${PN} += "\
12 ${PYTHON_PN}-email \
13 ${PYTHON_PN}-netclient \
14 ${PYTHON_PN}-threading \
15 ${PYTHON_PN}-zlib \
16 "
diff --git a/meta-python/recipes-devtools/python/python3-urllib3_1.16.bb b/meta-python/recipes-devtools/python/python3-urllib3_1.16.bb
new file mode 100644
index 0000000000..19eb7025b2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-urllib3_1.16.bb
@@ -0,0 +1,2 @@
1inherit pypi setuptools3
2require python-urllib3.inc