[DRE-commits] [ruby-varia-model] 02/04: Update packaging using dh-make-ruby -w

zeha at debian.org zeha at debian.org
Thu Mar 3 17:54:23 UTC 2016


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

zeha pushed a commit to branch master
in repository ruby-varia-model.

commit 35279db0f59c8a0d84e9b1a06f879b5adfcd7128
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Thu Mar 3 18:47:00 2016 +0100

    Update packaging using dh-make-ruby -w
---
 debian/control         | 11 +++++++----
 debian/ruby-tests.rake |  7 ++-----
 debian/rules           | 13 ++-----------
 3 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/debian/control b/debian/control
index 5e07219..314bba7 100644
--- a/debian/control
+++ b/debian/control
@@ -4,17 +4,19 @@ 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~),
+               gem2deb,
                rake,
                ruby-buff-extensions (>= 1.0),
                ruby-buff-ruby-engine (>= 0.1),
+               ruby-hashie (<< 4.0.0),
                ruby-hashie (>= 2.0.2),
                ruby-rspec,
                spork
-Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-varia-model.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-varia-model.git
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-varia-model.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-varia-model.git
 Homepage: https://github.com/RiotGames/varia_model
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-varia-model
@@ -22,6 +24,7 @@ Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
          ruby-buff-extensions (>= 1.0),
+         ruby-hashie (<< 4.0.0),
          ruby-hashie (>= 2.0.2),
          ${misc:Depends},
          ${shlibs:Depends}
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index b48f805..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,8 +1,5 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec) do |spec|
+Gem2Deb::Rake::RSpecTask.new do |spec|
   spec.pattern = './spec/**/*_spec.rb'
 end
-
-task :default => :spec
-
diff --git a/debian/rules b/debian/rules
index d81794d..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=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-varia-model.git



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