debian/0000775000000000000000000000000012316407777007206 5ustar debian/source/0000775000000000000000000000000012261246013010465 5ustar debian/source/format0000664000000000000000000000001411626457654011716 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000373012261076623011133 0ustar This package was debianized by Sandro Tosi on Fri, 08 May 2009 23:49:16 +0200. It was downloaded from https://pypi.python.org/pypi/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-2014 Sandro Tosi and is licensed under the same terms as upstream code. debian/python-psutil.examples0000664000000000000000000000001311653351565013573 0ustar examples/* debian/changelog0000664000000000000000000001775612316407777011100 0ustar python-psutil (1.2.1-1ubuntu2) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Tue, 01 Apr 2014 02:01:51 +0100 python-psutil (1.2.1-1ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - Switch to dh_python2. - Build-depend on dh-python. -- Matthias Klose Mon, 06 Jan 2014 16:28:04 +0100 python-psutil (1.2.1-1) unstable; urgency=low * New upstream release * debian/copyright - extended packaging copyright years * debian/control - bump Standards-Version to 3.9.5 (no changes needed) -- Sandro Tosi Thu, 02 Jan 2014 12:22:23 +0100 python-psutil (1.1.3-1ubuntu2) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:32:34 +0000 python-psutil (1.1.3-1ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - Switch to dh_python2. * Build-depend on dh-python. -- Logan Rosen Mon, 09 Dec 2013 16:39:32 -0500 python-psutil (1.1.3-1) unstable; urgency=low * New upstream release; thanks to Barry Warsaw for the report; Closes: #729061 -- Sandro Tosi Sat, 09 Nov 2013 11:23:40 +0100 python-psutil (1.1.2-1) unstable; urgency=low * New upstream release -- Sandro Tosi Fri, 01 Nov 2013 12:53:51 +0100 python-psutil (1.1.1-1ubuntu1) trusty; urgency=low * Merge from Debian. Remaining changes: - Switch to dh_python2. -- Barry Warsaw Tue, 22 Oct 2013 15:50:09 -0400 python-psutil (1.1.1-1) unstable; urgency=low * New upstream release * debian/watch - point download location to PyPI * debian/copyright - update download URL -- Sandro Tosi Sat, 12 Oct 2013 15:42:08 +0200 python-psutil (1.0.1-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Sandro Tosi ] * Upload to unstable * New upstream release * debian/control - bump Standards-Version to 3.9.4 (no changes needed) -- Sandro Tosi Fri, 27 Sep 2013 07:17:13 +0200 python-psutil (0.7.0-1) experimental; urgency=low * New upstream release * debian/rules - fix syntax error when executing the test suite; thanks to Julian Taylor for the report; Closes: #687316 * debian/copyright - extended packaging copyright years -- Sandro Tosi Sat, 13 Apr 2013 19:28:13 +0200 python-psutil (0.6.1-2ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - Switch to dh_python2. (LP: #788514) -- Julian Taylor Wed, 02 Jan 2013 14:32:50 +0100 python-psutil (0.6.1-2) experimental; urgency=low * debian/rules - refactor build and test targets * debian/{control, rules} - provide Python 3 package; Closes: #636526 -- Sandro Tosi Tue, 28 Aug 2012 21:52:43 +0200 python-psutil (0.6.1-1ubuntu1) quantal; urgency=low * Merge from Debian unstable. Remaining changes: - Switch to dh_python2. (LP: #788514) -- Julian Taylor Sun, 19 Aug 2012 17:17:10 +0200 python-psutil (0.6.1-1) experimental; urgency=low * New upstream release -- Sandro Tosi Thu, 16 Aug 2012 19:22:23 +0200 python-psutil (0.6.0-1) experimental; urgency=low * New upstream release * debian/copyright - extend packaging copyright years * debian/rules - use hardening flags -- Sandro Tosi Mon, 13 Aug 2012 21:58:48 +0200 python-psutil (0.5.1-1ubuntu1) quantal; urgency=low * Merge from Debian unstable. Remaining changes: - Switch to dh_python2. (LP: #788514) -- Julian Taylor Mon, 02 Jul 2012 23:51:39 +0200 python-psutil (0.5.1-1) unstable; urgency=low * New upstream release -- Sandro Tosi Fri, 29 Jun 2012 19:07:24 +0200 python-psutil (0.5.0-1) unstable; urgency=low * New upstream release * debian/docs, python-psutil.doc-base - removed, docs no longer provided in the tarball * debian/control - bump Standards-Version to 3.9.3 (no changes needed) -- Sandro Tosi Thu, 28 Jun 2012 22:54:28 +0200 python-psutil (0.4.1-1ubuntu1) precise; urgency=low * Merge with Debian unstable (LP: #913100). Remaining Ubuntu changes: - Switch to dh_python2. (LP: #788514) -- Leo Iannacone Sat, 07 Jan 2012 13:18:54 +0100 python-psutil (0.4.1-1) unstable; urgency=low * New upstream release * debian/watch - fix to correctly scan google code -- Sandro Tosi Sun, 25 Dec 2011 18:49:52 +0100 python-psutil (0.4.0-1ubuntu1) precise; urgency=low * Merge with Debian unstable (LP: #900001). Remaining Ubuntu changes: - Switch to dh_python2. (LP: #788514) -- Leo Iannacone Sun, 04 Dec 2011 19:52:48 +0100 python-psutil (0.4.0-1) unstable; urgency=low * New upstream release * debian/python-psutil.examples - install examples * debian/rules - don't compress .py files -- Sandro Tosi Mon, 31 Oct 2011 08:47:46 +0100 python-psutil (0.3.0+r1123-1ubuntu1) precise; urgency=low * Merge with Debian unstable. Remaining Ubuntu changes: - Switch to dh_python2. (LP: #788514) -- Barry Warsaw Fri, 21 Oct 2011 18:08:54 -0400 python-psutil (0.3.0+r1123-1) unstable; urgency=low * New upstream SVN snapshot -- Sandro Tosi Tue, 20 Sep 2011 21:56:58 +0200 python-psutil (0.3.0+r1112-1) unstable; urgency=low * New upstream SVN snapshot * debian/rules - add 'get-orig-source' target -- Sandro Tosi Mon, 29 Aug 2011 00:47:18 +0200 python-psutil (0.3.0-2) unstable; urgency=low * debian/rules - ignore (for now) tests error, so we can collect all of them * debian/source/format - switch to 3.0 (quilt) source format -- Sandro Tosi Sun, 28 Aug 2011 17:55:06 +0200 python-psutil (0.3.0-1) unstable; urgency=low * New upstream release * debian/control - bump Standards-Version to 3.9.2 (no changes needed) -- Sandro Tosi Wed, 03 Aug 2011 17:29:35 +0200 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 debian/control0000664000000000000000000000325212262546075010606 0ustar 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, python3-all-dev, dh-python, procps Standards-Version: 3.9.5 XS-Python-Version: all X-Python3-Version: >= 3.2 Homepage: http://code.google.com/p/psutil/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-psutil/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/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. Package: python3-psutil Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} Description: module providing convenience functions for managing processes (Python3) 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. . This package contains the Python 3 version of psutil. debian/rules0000775000000000000000000000431512262546116010260 0ustar #!/usr/bin/make -f PY2VERS := $(shell pyversions -s) PY3VERS := $(shell py3versions -s) export CFLAGS = $(shell dpkg-buildflags --get CFLAGS) export CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) export LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) %: dh $@ --with python2,python3 override_dh_auto_install: set -e ; \ for python in $(PY2VERS); do \ $$python setup.py install --install-layout=deb --root $(CURDIR)/debian/python-psutil; \ done set -e ; \ for python in $(PY3VERS); do \ $$python setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-psutil; \ done override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) # run tests -for test in test_memory_leaks.py test_psutil.py ;\ do \ for python in $(PY2VERS) ; 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 ; \ for python in $(PY3VERS) ; 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 endif override_dh_installchangelogs: dh_installchangelogs HISTORY override_dh_installdocs: dh_installdocs -X.DS_Store override_dh_compress: dh_compress -X.py PACKAGE = python-psutil SRC_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/^Version: \(.*\)-.*/\1/') SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | sed 's/svn//' ) TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz .PHONY: get-orig-source get-orig-source: rm -rf get-orig-source $(TARBALL) mkdir get-orig-source svn export -r $(SVN_REVISION) http://psutil.googlecode.com/svn/trunk get-orig-source/$(PACKAGE)-$(SRC_VERSION) tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION) rm -rf get-orig-source echo " "$(TARBALL)" created; move it to the right destination to build the package" debian/watch0000664000000000000000000000011712226245053010221 0ustar version=3 https://pypi.python.org/packages/source/p/psutil/psutil-(.*)\.tar.gz debian/compat0000664000000000000000000000000211201125561010360 0ustar 7