[DRE-commits] [ruby-celluloid-io] 02/03: refresh packaging with dh-make-ruby -w

Cédric Boutillier boutil at moszumanska.debian.org
Thu Mar 3 17:35:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-celluloid-io.

commit d22a88947c39cbff34f3755f48ea6ad264392b94
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu Mar 3 18:29:47 2016 +0100

    refresh packaging with dh-make-ruby -w
---
 debian/control         | 15 ++++++++++-----
 debian/copyright       |  2 +-
 debian/ruby-tests.rake |  8 +++-----
 debian/rules           | 13 ++-----------
 4 files changed, 16 insertions(+), 22 deletions(-)

diff --git a/debian/control b/debian/control
index ec18b29..4b3c411 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,17 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Miguel Landaeta <nomadium at debian.org>
-Build-Depends: debhelper (>= 9~), gem2deb (>= 0.7.5~), rake, ruby-nio4r (>= 1.1.0),
- ruby-rspec, ruby-celluloid (>= 0.16.0-3)
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-celluloid-io.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-celluloid-io.git;a=summary
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-celluloid (>= 0.16.0-3),
+               ruby-nio4r (>= 1.1.0),
+               ruby-rspec
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-celluloid-io.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-celluloid-io.git
 Homepage: http://github.com/celluloid/celluloid-io
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-celluloid-io
diff --git a/debian/copyright b/debian/copyright
index cb76730..a828d32 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -6,7 +6,7 @@ Files: *
 Copyright: 2012 Tony Arcieri <bascule at gmail.com>
 License: Expat
 
-Files: lib/celluloid/io/stream.rb 
+Files: lib/celluloid/io/stream.rb
 Copyright: 2001 GOTOU YUUZOU <gotoyuzo at notwork.org>
 Comment:
  Partially adapted from Ruby's OpenSSL::Buffering
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,5 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern      = './spec/**/*_spec.rb'
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
 end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index 3278269..053915b 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=ruby2.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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-celluloid-io.git



More information about the Pkg-ruby-extras-commits mailing list