python3-cryptography: Cleanup DEPENDS/RDEPENDS

idna was removed in 3.1, asn1crypto in 2.8, six in 3.3.1; setuptools
never appears to have been a runtime requirement. With these removed the
recipe both builds and passes ptest:

  ===== 2824 passed, 52 skipped, 85319 subtests passed in 3932.89s (1:05:32) =====

Also drop redundant ${PYTHON_PN}-setuptools-rust-native DEPENDS as this
comes from python_setuptools3_rust.bbclass.

(From OE-Core rev: 4907bf80e6d3e98c005bcfbc690b75fab104c166)

Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alex Kiernan
2022-06-26 12:42:39 +01:00
committed by Richard Purdie
parent 8eb4d3b581
commit 99d2648d9e

View File

@@ -66,18 +66,11 @@ SRC_URI += "file://run-ptest \
inherit pypi python_setuptools3_rust
DEPENDS += " \
${PYTHON_PN}-asn1crypto-native \
${PYTHON_PN}-cffi-native \
${PYTHON_PN}-setuptools-rust-native \
${PYTHON_PN}-six-native \
"
RDEPENDS:${PN} += " \
${PYTHON_PN}-asn1crypto \
${PYTHON_PN}-cffi \
${PYTHON_PN}-idna \
${PYTHON_PN}-setuptools \
${PYTHON_PN}-six \
"
RDEPENDS:${PN}:append:class-target = " \