Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates-src > by-pkgid > c7d2a4185a6476311d8e82fed50be513 > files > 2

python-psutil-5.6.7-1.mga7.src.rpm

%global srcname psutil

Name:           python-%{srcname}
Version:        5.6.7
Release:        %mkrel 1
Summary:        Module providing an interface for retrieving information on all running processes
Group:          Development/Python
License:        MIT
URL:            https://github.com/giampaolo/psutil
Source0:        https://files.pythonhosted.org/packages/source/p/psutil/psutil-%{version}.tar.gz

%description
psutil is a module providing an interface for retrieving information
on all running processes and system utilization (CPU, memory, disks,
network, users) in a portable way by using Python, implementing many
functionalities offered by command line tools.

%package -n     python2-%{srcname}
Summary:        Module providing an interface for retrieving information on all running processes
Group:          Development/Python
BuildRequires:  python2-devel
BuildRequires:  python2dist(setuptools)
%{?python_provide:%python_provide python2-%{srcname}}

%description -n python2-%{srcname}
psutil is a module providing an interface for retrieving information
on all running processes and system utilization (CPU, memory, disks,
network, users) in a portable way by using Python, implementing many
functionalities offered by command line tools.

%package -n     python3-%{srcname}
Summary:        Module providing an interface for retrieving information on all running processes
Group:          Development/Python
BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)
%{?python_provide:%python_provide python3-%{srcname}}

%description -n python3-%{srcname}
psutil is a module providing an interface for retrieving information
on all running processes and system utilization (CPU, memory, disks,
network, users) in a portable way by using Python, implementing many
functionalities offered by command line tools.
This is the Python 3 build of %{srcname}.


%prep
%setup -q -n %{srcname}-%{version}

# drop bundled egg-info
rm -rf psutil.egg-info/

%build
%py2_build
%py3_build

%install
%py2_install
%py3_install

%files -n python2-%{srcname}
%license LICENSE
%doc CREDITS HISTORY.rst README.rst
%{python2_sitearch}/%{srcname}/
%{python2_sitearch}/*.egg-info/

%files -n python3-%{srcname}
%license LICENSE
%doc CREDITS HISTORY.rst README.rst
%{python3_sitearch}/%{srcname}/
%{python3_sitearch}/*.egg-info/


%changelog
* Sat Nov 30 2019 daviddavid <daviddavid> 5.6.7-1.mga7
+ Revision: 1463880
- new version: 5.6.7, fixes CVE-2019-18874 (mga#25791)

* Sat Apr 20 2019 wally <wally> 5.6.1-1.mga7
+ Revision: 1393717
- new version 5.6.1

* Sat Jan 12 2019 wally <wally> 5.4.8-1.mga7
+ Revision: 1355640
- new version 5.4.8

* Sat Jan 05 2019 wally <wally> 5.4.5-3.mga7
+ Revision: 1349781
- rebuild for python3.7

* Sun Sep 23 2018 umeabot <umeabot> 5.4.5-2.mga7
+ Revision: 1300550
- Mageia 7 Mass Rebuild

* Fri Apr 20 2018 kekepower <kekepower> 5.4.5-1.mga7
+ Revision: 1220404
- Update to version 5.4.5
- Renamed python-psutil to python2-psutil
- Use python_provide

* Sat Aug 05 2017 pterjan <pterjan> 4.1.0-2.mga7
+ Revision: 1135554
- Rebuild for python 3.6

* Fri Apr 15 2016 daviddavid <daviddavid> 4.1.0-1.mga6
+ Revision: 1002748
- new version: 4.1.0

* Fri Feb 12 2016 daviddavid <daviddavid> 3.4.2-1.mga6
+ Revision: 957005
- new version: 3.4.2

* Mon Jan 18 2016 daviddavid <daviddavid> 3.4.1-1.mga6
+ Revision: 925684
- new version: 3.4.1

* Fri Dec 18 2015 daviddavid <daviddavid> 3.3.0-1.mga6
+ Revision: 911555
- new version: 3.3.0
- use new python macros
- add doc files

* Wed Oct 07 2015 ovitters <ovitters> 3.1.1-2.mga6
+ Revision: 887069
- rebuild for new python3

* Wed Aug 26 2015 wally <wally> 3.1.1-1.mga6
+ Revision: 869765
- new version 3.1.1
- fix URL

* Wed Oct 15 2014 umeabot <umeabot> 2.0.0-5.mga5
+ Revision: 741604
- Second Mageia 5 Mass Rebuild

* Sat Sep 27 2014 tv <tv> 2.0.0-4.mga5
+ Revision: 729331
- rebuild for missing pythoneggs deps

* Tue Sep 16 2014 umeabot <umeabot> 2.0.0-3.mga5
+ Revision: 688226
- Mageia 5 Mass Rebuild

* Sat May 31 2014 pterjan <pterjan> 2.0.0-2.mga5
+ Revision: 628908
- Rebuild for new Python

* Mon Mar 31 2014 kharec <kharec> 2.0.0-1.mga5
+ Revision: 610901
- new version 2.0.0

* Fri Feb 14 2014 wally <wally> 1.2.1-1.mga5
+ Revision: 591203
- new version 1.2.1
- enable python3 build
- fix URL tag

* Tue Oct 22 2013 umeabot <umeabot> 0.6.1-5.mga4
+ Revision: 544058
- Mageia 4 Mass Rebuild

* Tue Oct 15 2013 pterjan <pterjan> 0.6.1-4.mga4
+ Revision: 499128
- Rebuild to add different pythonegg provides for python 2 and 3

* Wed Aug 21 2013 neoclust <neoclust> 0.6.1-3.mga4
+ Revision: 468961
- Remove wrong require on python-setuptools

* Sun Jan 13 2013 umeabot <umeabot> 0.6.1-2.mga3
+ Revision: 379286
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Nov 01 2012 neoclust <neoclust> 0.6.1-1.mga3
+ Revision: 312304
- imported package python-psutil