forked from pool/python-py-cpuinfo
Accepting request 704967 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/704967 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py-cpuinfo?expand=0&rev=5
This commit is contained in:
commit
7d07cde9da
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b711b1257adb9cb9c820f79a7e15e410e3be8bcd26de177af9bdc00ea6dc882c
|
|
||||||
size 75851
|
|
3
py-cpuinfo-5.0.0.tar.gz
Normal file
3
py-cpuinfo-5.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2cf6426f776625b21d1db8397d3297ef7acfa59018f02a8779123f3190f18500
|
||||||
|
size 82118
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 22 13:40:11 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- update to version 5.0.0
|
||||||
|
* Fixed Bug #117: Remove PyInstaller hacks
|
||||||
|
* Fixed Bug #108: Client script runs multiple times without __main__
|
||||||
|
* Fixed Bug #113: Add option to return results in json
|
||||||
|
* Fixed Bug #110: Always tries to run wmic in get_system_info.py
|
||||||
|
v4.0.0
|
||||||
|
* Fixed Bug #80: Broken when using Pyinstaller
|
||||||
|
* Fixed Bug #77: Get L1, L2, and L3 cache info from lscpu
|
||||||
|
* Fixed Bug #79: Byte formats are inconsistent
|
||||||
|
* Fixed Bug #81: Byte formatter breaks on non strings
|
||||||
|
* Fixed Bug #95: Include if Python is 32 or 64 bit in get_system_info
|
||||||
|
* Fixed Bug #87: lscpu gets brand field twice
|
||||||
|
* Fixed Bug #96: Include Python version in output
|
||||||
|
* Fixed Bug #85: CPUID HZ measurement is scaled wrong
|
||||||
|
* Fixed Bug #100: Officially drop support for Python 2.6
|
||||||
|
* Fixed Bug #101: Made it only check the dmesg boot log on Linux
|
||||||
|
v3.3.0
|
||||||
|
* Fixed Bug #72: Fails to parse invalid CPUID result.
|
||||||
|
- removed remove-arch-check.patch -- testsuite runs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 4 16:31:12 UTC 2019 - schwab@suse.de
|
Mon Feb 4 16:31:12 UTC 2019 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -19,14 +19,13 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
Name: python-py-cpuinfo
|
Name: python-py-cpuinfo
|
||||||
Version: 3.1.0
|
Version: 5.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library and tool to get CPU info
|
Summary: Python library and tool to get CPU info
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/workhorsy/py-cpuinfo
|
URL: https://github.com/workhorsy/py-cpuinfo
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/py-cpuinfo/py-cpuinfo-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/py-cpuinfo/py-cpuinfo-%{version}.tar.gz
|
||||||
Patch: remove-arch-check.patch
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -54,7 +53,6 @@ These approaches are used for getting info:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n py-cpuinfo-%{version}
|
%setup -q -n py-cpuinfo-%{version}
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
Index: py-cpuinfo-3.1.0/cpuinfo/cpuinfo.py
|
|
||||||
===================================================================
|
|
||||||
--- py-cpuinfo-3.1.0.orig/cpuinfo/cpuinfo.py
|
|
||||||
+++ py-cpuinfo-3.1.0/cpuinfo/cpuinfo.py
|
|
||||||
@@ -1783,6 +1783,7 @@ def get_cpu_info():
|
|
||||||
|
|
||||||
# Make sure we are running on a supported system
|
|
||||||
def _check_arch():
|
|
||||||
+ return
|
|
||||||
arch, bits = parse_arch(DataSource.raw_arch_string)
|
|
||||||
if not arch in ['X86_32', 'X86_64', 'ARM_7', 'ARM_8', 'PPC_64']:
|
|
||||||
raise Exception("py-cpuinfo currently only works on X86 and some PPC and ARM CPUs.")
|
|
Loading…
Reference in New Issue
Block a user