debian/0000755000000000000000000000000012142217632007166 5ustar debian/clean0000644000000000000000000000002611776775454010220 0ustar examples/sin_wave.gif debian/ruby-test-files.yaml0000644000000000000000000000033411631150377013114 0ustar --- - examples/discrete_points.rb - examples/multiple_data_sets.rb - examples/output_image_file.rb - examples/sin_wave.rb - test/arrtest.rb - test/histtest.rb - test/multtest.rb - test/sinwave.rb - test/test_gnuplot.rb debian/watch0000644000000000000000000000014311631150377010221 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gnuplot .*/gnuplot-(.*).tar.gz debian/rules0000755000000000000000000000070111631150377010250 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby debian/source/0000755000000000000000000000000012142216412010461 5ustar debian/source/format0000644000000000000000000000001411631150377011700 0ustar 3.0 (quilt) debian/control0000644000000000000000000000163012142216365010573 0ustar Source: ruby-gnuplot Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Lucas Nussbaum , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), gnuplot Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-gnuplot.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-gnuplot.git;a=summary Homepage: https://github.com/rdp/ruby_gnuplot XS-Ruby-Versions: all Package: ruby-gnuplot Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, gnuplot Description: Ruby library to interact with gnuplot Gnuplot is a program that has a rich language for the generation of plots. Ruby Gnuplot implements a Domain-Specific Language (DSL) to control gnuplot from Ruby scripts. debian/ruby-gnuplot.examples0000644000000000000000000000001311631150377013373 0ustar examples/* debian/compat0000644000000000000000000000000211631150377010370 0ustar 7 debian/changelog0000644000000000000000000000514212142217632011042 0ustar ruby-gnuplot (2.6.2-1) unstable; urgency=low * New upstream version + the output can be now saved to an instance variable (Closes: #626984) * debian/control: + remove obsolete DM-Upload-Allowed flag + bump standards-version to 3.9.4 (no changes needed) + update my email address in Uploaders: field + drop obsolete transition packages libgnuplot-ruby* -- Cédric Boutillier Tue, 07 May 2013 17:28:05 +0200 ruby-gnuplot (2.4.1-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Cédric Boutillier Tue, 26 Jun 2012 10:11:42 +0200 ruby-gnuplot (2.4.1-1) unstable; urgency=low * New upstream version * Add myself to Uploaders: * Bump Standards-Version to 3.9.3 (no changes needed) * Update copyright to DEP-5 copyright-format/1.0 * Refresh fix-tests.patch * Clean examples/sine_wave.gif generated from tests * Override lintian warning about duplicate description of transitional packages * Set priority of transitional packages to extra * Replace Conflicts: by Breaks: for relation with transitional packages -- Cédric Boutillier Mon, 11 Jun 2012 00:09:08 +0200 ruby-gnuplot (2.3.6-1) unstable; urgency=low * Switch to gem2deb-based packaging. -- Lucas Nussbaum Sat, 04 Jun 2011 13:21:04 +0200 libgnuplot-ruby (2.2-5) unstable; urgency=low [ Arnaud Cornet ] * Use new Homepage dpkg header. [ Lucas Nussbaum ] * Added Vcs-Svn and Vcs-Browser. * fixed Vcs-*: point to dir containing debian/, not dir containing trunk/ * Upgraded to policy 3.7.3. No changes needed. -- Lucas Nussbaum Mon, 24 Dec 2007 16:41:41 +0100 libgnuplot-ruby (2.2-4) unstable; urgency=low * Stopped using the "Uploaders rule". -- Lucas Nussbaum Sun, 15 Apr 2007 00:22:57 +0200 libgnuplot-ruby (2.2-3) unstable; urgency=low * Upgraded to policy 3.7.2, no changes required. * Fixed require calls in examples. Closes: #398946. -- Lucas Nussbaum Thu, 16 Nov 2006 20:30:11 +0100 libgnuplot-ruby (2.2-2) unstable; urgency=low * Added debian/watch file. * Set Uploaders to RUBY_EXTRAS_TEAM and changed build-dep on ruby-pkg- tools to >= 0.8. * Set the Maintainer field to me. I will be mainly responsible for this package. -- Lucas Nussbaum Thu, 23 Mar 2006 11:22:02 +0100 libgnuplot-ruby (2.2-1) unstable; urgency=low * Initial release Closes: #348430 -- Lucas Nussbaum Mon, 16 Jan 2006 23:54:10 +0100 debian/ruby-gnuplot.docs0000644000000000000000000000001711631150377012511 0ustar README.textile debian/patches/0000755000000000000000000000000012142217464010620 5ustar debian/patches/series0000644000000000000000000000002011631150377012026 0ustar fix-tests.patch debian/patches/fix-tests.patch0000644000000000000000000000615211776775454013617 0ustar Description: Fix tests so that they can run non-interactively Author: Lucas Nussbaum Origin: vendor Forwarded: not-needed Last-Update: 2012-06-11 --- a/test/sinwave.rb +++ b/test/sinwave.rb @@ -1,4 +1,4 @@ -require '../lib/gnuplot' +require 'gnuplot' Gnuplot.open do |gp| Gnuplot::Plot.new( gp ) do |plot| @@ -7,6 +7,7 @@ plot.title "Sin Wave Example" plot.ylabel "x" plot.xlabel "sin(x)" + plot.set "terminal", "dumb" plot.data << Gnuplot::DataSet.new( "sin(x)" ) do |ds| ds.with = "lines" --- a/test/multtest.rb +++ b/test/multtest.rb @@ -1,4 +1,4 @@ -require '../lib/gnuplot' +require 'gnuplot' # File.open( "gnuplot.dat", "w") do |gp| Gnuplot.open do |gp| @@ -8,6 +8,7 @@ plot.title "Sin Wave Example" plot.ylabel "x" plot.xlabel "sin(x)" + plot.set "terminal", "dumb" x = (0..50).collect { |v| v.to_f } y = x.collect { |v| v ** 2 } --- a/test/arrtest.rb +++ b/test/arrtest.rb @@ -1,4 +1,4 @@ -require '../lib/gnuplot' +require 'gnuplot' Gnuplot.open do |gp| Gnuplot::Plot.new( gp ) do |plot| @@ -6,6 +6,7 @@ plot.title "Array Plot Example" plot.ylabel "x" plot.xlabel "x^2" + plot.set "terminal", "dumb" x = (0..50).collect { |v| v.to_f } y = x.collect { |v| v ** 2 } --- a/test/histtest.rb +++ b/test/histtest.rb @@ -1,4 +1,4 @@ -require '../lib/gnuplot' +require 'gnuplot' Gnuplot.open do |gp| gp << "bin(x, s) = s*int(x/s)\n" @@ -7,6 +7,7 @@ plot.title "Histogram" plot.xlabel "x" plot.ylabel "frequency" + plot.set "terminal", "dumb" x = (0..500).collect { |v| (rand()-0.5)**3 } plot.data << Gnuplot::DataSet.new( [x] ) do |ds| --- a/test/test_gnuplot.rb +++ b/test/test_gnuplot.rb @@ -1,6 +1,6 @@ # -*- ruby -*- -require '../lib/gnuplot' +require 'gnuplot' require 'test/unit' class StdDataTest < Test::Unit::TestCase --- a/examples/discrete_points.rb +++ b/examples/discrete_points.rb @@ -6,7 +6,8 @@ plot.title "Array Plot Example" plot.ylabel "x^2" plot.xlabel "x" - + plot.set "terminal", "dumb" + x = (0..50).collect { |v| v.to_f } y = x.collect { |v| v ** 2 } --- a/examples/multiple_data_sets.rb +++ b/examples/multiple_data_sets.rb @@ -7,6 +7,7 @@ plot.title "Sin Wave Example" plot.ylabel "sin(x)" plot.xlabel "x" + plot.set "terminal", "dumb" x = (0..50).collect { |v| v.to_f } y = x.collect { |v| v ** 2 } --- a/examples/sin_wave.rb +++ b/examples/sin_wave.rb @@ -7,6 +7,7 @@ plot.title "Sin Wave Example" plot.ylabel "sin(x)" plot.xlabel "x" + plot.terminal "dumb" plot.data << Gnuplot::DataSet.new( "sin(x)" ) do |ds| ds.with = "lines" @@ -15,4 +16,4 @@ end sleep 10 -end \ No newline at end of file +end --- a/examples/histogram.rb +++ b/examples/histogram.rb @@ -6,6 +6,7 @@ plot.title "Histogram example" plot.style "data histograms" plot.xtics "nomirror rotate by -45" + plot.terminal "dumb" titles = %w{decade Austria Hungary Belgium} data = [ @@ -29,4 +30,4 @@ end end -end \ No newline at end of file +end debian/copyright0000644000000000000000000000353112142217411011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ruby_gnuplot Source: https://github.com/rdp/ruby_gnuplot Files: * Copyright: Copyright (c) 2004-2005, Gordon James Miller (gmiller@bittwiddlers.com) License: BSD-3-clause Files: debian/* Copyright: Copyright 2011 Lucas Nussbaum License: BSD-3-clause License: BSD-3-clause 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 BitTwiddlers, 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.