[DRE-commits] [ruby-em-socksify] 01/05: Update packaging with a new `dh-make-ruby -w` run
Sebastien Badia
sbadia-guest at moszumanska.debian.org
Sat Sep 3 15:45:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
sbadia-guest pushed a commit to branch master
in repository ruby-em-socksify.
commit ab89b263b4f98de6180fae70a855e215185c5b69
Author: Sebastien Badia <seb at sebian.fr>
Date: Sat Sep 3 17:23:23 2016 +0200
Update packaging with a new `dh-make-ruby -w` run
---
debian/control | 3 ++-
debian/ruby-tests.rake | 6 +++---
debian/rules | 13 ++-----------
3 files changed, 7 insertions(+), 15 deletions(-)
diff --git a/debian/control b/debian/control
index 3c1639e..b61b09e 100644
--- a/debian/control
+++ b/debian/control
@@ -11,10 +11,11 @@ Build-Depends: debhelper (>= 9~),
rake,
ruby-eventmachine (>=1.0.3-4~),
ruby-rspec
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-em-socksify.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-em-socksify.git
Homepage: http://github.com/igrigorik/em-socksify
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-em-socksify
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..57c69cd 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,7 @@
-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 b2e983f..237e0d3 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-em-socksify.git
More information about the Pkg-ruby-extras-commits
mailing list