--- python-psutil-0.2.1.orig/debian/rules +++ python-psutil-0.2.1/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +PYVERS:=$(shell pyversions -s) + +%: + dh $@ --with python2 + +build: + dh build + + # run tests + for test in test_memory_leaks.py test_psutil.py ;\ + do \ + for python in $(PYVERS) ; do \ + echo "running "test/$$test" on "$$python ; \ + LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print b.build_platlib") ; \ + PYTHONPATH=$$LIB $$python test/$$test ; \ + done \ + done + +override_dh_installchangelogs: + dh_installchangelogs HISTORY + +override_dh_installdocs: + dh_installdocs -X.DS_Store --- python-psutil-0.2.1.orig/debian/docs +++ python-psutil-0.2.1/debian/docs @@ -0,0 +1 @@ +docs --- python-psutil-0.2.1.orig/debian/copyright +++ python-psutil-0.2.1/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by Sandro Tosi on +Fri, 08 May 2009 23:49:16 +0200. + +It was downloaded from http://code.google.com/p/psutil/ + +Upstream Authors: + + Giampaolo Rodola, Dave Daeschler, Jay Loden + +Copyright: + + Copyright (c) 2009, Jay Loden, Dave Daeschler, Giampaolo Rodola + +License: + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of the psutil authors nor the names of its contributors + may be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The Debian packaging is: + + Copyright (C) 2009-2011 Sandro Tosi + +and is licensed under the same terms as upstream code. --- python-psutil-0.2.1.orig/debian/changelog +++ python-psutil-0.2.1/debian/changelog @@ -0,0 +1,65 @@ +python-psutil (0.2.1-1natty1) natty; urgency=low + + * Rebuild for natty. + + -- Thomas Hervé Wed, 14 Sep 2011 14:22:50 -0400 + +python-psutil (0.2.1-1ubuntu1) oneiric; urgency=low + + * Switch to dh_python2. (LP: #788514) + + -- Barry Warsaw Wed, 10 Aug 2011 14:47:19 -0400 + +python-psutil (0.2.1-1) unstable; urgency=low + + * New upstream release + * debian/copyright + - extended packaging copyright years + * debian/rules + - use the correct PYTHONPATH when running tests, for all supported versions + * debian/control + - it now contains also extensions, so it's an arch:any package + - move python-support from b-d-i to b-d + - we now need python-all-dev in b-d + - added procps to b-d, needed to run tests + * debian/{control, pyversion} + - removed pyversion, replaced by XS-P-V field + + -- Sandro Tosi Mon, 04 Apr 2011 20:26:42 +0200 + +python-psutil (0.2.0-1) experimental; urgency=low + + * New upstream release + * debian/control + - bump Standards-Version to 3.9.1 (no changes needed) + * debian/python-psutil.doc-base + - added doc-base + + -- Sandro Tosi Mon, 15 Nov 2010 20:45:35 +0100 + +python-psutil (0.1.3-1) unstable; urgency=low + + * New upstream release + * debian/control + - bump Standards-Version to 3.8.4 (no changes needed) + * debian/rules + - adjust tests list + + -- Sandro Tosi Wed, 10 Mar 2010 23:27:55 +0100 + +python-psutil (0.1.2-2) unstable; urgency=low + + * debian/rules + - fixed bashism in selecting tests to run; thanks to Raphael Geissert for + the report; Closes: #535411 + * debian/control + - bump Standards-Version to 3.8.2 (no changes needed) + - bump b-d on debhelper to >= 7.2.18 to support Python 2.6 transition + + -- Sandro Tosi Fri, 03 Jul 2009 19:22:10 +0200 + +python-psutil (0.1.2-1) unstable; urgency=low + + * Initial release (Closes: #527594) + + -- Sandro Tosi Sat, 16 May 2009 09:17:55 +0200 --- python-psutil-0.2.1.orig/debian/control +++ python-psutil-0.2.1/debian/control @@ -0,0 +1,22 @@ +Source: python-psutil +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Python Modules Team +Uploaders: Sandro Tosi +Build-Depends: debhelper (>= 7.2.18), python-all-dev (>= 2.6.6-3~), procps +Standards-Version: 3.9.1 +Homepage: http://code.google.com/p/psutil/ +Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-psutil/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-psutil/trunk/ + +Package: python-psutil +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Description: module providing convenience functions for managing processes + psutil is a module providing an interface for retrieving information on + running processes and system utilization (CPU, memory) in a portable way + by using Python, implementing many functionalities offered by tools like + ps, top and Windows task manager. + . + It currently supports Linux, OS X, FreeBSD and Windows. --- python-psutil-0.2.1.orig/debian/python-psutil.doc-base +++ python-psutil-0.2.1/debian/python-psutil.doc-base @@ -0,0 +1,13 @@ +Document: psutil +Title: Psutil Summary +Author: Jay Loden, Giampaolo Rodola' +Abstract: psutil is a module providing an interface for retrieving + information on running processes and system utilization (CPU, memory) + in a portable way by using Python, implementing many functionalities + offered by command line tools like ps, top, kill and Windows task + manager. +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-psutil/docs/index.html +Files: /usr/share/doc/python-psutil/docs/* --- python-psutil-0.2.1.orig/debian/watch +++ python-psutil-0.2.1/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://code.google.com/p/psutil/downloads/list http://psutil.googlecode.com/files/psutil-(.*)\.tar\.gz --- python-psutil-0.2.1.orig/debian/compat +++ python-psutil-0.2.1/debian/compat @@ -0,0 +1 @@ +7 --- python-psutil-0.2.1.orig/debian/source/format +++ python-psutil-0.2.1/debian/source/format @@ -0,0 +1 @@ +1.0