debian/0000755000000000000000000000000012211347103007160 5ustar debian/copyright0000644000000000000000000000363112205211067011120 0ustar This package was debianized by Andrea Corradi on Sat, 23 Aug 2008 19:49:03 +0200. It was downloaded from http://code.google.com/p/pyrrd/downloads/list Upstream Author: Duncan McGreggor Copyright: Copyright (c) 2004-2008, AdytumSolutions, Inc. 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 AdytumSolutions, Inc. 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 2008-2009, Andrea Corradi and is licensed under the BSD. debian/patches/0000755000000000000000000000000012211347103010607 5ustar debian/patches/backported_fix_for_fetch.diff0000644000000000000000000000274312211346352016457 0ustar Description: Fix the method RRD.fetch, broken in 0.1.0 Origin: upstream, http://bazaar.launchpad.net/~oubiwann/pyrrd/trunk/revision/158 Bug: https://code.google.com/p/pyrrd/issues/detail?id=26 Index: PyRRD-0.1.0/pyrrd/backend/external.py =================================================================== --- PyRRD-0.1.0.orig/pyrrd/backend/external.py 2011-09-18 23:02:21.000000000 +0200 +++ PyRRD-0.1.0/pyrrd/backend/external.py 2013-08-21 21:29:40.349397859 +0200 @@ -264,7 +264,7 @@ data += [unicode(x) for x in obj.rra] return (obj.filename, params + data) - if function == 'update': + elif function == 'update': validParams = ['template'] params = common.buildParameters(obj, validParams) FIRST_VALUE = 0 @@ -277,15 +277,15 @@ data = [data for data, nil in obj.values] return (obj.filename, params + data) - if function == 'fetch': + elif function == 'fetch': validParams = ['resolution', 'start', 'end'] params = common.buildParameters(obj, validParams) - return (obj.filename, obj.cf, params) + return (obj.filename, [obj.cf] + params) - if function == 'info': + elif function == 'info': return (obj.filename, obj) - if function == 'graph': + elif function == 'graph': validParams = ['start', 'end', 'step', 'title', 'vertical_label', 'width', 'height', 'only_graph', 'upper_limit', 'lower_limit', 'rigid', 'alt_autoscale', debian/patches/series0000644000000000000000000000003612205212504012022 0ustar backported_fix_for_fetch.diff debian/changelog0000644000000000000000000000247212205217775011055 0ustar pyrrd (0.1.0-2) unstable; urgency=low * Added myself to uploaders until Andrea has again time to maintain (by agreement with him). * Convert to format 3.0 (quilt) * Backport fix for RRD.fetch from upstream bzr revision 158 (git commit dcd78df45c52) (Closes: #691230) * Updated standard versions to 3.9.4 (no change needed). [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. -- Elena Grandi Wed, 21 Aug 2013 21:18:23 +0200 pyrrd (0.1.0-1) unstable; urgency=low * Team upload [ Andrea Corradi ] * New upstream release (Closes: #627538, #646427) * Update to policy 3.9.2 [ Bernd Zeimetz ] * Depend on python-rrdtool as PyRRD uses this now instead of executing rrdtool for everything. * Migrate to dh_python2 * Fix watch file -- Bernd Zeimetz Wed, 30 Nov 2011 10:46:12 +0100 pyrrd (0.0.7-1) unstable; urgency=low * New upstream release (Closes: #528743) * Update to policy 3.8.3 * Fix Debian copyright * Run test at build-time [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn -- Andrea Corradi Sat, 24 Oct 2009 17:09:40 +0200 pyrrd (0.0.3-1) unstable; urgency=low * Initial release (Closes: #496239) -- Andrea Corradi Sat, 23 Aug 2008 21:20:49 +0200 debian/compat0000644000000000000000000000000212205211067010360 0ustar 5 debian/control0000644000000000000000000000220312205217441010564 0ustar Source: pyrrd Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Andrea Corradi , Elena Grandi Build-Depends: debhelper (>= 5), python (>= 2.6.6-3~), python-setuptools Standards-Version: 3.9.4 Homepage: http://code.google.com/p/pyrrd/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pyrrd/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pyrrd/trunk/ Package: python-pyrrd Architecture: all Depends: ${misc:Depends}, ${python:Depends}, rrdtool, python-rrdtool Description: object-oriented Python interface for RRD PyRRD is a module that wraps RRDTool (round-robin database tool) to allow for the greatest possible programmatic ease in creating, updating, querying and graphing RRD data. The idea is to make RRDTool insanely easy to use and to be aesthetically pleasing for Python programmers. . It is different from python-rrdtool, which is more a simple way to use rrdtool as by command line, because python-pyrrd wraps options in objects that are more easy and comfortable to use. debian/watch0000644000000000000000000000015212205211067010211 0ustar version=3 http://code.google.com/p/pyrrd/downloads/list //pyrrd.googlecode.com/files/PyRRD-(.*)\.tar\.gz debian/rules0000755000000000000000000000244312205215001010235 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ORIGFILES = PyRRD.egg-info/SOURCES.txt build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build: build-stamp build-stamp: dh_testdir for f in $(ORIGFILES) ; do [ -e $$f.d-r-orig ] || cp -p $$f $$f.d-r-orig ; done python setup.py build touch $@ clean: dh_testdir dh_testroot [ ! -d build ] || rm -rf build python setup.py clean for f in $(ORIGFILES) ; do [ ! -e $$f.d-r-orig ] || mv $$f.d-r-orig $$f ; done dh_clean ez_setup.pyc build-stamp rm pyrrd/*.pyc rm pyrrd/util/*.pyc rm CHECK_THIS_BEFORE_UPLOAD.txt install: build dh_testdir dh_testroot dh_clean -k python setup.py install --single-version-externally-managed --root=$(CURDIR)/debian/python-pyrrd - PYTHONPATH=build/lib/ python test/test_all.py # Build architecture-dependent files here. binary-arch: build install # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs docs/HISTORY.txt dh_installdocs README docs/* dh_installexamples examples/* -Xpng dh_python2 dh_compress -X.py dh_fixperms dh_gencontrol dh_installdeb dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/source/0000755000000000000000000000000012211347103010460 5ustar debian/source/format0000644000000000000000000000001412205211474011672 0ustar 3.0 (quilt)