From b1a3c0c3c3fb67190d098012145d6aedc6754069 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 27 Oct 2022 11:26:02 +0300 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-py-cpuinfo_8.0.0.bb | 27 ---------------------- .../python/python3-py-cpuinfo_9.0.0.bb | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb b/meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb deleted file mode 100644 index 6de2f17459..0000000000 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo_8.0.0.bb +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright (C) 2021 Khem Raj -# Released under the MIT license (see COPYING.MIT for the terms) - -SUMMARY = "Get CPU info with pure Python 2 & 3" -HOMEPAGE = "https://github.com/workhorsy/py-cpuinfo" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b0b97c022f12b14d9e02de0b283ee9e9" - -SRC_URI[sha256sum] = "5f269be0e08e33fd959de96b34cd4aeeeacac014dd8305f70eb28d06de2345c5" - -inherit ptest pypi setuptools3 - -SRC_URI += "file://run-ptest \ - " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN}-ptest += "\ - python3-pytest \ -" - -RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" - -BBCLASSEXTEND = "native nativesdk" 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 @@ +# Copyright (C) 2021 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Get CPU info with pure Python 2 & 3" +HOMEPAGE = "https://github.com/workhorsy/py-cpuinfo" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d2379ecb0d7a8299101b1e4c160cd1f7" + +SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690" + +inherit ptest pypi setuptools3 + +SRC_URI += "file://run-ptest \ + " + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN}-ptest += "\ + python3-pytest \ +" + +RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf