diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-24 11:59:33 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:35:42 +0100 |
| commit | 4aa0fdf75f65412ce6402a13406c0a720300e737 (patch) | |
| tree | c6a2ceed95e4b16a9c24451f5a0646ae11d00362 /gnu/packages/python-xyz.scm | |
| parent | b0887f1ebc7eee28b93f49f8ad7e7ae5763e0536 (diff) | |
gnu: python-py-cpuinfo: Update to 9.0.0.
* gnu/packages/python-xyz.scm (python-py-cpuinfo): Update to 9.0.0.
[source]: Use the latest version tag including RISC-V support.
[build-system]: Use pyproject.
[arguments] <test-backend>: Use 'custom; <test-flags>: Provide
"test_suite.py" script to run tests.
[native-inputs]: Add python-setuptools.
Change-Id: I266bfa11a5655b586d567ac7b48adb71a5f113bd
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e3d7e5b67d..4f68c4d4d1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -33157,30 +33157,31 @@ choose to use Base64 without the “=” padding.") (license license:asl2.0))) (define-public python-py-cpuinfo - ;; This is the first commit where riscv64-linux support is available. - ;; We can move back to pypi releases with the next release. - (let ((commit "4d6987e5c30f2ebacb20781892c01329042cce60") - (revision "1")) - (package - (name "python-py-cpuinfo") - (version (git-version "8.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/workhorsy/py-cpuinfo") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0h5wi1bfcqqr1x3j1pa7dmkx7siprsyksbsy80fl2sdrrgpji0b0")))) - (build-system python-build-system) - (home-page "https://github.com/workhorsy/py-cpuinfo") - (synopsis "Get CPU info with Python") - (description - "This Python module returns the CPU info by using the best sources of + (package + (name "python-py-cpuinfo") + (version "9.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/workhorsy/py-cpuinfo") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "112gzmwbj3ndxv20ii7i70irp58adwrlzjdvx5gmh39aw21b96s3")))) + (build-system pyproject-build-system) + (arguments + (list #:test-backend #~'custom + #:test-flags #~(list "test_suite.py"))) + (native-inputs + (list python-setuptools)) + (home-page "https://github.com/workhorsy/py-cpuinfo") + (synopsis "Get CPU info with Python") + (description + "This Python module returns the CPU info by using the best sources of information for your operating system.") - (license license:expat)))) + (license license:expat))) (define-public python-canonicaljson (package |
