diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2022-10-27 11:26:02 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-10-27 08:55:20 -0700 |
| commit | b1a3c0c3c3fb67190d098012145d6aedc6754069 (patch) | |
| tree | 38dca7700e12df6dbc5c66c99dd4b7211d00d1c8 /meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | |
| parent | 51aea2c8ee7122597408c843414a947527577c9b (diff) | |
| download | meta-openembedded-b1a3c0c3c3fb67190d098012145d6aedc6754069.tar.gz | |
python3-py-cpuinfo: Upgrade 8.0.0 -> 9.0.0
Upgrade to release 9.0.0:
- Changes to lscpu breaks parsing of cache info
- CPU stepping, model, and family values are blank if 0
- Officially drop support for Python 2
- Replace Python 3.11 deprecated unittest.makeSuite
- Fix lgtm.com alerts
- Support Wheel
- Add support for RISC-V
License-Update: Update year
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb new file mode 100644 index 0000000000..5fbac03ac0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 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=d2379ecb0d7a8299101b1e4c160cd1f7" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690" | ||
| 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 | |||
| 21 | RDEPENDS:${PN}-ptest += "\ | ||
| 22 | python3-pytest \ | ||
| 23 | " | ||
| 24 | |||
| 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" | ||
| 26 | |||
| 27 | BBCLASSEXTEND = "native nativesdk" | ||
