python3-gunicorn: 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:17 -08:00
committed by Khem Raj
parent c576a146a5
commit 10c10c68b7
2 changed files with 6 additions and 5 deletions

View File

@@ -12,9 +12,10 @@ SRC_URI += " \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-eventlet \
${PYTHON_PN}-gevent \
${PYTHON_PN}-pytest \
python3-eventlet \
python3-gevent \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
@@ -22,4 +23,4 @@ do_install_ptest() {
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} += "${PYTHON_PN}-setuptools ${PYTHON_PN}-fcntl"
RDEPENDS:${PN} += "python3-setuptools python3-fcntl"