Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | DESCRIPTION = "python bindings for the lz4 compression library by Yann Collet" |
| 2 | |
| 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573" |
| 5 | |
| 6 | DEPENDS += " \ |
| 7 | lz4 \ |
| 8 | ${PYTHON_PN}-setuptools-scm-native \ |
| 9 | ${PYTHON_PN}-pkgconfig-native \ |
| 10 | " |
| 11 | |
| 12 | SRC_URI += "file://run-ptest" |
| 13 | |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame] | 14 | SRC_URI[sha256sum] = "083b7172c2938412ae37c3a090250bfdd9e4a6e855442594f86c3608ed12729b" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 15 | |
| 16 | inherit pkgconfig pypi python_setuptools_build_meta ptest |
| 17 | |
| 18 | RDEPENDS:${PN}-ptest += "${PYTHON_PN}-pytest ${PYTHON_PN}-multiprocessing ${PYTHON_PN}-psutil" |
| 19 | |
| 20 | do_install_ptest() { |
| 21 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ |
| 22 | # The stream API is experimental and not enabled yet, so don't ship the test suite |
| 23 | rm -rf ${D}${PTEST_PATH}/tests/stream |
| 24 | } |
| 25 | |
| 26 | BBCLASSEXTEND = "native nativesdk" |