mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-28 08:17:29 +00:00
000648e968
Inherit ptest and include tests for pyppmd. Add a patch to fix SIGABRT OutputBuffer_Grow() from src/ext/_ppmdmodule.c which was detected with the tests. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
42 lines
1009 B
BlitzBasic
42 lines
1009 B
BlitzBasic
SUMMARY = "PPMd compression/decompression library"
|
|
HOMEPAGE = "https://pyppmd.readthedocs.io/en/latest/"
|
|
LICENSE = "LGPL-2.1-or-later"
|
|
SECTION = "devel/python"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
|
|
|
|
inherit pypi python_setuptools_build_meta ptest
|
|
|
|
SRC_URI[sha256sum] = "ced527f08ade4408c1bfc5264e9f97ffac8d221c9d13eca4f35ec1ec0c7b6b2e"
|
|
|
|
SRC_URI += " \
|
|
file://0001-Ppmd7-Ppmd8-Fix-SIGABRT-in-OutputBuffer_Grow.patch \
|
|
file://run-ptest \
|
|
"
|
|
|
|
DEPENDS += " \
|
|
python3-setuptools-scm-native \
|
|
python3-toml-native \
|
|
python3-wheel-native \
|
|
"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
python3-email \
|
|
python3-importlib-metadata \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-pytest \
|
|
python3-pytest-benchmark \
|
|
python3-core \
|
|
python3-crypt \
|
|
python3-datetime \
|
|
python3-hypothesis \
|
|
python3-unittest \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|