mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
python3-geojson: 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
50c39361c8
commit
335ff5abc8
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -5,19 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=f77f2ed49768c8d4c79ba874c0f94d8a"
|
|||
|
||||
SRC_URI[sha256sum] = "b860baba1e8c6f71f8f5f6e3949a694daccf40820fa8f138b3f712bd85804903"
|
||||
|
||||
inherit pypi setuptools3 ptest
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
inherit pypi setuptools3 ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN} += "python3-simplejson python3-math"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user