mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python3-ecdsa: 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
cc3942a549
commit
3ac7852b9b
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -6,19 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d"
|
|||
PYPI_PACKAGE = "ecdsa"
|
||||
SRC_URI[sha256sum] = "60eaad1199659900dd0af521ed462b793bbdf867432b3948e87416ae4caf6bf8"
|
||||
|
||||
inherit pypi setuptools3 python3native ptest
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
inherit pypi setuptools3 python3native ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-hypothesis \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
do_install_ptest:append () {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user