mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
python3-service-identity: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
b30ddc2259
commit
5b40bae867
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -6,15 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=76edce6a3fa1b82b0bf2b6ce174c19e2"
|
|||
|
||||
SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09"
|
||||
|
||||
inherit pypi python_hatchling ptest
|
||||
inherit pypi python_hatchling ptest-python-pytest
|
||||
|
||||
PYPI_PACKAGE = "service_identity"
|
||||
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
|
|
@ -25,13 +21,6 @@ RDEPENDS:${PN} += " \
|
|||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-attrs \
|
||||
python3-pytest \
|
||||
python3-six \
|
||||
python3-unittest-automake-output \
|
||||
python3-pyopenssl \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user