mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-multidict: 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
399675eb7b
commit
5678e949e6
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/sh
|
||||
pytest --automake
|
||||
|
|
@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/multidict/"
|
|||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
PV .= "+git"
|
||||
|
||||
|
|
@ -12,19 +12,8 @@ SRCREV = "4140e63780dc6dd600a1837cb9b4c5198c3dcd68"
|
|||
PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-pytest-cov \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user