Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37716168
en ru br
ALT Linux repositórios
S:9.0.0-alt1

Group :: Development/Python3
RPM: python3-module-cpuinfo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define pypi_name py-cpuinfo
%define mod_name cpuinfo

Name: python3-module-%mod_name
Version: 9.0.0
Release: alt1
Summary: Get CPU info with pure Python
License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/py-cpuinfo
Vcs: https://github.com/workhorsy/py-cpuinfo
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
# mapping from PyPI name
Provides: python3-module-%{pep503_name %pypi_name} = %EVR
Conflicts: python-module-%mod_name <= 3.3.0-alt2
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%pyproject_builddeps_metadata
%endif

%description
Py-cpuinfo gets CPU info with pure Python. Py-cpuinfo should work without any
extra programs or libraries, beyond what your OS provides. It does not require
any compilation(C/C++, assembly, et cetera) to use. It works with Python 3.

%prep
%setup
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run -- python3 test_suite.py

%files
%doc README.md
%_bindir/cpuinfo
%python3_sitelibdir/%mod_name/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009