Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 1 | # Copyright (C) 2021 Khem Raj <raj.khem@gmail.com> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | SUMMARY = "Get CPU info with pure Python 2 & 3" |
| 5 | HOMEPAGE = "https://github.com/workhorsy/py-cpuinfo" |
| 6 | LICENSE = "MIT" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b0b97c022f12b14d9e02de0b283ee9e9" |
| 8 | |
| 9 | SRC_URI[sha256sum] = "5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5" |
| 10 | |
| 11 | inherit ptest pypi setuptools3 |
| 12 | |
| 13 | SRC_URI += "file://run-ptest \ |
| 14 | " |
| 15 | |
| 16 | do_install_ptest() { |
| 17 | install -d ${D}${PTEST_PATH}/tests |
| 18 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 19 | } |
| 20 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 21 | RDEPENDS:${PN}-ptest += "\ |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 22 | python3-pytest \ |
| 23 | " |
| 24 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 25 | RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 26 | |
| 27 | BBCLASSEXTEND = "native nativesdk" |