1
0
forked from pool/python-psutil

Accepting request 137337 from home:poorboywilly:branches:devel:languages:python

Update to 0.6.1, remove references to deleted docs dir., remove unnecessary shebangs from python scripts.

OBS-URL: https://build.opensuse.org/request/show/137337
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=9
This commit is contained in:
Sascha Peilicke
2012-10-08 09:27:07 +00:00
committed by Git OBS Bridge
parent 312e68afdc
commit ae6f6f8b2c
6 changed files with 47 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f051d2f965bcf63067c45449ab128b26e01587f0bc68e4141c355d28a55c71ee
size 176640

3
psutil-0.6.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d665a4cc58c9a5d207fb0dc9869fc0ee10f4f66ad885e84886ef6339ccce0a6f
size 138456

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat Oct 6 23:01:56 UTC 2012 - os-dev@jacraig.com
- Update to 0.6.1:
* process cmdline property now makes a better job at guessing the process
executable from the cmdline.
* process exe was resolved in case it was a symlink.
* python 2.4 compatibility was broken.
* process exe can now return an empty string instead of raising AccessDenied.
* process exe is no longer resolved in case it's a symlink.
- Tons of changes from previous versions, please see HISTORY.
- Remove references to docs directory in spec file, as it no longer exists.
- Remove unnecessary shebangs from python scripts to quiet rpmlint.
-------------------------------------------------------------------
Fri May 25 04:29:28 UTC 2012 - highwaystar.ru@gmail.com

View File

@@ -15,17 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-psutil
Version: 0.4.1
Version: 0.6.1
Release: 0
License: BSD-3-Clause
Summary: A process utilities module for Python
Url: http://code.google.com/p/psutil/
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://code.google.com/p/psutil/
Source: psutil-%{version}.tar.gz
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-distribute
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
@@ -35,7 +36,8 @@ A graphical interface that lets you easily analyze and introspect unaltered runn
%prep
%setup -q -n psutil-%{version}
chmod -x docs/class_diagram.png # Fix executable permissions
# Remove shebangs
sed -i "1d" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psmswindows.py,_psosx.py,_psposix.py,error.py}
%build
python setup.py build
@@ -48,10 +50,9 @@ python setup.py test
%files
%defattr(-,root,root,-)
%doc CREDITS examples docs HISTORY LICENSE README
%doc CREDITS examples HISTORY LICENSE README
%{python_sitearch}/psutil/
%{python_sitearch}/_psutil_*.so
%{python_sitearch}/psutil-%{version}-py%{py_ver}.egg-info
%changelog

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat Oct 6 23:01:56 UTC 2012 - os-dev@jacraig.com
- Update to 0.6.1:
* process cmdline property now makes a better job at guessing the process
executable from the cmdline.
* process exe was resolved in case it was a symlink.
* python 2.4 compatibility was broken.
* process exe can now return an empty string instead of raising AccessDenied.
* process exe is no longer resolved in case it's a symlink.
- Tons of changes from previous versions, please see HISTORY.
- Remove references to docs directory in spec file, as it no longer exists.
- Remove unnecessary shebangs from python scripts to quiet rpmlint.
-------------------------------------------------------------------
Thu Sep 6 13:05:51 UTC 2012 - toddrme2178@gmail.com

View File

@@ -15,19 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-psutil
Version: 0.4.1
Version: 0.6.1
Release: 0
License: BSD-3-Clause
Summary: A process utilities module for Python
Url: http://code.google.com/p/psutil/
License: BSD-3-Clause
Group: Development/Languages/Python
Url: http://code.google.com/p/psutil/
Source: psutil-%{version}.tar.gz
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3-distribute
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} <= 1140
%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
@@ -43,7 +44,8 @@ A graphical interface that lets you easily analyze and introspect unaltered runn
%prep
%setup -q -n psutil-%{version}
chmod -x docs/class_diagram.png # Fix executable permissions
# Remove shebangs
sed -i "1d" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psmswindows.py,_psosx.py,_psposix.py,error.py}
%build
python3 setup.py build
@@ -56,7 +58,7 @@ python3 setup.py test
%files
%defattr(-,root,root,-)
%doc CREDITS examples docs HISTORY LICENSE README
%doc CREDITS examples HISTORY LICENSE README
%{python3_sitearch}/psutil/
%{python3_sitearch}/_psutil_*.so
%{python3_sitearch}/psutil-%{version}-py%{py3_ver}.egg-info