python3-dnspython: switch to pytest --automake

* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tim Orling
2024-02-16 16:15:14 -08:00
committed by Khem Raj
parent a55a9b65f4
commit 8667e7db0f
2 changed files with 11 additions and 10 deletions

View File

@@ -12,7 +12,8 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
@@ -21,15 +22,15 @@ do_install_ptest() {
}
DEPENDS += "\
${PYTHON_PN}-wheel-native \
${PYTHON_PN}-setuptools-scm-native \
python3-wheel-native \
python3-setuptools-scm-native \
"
RDEPENDS:${PN} += " \
${PYTHON_PN}-crypt \
${PYTHON_PN}-io \
${PYTHON_PN}-math \
${PYTHON_PN}-netclient \
${PYTHON_PN}-numbers \
${PYTHON_PN}-threading \
python3-crypt \
python3-io \
python3-math \
python3-netclient \
python3-numbers \
python3-threading \
"