mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-06 01:05:42 +01:00
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>
This commit is contained in:
parent
6a144af2f1
commit
2eb51b66c9
19
meta-python/recipes-devtools/python/python-urllib3.inc
Normal file
19
meta-python/recipes-devtools/python/python-urllib3.inc
Normal file
|
|
@ -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"
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
inherit pypi setuptools3
|
||||
require python-urllib3.inc
|
||||
Loading…
Reference in New Issue
Block a user