Accepting request 253187 from home:TheBlackCat:branches:devel:languages:python

- Update documentation files
- Spec file cleanups
- Update shebang fix
- Disable broken unit tests: tests don't work without root permissions
- Update dependencies.  We should actually guarantee psutil and so
  on are installed.
- Update urls
- Update to version 2.1.2

OBS-URL: https://build.opensuse.org/request/show/253187
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psutil?expand=0&rev=29
This commit is contained in:
Todd R 2014-09-30 12:18:11 +00:00 committed by Git OBS Bridge
parent 792b621fbb
commit b21942f7f2

View File

@ -41,7 +41,7 @@ A graphical interface that lets you easily analyze and introspect unaltered runn
%prep
%setup -q -n psutil-%{version}
# Remove shebangs
# sed -i "1d" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psmswindows.py,_psosx.py,_psposix.py,error.py}
sed -i "1d" psutil/{__init__.py,_compat.py,_psbsd.py,_pslinux.py,_psosx.py,_psposix.py,_pssunos.py,_pswindows.py}
%build
python setup.py build
@ -49,8 +49,8 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
# not working due to lack of root priveleges
# %check
# make test
# make memtest