]> git.pld-linux.org Git - packages/python-psutil.git/commitdiff
- up to 3.4.1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 16 Jan 2016 08:52:33 +0000 (09:52 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 16 Jan 2016 08:52:33 +0000 (09:52 +0100)
python-psutil.spec

index af5cfc87a9301d4d30e6cd5ef8081d7fe0ff5152..079160e444361ab09b761fe10666db8a8ab966a6 100644 (file)
@@ -4,17 +4,17 @@
 %bcond_without  python2 # CPython 2.x module
 %bcond_without  python3 # CPython 3.x module
 
-%define        module  psutil
+%define                module  psutil
 Summary:       A cross-platform process and system utilities module for Python
 Summary(pl.UTF-8):     Wieloplatformowe narzędzia do procesów i systemu dla Pythona
 Name:          python-%{module}
-Version:       3.0.1
-Release:       4
+Version:       3.4.1
+Release:       1
 License:       BSD
 Group:         Development/Languages/Python
 Source0:       https://pypi.python.org/packages/source/p/psutil/%{module}-%{version}.tar.gz
-# Source0-md5: 037dc67b7902d10f49f6fa5404a73a24
-URL:           http://code.google.com/p/psutil/
+# Source0-md5: 237098fa24d25680f52659bdd721e8a9
+URL:           https://github.com/giampaolo/psutil
 BuildRequires: rpm-pythonprov
 %if %{with python2}
 BuildRequires: python-devel
@@ -67,14 +67,14 @@ offered by command line tools.
 CC="%{__cc}" \
 CFLAGS="%{rpmcppflags} %{rpmcflags}" \
 %py_build
-%{?with_tests:export PYTHONPATH=$(pwd)/build-2; %{__python} setup.py test}
+%{?with_tests:export PYTHONPATH=$(echo $(pwd)/build-2/lib.*); %{__python} test/test_psutil.py}
 %endif
 
 %if %{with python3}
 CC="%{__cc}" \
 CFLAGS="%{rpmcppflags} %{rpmcflags}" \
 %py3_build
-%{?with_tests:export PYTHONPATH=$(pwd)/build-3; %{__python3} setup.py test}
+%{?with_tests:export PYTHONPATH=$(echo $(pwd)/build-3/lib.*); %{__python3} test/test_psutil.py}
 %endif
 
 %install
This page took 0.11241 seconds and 4 git commands to generate.