/[packages]/cauldron/python-psutil/current/SPECS/python-psutil.spec
ViewVC logotype

Contents of /cauldron/python-psutil/current/SPECS/python-psutil.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1539203 - (show annotations) (download)
Tue Feb 18 05:01:34 2020 UTC (4 years ago) by umeabot
File size: 1586 byte(s)
Mageia 8 Mass Rebuild
1 %global srcname psutil
2
3 Name: python-%{srcname}
4 Version: 5.6.7
5 Release: %mkrel 2
6 Summary: Module providing an interface for retrieving information on all running processes
7 Group: Development/Python
8 License: MIT
9 URL: https://github.com/giampaolo/psutil
10 Source0: https://files.pythonhosted.org/packages/source/p/psutil/psutil-%{version}.tar.gz
11
12 %description
13 psutil is a module providing an interface for retrieving information
14 on all running processes and system utilization (CPU, memory, disks,
15 network, users) in a portable way by using Python, implementing many
16 functionalities offered by command line tools.
17
18 %package -n python3-%{srcname}
19 Summary: Module providing an interface for retrieving information on all running processes
20 Group: Development/Python
21 BuildRequires: python3-devel
22 BuildRequires: python3dist(setuptools)
23 %{?python_provide:%python_provide python3-%{srcname}}
24
25 %description -n python3-%{srcname}
26 psutil is a module providing an interface for retrieving information
27 on all running processes and system utilization (CPU, memory, disks,
28 network, users) in a portable way by using Python, implementing many
29 functionalities offered by command line tools.
30 This is the Python 3 build of %{srcname}.
31
32
33 %prep
34 %autosetup -p1 -n %{srcname}-%{version}
35
36 # drop bundled egg-info
37 rm -rf psutil.egg-info/
38
39 %build
40 %py3_build
41
42 %install
43 %py3_install
44
45 %files -n python3-%{srcname}
46 %license LICENSE
47 %doc CREDITS HISTORY.rst README.rst
48 %{python3_sitearch}/%{srcname}/
49 %{python3_sitearch}/*.egg-info/

  ViewVC Help
Powered by ViewVC 1.1.30