Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [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 \ |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 8 | python3-setuptools-scm-native \ |
| 9 | python3-pkgconfig-native \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 10 | " |
| 11 | |
| 12 | SRC_URI += "file://run-ptest" |
| 13 | |
| 14 | SRC_URI[sha256sum] = "e1431d84a9cfb23e6773e72078ce8e65cad6745816d4cbf9ae67da5ea419acda" |
| 15 | |
| 16 | inherit pkgconfig pypi python_setuptools_build_meta ptest |
| 17 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 18 | RDEPENDS:${PN}-ptest += "\ |
| 19 | python3-coverage \ |
| 20 | python3-pytest \ |
| 21 | python3-pytest-cov \ |
| 22 | python3-pytest-runner \ |
| 23 | python3-multiprocessing \ |
| 24 | python3-psutil \ |
Andrew Geissler | 2013739 | 2023-10-12 04:59:14 -0600 | [diff] [blame^] | 25 | python3-unittest-automake-output \ |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 26 | " |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 27 | |
| 28 | do_install_ptest() { |
| 29 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ |
| 30 | # The stream API is experimental and not enabled yet, so don't ship the test suite |
| 31 | rm -rf ${D}${PTEST_PATH}/tests/stream |
| 32 | } |
| 33 | |
| 34 | BBCLASSEXTEND = "native nativesdk" |