From ae6f6f8b2cc8934df1e6f305bad5cadced730b5aaec245b50de03aad4ccaf567 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 8 Oct 2012 09:27:07 +0000 Subject: [PATCH] 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 --- psutil-0.4.1.tar.gz | 3 --- psutil-0.6.1.tar.gz | 3 +++ python-psutil.changes | 14 ++++++++++++++ python-psutil.spec | 15 ++++++++------- python3-psutil.changes | 14 ++++++++++++++ python3-psutil.spec | 14 ++++++++------ 6 files changed, 47 insertions(+), 16 deletions(-) delete mode 100644 psutil-0.4.1.tar.gz create mode 100644 psutil-0.6.1.tar.gz diff --git a/psutil-0.4.1.tar.gz b/psutil-0.4.1.tar.gz deleted file mode 100644 index 4e77aa1..0000000 --- a/psutil-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f051d2f965bcf63067c45449ab128b26e01587f0bc68e4141c355d28a55c71ee -size 176640 diff --git a/psutil-0.6.1.tar.gz b/psutil-0.6.1.tar.gz new file mode 100644 index 0000000..1ca317c --- /dev/null +++ b/psutil-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d665a4cc58c9a5d207fb0dc9869fc0ee10f4f66ad885e84886ef6339ccce0a6f +size 138456 diff --git a/python-psutil.changes b/python-psutil.changes index e689d0f..8cc8db0 100644 --- a/python-psutil.changes +++ b/python-psutil.changes @@ -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 diff --git a/python-psutil.spec b/python-psutil.spec index a04876f..d16cdaf 100644 --- a/python-psutil.spec +++ b/python-psutil.spec @@ -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 diff --git a/python3-psutil.changes b/python3-psutil.changes index 42b09cc..c43ec1c 100644 --- a/python3-psutil.changes +++ b/python3-psutil.changes @@ -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 diff --git a/python3-psutil.spec b/python3-psutil.spec index 3a601a5..0f57568 100644 --- a/python3-psutil.spec +++ b/python3-psutil.spec @@ -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