diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-urllib3_2.5.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-urllib3_2.5.0.bb | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/meta/recipes-devtools/python/python3-urllib3_2.5.0.bb b/meta/recipes-devtools/python/python3-urllib3_2.5.0.bb index a4f3995730..62fdf8e345 100644 --- a/meta/recipes-devtools/python/python3-urllib3_2.5.0.bb +++ b/meta/recipes-devtools/python/python3-urllib3_2.5.0.bb | |||
| @@ -7,18 +7,23 @@ SRC_URI[sha256sum] = "3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbf | |||
| 7 | 7 | ||
| 8 | inherit pypi python_hatchling | 8 | inherit pypi python_hatchling |
| 9 | 9 | ||
| 10 | DEPENDS += " \ | 10 | DEPENDS += "python3-hatch-vcs-native" |
| 11 | python3-hatch-vcs-native \ | 11 | |
| 12 | " | 12 | PACKAGECONFIG ??= "" |
| 13 | # This is not recommended for use upstream, and has large dependencies | ||
| 14 | PACKAGECONFIG[openssl] = ",,,python3-cryptography python3-pyopenssl" | ||
| 15 | |||
| 16 | do_install:append() { | ||
| 17 | if ! ${@bb.utils.contains("PACKAGECONFIG", "openssl", "true", "false", d)}; then | ||
| 18 | rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/urllib3/contrib/pyopenssl.py | ||
| 19 | fi | ||
| 20 | } | ||
| 13 | 21 | ||
| 14 | RDEPENDS:${PN} += "\ | 22 | RDEPENDS:${PN} += "\ |
| 15 | python3-certifi \ | ||
| 16 | python3-cryptography \ | ||
| 17 | python3-email \ | ||
| 18 | python3-idna \ | 23 | python3-idna \ |
| 24 | python3-email \ | ||
| 19 | python3-json \ | 25 | python3-json \ |
| 20 | python3-netclient \ | 26 | python3-netclient \ |
| 21 | python3-pyopenssl \ | ||
| 22 | python3-threading \ | 27 | python3-threading \ |
| 23 | python3-logging \ | 28 | python3-logging \ |
| 24 | " | 29 | " |
