[DRE-commits] [ruby-gruff] 03/08: Update packaging with a new dh-make-ruby run
Antonio Terceiro
terceiro at moszumanska.debian.org
Thu Feb 18 13:13:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-gruff.
commit 5b56723de5c4f59c2e12d70f9fef76af367f54dd
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Feb 18 10:48:06 2016 -0200
Update packaging with a new dh-make-ruby run
---
debian/changelog | 1 +
debian/compat | 2 +-
debian/control | 20 ++++++++++++++------
debian/patches/drop_require_rubygems | 34 ----------------------------------
debian/patches/series | 1 -
debian/ruby-test-files.yaml | 21 ---------------------
debian/ruby-tests.rake | 6 ++++++
debian/rules | 13 ++-----------
debian/source/lintian-overrides | 2 --
9 files changed, 24 insertions(+), 76 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index cc2d2da..9e94cf4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ruby-gruff (0.6.0-1) UNRELEASED; urgency=medium
* New upstream release
+ * Update packaging with a new dh-make-ruby run
-- Antonio Terceiro <terceiro at debian.org> Thu, 18 Feb 2016 10:45:47 -0200
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 061e3e0..9ff999a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,25 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Gunnar Wolf <gwolf at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.6~), ruby-rmagick (>= 2.13.2-1), ghostscript
-Standards-Version: 3.9.4
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-gruff.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-gruff.git;a=summary
-Homepage: http://nubyonrails.com/pages/gruff
+Build-Depends: debhelper (>= 9~),
+ gem2deb,
+ ghostscript,
+ rake,
+ ruby-rmagick (>= 2.13.4),
+Standards-Version: 3.9.6
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-gruff.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-gruff.git
+Homepage: https://github.com/topfunky/gruff
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-gruff
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rmagick (>= 2.13.2-1)
+Depends: ruby | ruby-interpreter,
+ ruby-rmagick (>= 2.13.4),
+ ${misc:Depends},
+ ${shlibs:Depends}
Description: Ruby library to create beautiful graphs for one or multiple datasets
This Ruby library can generate beautiful graphs for one or multiple datasets
to be included in websites or in documents. The library can be used alone or
diff --git a/debian/patches/drop_require_rubygems b/debian/patches/drop_require_rubygems
deleted file mode 100644
index 4e702ac..0000000
--- a/debian/patches/drop_require_rubygems
+++ /dev/null
@@ -1,34 +0,0 @@
-Description: Drop require "rubygems" statements
-Origin: vendor
-Forwarded: not-needed
-
-Index: ruby-gruff/lib/gruff/base.rb
-===================================================================
---- ruby-gruff.orig/lib/gruff/base.rb 2013-09-30 17:17:41.000000000 -0500
-+++ ruby-gruff/lib/gruff/base.rb 2013-09-30 17:17:41.000000000 -0500
-@@ -1,4 +1,3 @@
--require 'rubygems'
- require 'RMagick'
- require 'bigdecimal'
-
-Index: ruby-gruff/Rakefile
-===================================================================
---- ruby-gruff.orig/Rakefile 2013-09-30 17:17:41.000000000 -0500
-+++ ruby-gruff/Rakefile 2013-09-30 17:18:28.000000000 -0500
-@@ -1,5 +1,5 @@
--require 'rubygems'
--require 'bundler/gem_tasks'
-+#require 'rubygems'
-+#require 'bundler/gem_tasks'
- require 'rake/testtask'
- require 'rake/clean'
-
-@@ -74,7 +74,7 @@
- task :stats do
- require 'time'
- require 'date'
-- require 'rubygems'
-+# require 'rubygems'
- require 'uri'
- require 'net/http'
- require 'net/https'
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 16f1703..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-drop_require_rubygems
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 467dde3..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
----
-- test/test_accumulator_bar.rb
-- test/test_area.rb
-- test/test_bar.rb
-- test/test_base.rb
-- test/test_bullet.rb
-- test/test_dot.rb
-- test/test_legend.rb
-- test/test_line.rb
-- test/test_mini_bar.rb
-- test/test_mini_pie.rb
-- test/test_mini_side_bar.rb
-- test/test_net.rb
-- test/test_photo.rb
-- test/test_pie.rb
-- test/test_scene.rb
-- test/test_side_bar.rb
-- test/test_sidestacked_bar.rb
-- test/test_spider.rb
-- test/test_stacked_area.rb
-- test/test_stacked_bar.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..63f3fd6
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+ t.libs = ['test']
+ t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
+end
diff --git a/debian/rules b/debian/rules
index a5e7dc8..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
#!/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
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
%:
dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
deleted file mode 100644
index 540d9c2..0000000
--- a/debian/source/lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-ruby-gruff source: duplicate-long-description libgruff-ruby libgruff-ruby-doc libgruff-ruby1.8
-ruby-gruff source: duplicate-short-description libgruff-ruby libgruff-ruby-doc libgruff-ruby1.8
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gruff.git
More information about the Pkg-ruby-extras-commits
mailing list