Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "A module wrapper for os.path" |
| 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6" |
| 4 | |
| 5 | SRC_URI[sha256sum] = "bea3816e1d54f4e33aac78d2031a0b0ed2f95e69db85b45d51f17df97071da69" |
| 6 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 7 | SRC_URI += "\ |
| 8 | file://run-ptest \ |
| 9 | " |
| 10 | |
| 11 | inherit pypi python_setuptools_build_meta ptest |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 12 | |
| 13 | DEPENDS += "python3-setuptools-scm-native" |
| 14 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 15 | RDEPENDS:${PN} += " \ |
| 16 | ${PYTHON_PN}-appdirs \ |
| 17 | " |
| 18 | RDEPENDS:${PN}-ptest += " \ |
| 19 | ${PYTHON_PN}-pytest \ |
| 20 | ${PYTHON_PN}-unittest-automake-output \ |
| 21 | " |
| 22 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 23 | BBCLASSEXTEND = "nativesdk native" |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 24 | |
| 25 | do_install_ptest() { |
| 26 | install -d ${D}${PTEST_PATH}/test |
| 27 | cp -rf ${S}/test_* ${D}${PTEST_PATH}/test/ |
| 28 | install -d ${D}${PTEST_PATH}/path |
| 29 | cp -rf ${S}/path/* ${D}${PTEST_PATH}/path/ |
| 30 | } |