--- pystatgrab-0.5.orig/debian/changelog +++ pystatgrab-0.5/debian/changelog @@ -0,0 +1,60 @@ +pystatgrab (0.5-0ubuntu3) precise; urgency=low + + * Rebuild to drop python2.6 dependencies and provides. + + -- Matthias Klose Sat, 14 Apr 2012 13:43:57 +0000 + +pystatgrab (0.5-0ubuntu2) natty; urgency=low + + * Rebuild to add support for python 2.7. + + -- Matthias Klose Fri, 03 Dec 2010 00:09:17 +0000 + +pystatgrab (0.5-0ubuntu1) natty; urgency=low + + * New upstream release + + Fixes a potential crash when calling sg_get_process_stats() + * Added debian/watch file + + -- Ara Pulido Thu, 21 Oct 2010 09:21:50 +0200 + +pystatgrab (0.4-1.1ubuntu1) jaunty; urgency=low + + * Python 2.6 transition: added --install-layout=deb to debian/rules + (LP: #340681) + + -- Toader Cristian-Matei Tue, 10 Mar 2009 16:06:22 +0200 + +pystatgrab (0.4-1.1build1) edgy; urgency=low + + * Rebuild to add support for python2.5. + + -- Matthias Klose Fri, 8 Sep 2006 18:26:51 +0000 + +pystatgrab (0.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Update package to last python policy (Closes: #373506). + + -- Pierre Habouzit Sun, 2 Jul 2006 00:58:32 +0200 + +pystatgrab (0.4-1) unstable; urgency=low + + * New upstream release. + * Bumped Standards-Version to 3.6.2. (no changes needed) + + -- Bartosz Fenski Tue, 23 Aug 2005 14:24:37 +0200 + +pystatgrab (0.3-2) unstable; urgency=low + + * Name of binary package has been changed to be compliant with + Debian Python Policy. (Closes: #306947) + + -- Bartosz Fenski Sat, 30 Apr 2005 14:28:12 +0200 + +pystatgrab (0.3-1) unstable; urgency=low + + * Initial Release. (Closes: #305985) + + -- Bartosz Fenski Sat, 23 Apr 2005 00:28:13 +0200 + --- pystatgrab-0.5.orig/debian/rules +++ pystatgrab-0.5/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# pystatgrab + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +PYVERS:=$(shell pyversions -r) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + set -e; \ + for py in $(PYVERS); do \ + $$py setup.py build; done + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -for py in $(PYVERS); do \ + $$py setup.py clean --all; done + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + set -e; \ + for py in $(PYVERS); do \ + $$py setup.py install --root=debian/python-statgrab --install-layout=deb; \ + done + dh_install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_pysupport + dh_python + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- pystatgrab-0.5.orig/debian/control +++ pystatgrab-0.5/debian/control @@ -0,0 +1,24 @@ +Source: pystatgrab +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Bartosz Fenski +Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), + python-support (>= 0.3), pkg-config, libstatgrab-dev (>= 0.12-1) +Standards-Version: 3.7.2 +XS-Python-Version: all + +Package: python-statgrab +Architecture: any +Conflicts: pystatgrab +Replaces: pystatgrab +Depends: ${shlibs:Depends}, ${python:Depends} +Provides: ${python:Provides} +Description: interface to the libstatgrab library for Python + python-statgrab contains Python bindings for libstatgrab library. + . + libstatgrab is a library which provides an easy to use interface + for accessing system statistics. Available statistics include CPU, + Load, Memory, Swap, Disk I/O, and Network I/O. + . + Homepage: http://www.i-scream.org/pystatgrab/ --- pystatgrab-0.5.orig/debian/copyright +++ pystatgrab-0.5/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Bartosz Fenski on +Sat, 23 Apr 2005 00:42:21 +0200. + +It was downloaded from http://www.i-scream.org/pystatgrab/ + +Upstream Author: dev@i-scream.org + +Copyright: (c) 2004 i-scream + See also /usr/share/doc/pystatgrab/AUTHORS file. + +License: +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +On Debian systems, the complete text of the GNU General Public License +can be found in the file `/usr/share/common-licenses/GPL'. + + --- pystatgrab-0.5.orig/debian/pycompat +++ pystatgrab-0.5/debian/pycompat @@ -0,0 +1 @@ +2 --- pystatgrab-0.5.orig/debian/watch +++ pystatgrab-0.5/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://ftp.i-scream.org/pub/i-scream/pystatgrab/pystatgrab-(.*)\.tar\.gz \ + debian uupdate --- pystatgrab-0.5.orig/debian/compat +++ pystatgrab-0.5/debian/compat @@ -0,0 +1 @@ +4 --- pystatgrab-0.5.orig/debian/docs +++ pystatgrab-0.5/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +AUTHORS