diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2016-08-22 16:01:21 -0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-05 13:27:37 +0200 |
commit | 2eb51b66c979bdb317b92ce6137e8041fb9cdf57 (patch) | |
tree | 25bbd5ded05bf706ca159519998d619a8cce5cb4 /meta-python | |
parent | 6a144af2f108575c3eabad9ae4cbcc1c2b902052 (diff) | |
download | meta-openembedded-contrib-2eb51b66c979bdb317b92ce6137e8041fb9cdf57.tar.gz |
python-urllib3: Extend recipe to support Python 3
- Add Python 3 recipe
- Add native and nativesdk to BBCLASSEXTEND
- Add python-certifi, python-cryptography, python-idna and
python-pyopenssl to RDEPENDS
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python')
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 @@ +SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more" +HOMEPAGE = "https://github.com/shazow/urllib3" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067" + +SRC_URI[md5sum] = "fcaab1c5385c57deeb7053d3d7d81d59" +SRC_URI[sha256sum] = "63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-certifi \ + ${PYTHON_PN}-cryptography \ + ${PYTHON_PN}-email \ + ${PYTHON_PN}-idna \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-pyopenssl \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "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 @@ -SUMMARY = "Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more" -HOMEPAGE = "https://github.com/shazow/urllib3" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ea114851ad9a8c311aac8728a681a067" - -SRC_URI[md5sum] = "fcaab1c5385c57deeb7053d3d7d81d59" -SRC_URI[sha256sum] = "63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab" - inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-email \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-threading \ - ${PYTHON_PN}-zlib \ - " +require python-urllib3.inc 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 @@ +inherit pypi setuptools3 +require python-urllib3.inc |