[DRE-commits] [gem2deb] 01/01: dh-make-ruby: set GEM2DEB_TEST_RUNNER = --check-dependencies by default
Antonio Terceiro
terceiro at moszumanska.debian.org
Tue Oct 20 16:45:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository gem2deb.
commit 3939d123988b001f4b57b2ad2a0473d7c9f78962
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Oct 20 14:45:05 2015 -0200
dh-make-ruby: set GEM2DEB_TEST_RUNNER = --check-dependencies by default
---
debian/changelog | 2 ++
lib/gem2deb/dh_make_ruby/template/debian/rules | 18 ++++--------------
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 104c67b..289fcc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ gem2deb (0.21.2) UNRELEASED; urgency=medium
* dh-make-ruby:
- handle the case where apt-file exits successfully but still does not
find anything (Closes: #800108)
+ - cleanup template debian/rules, and make it set
+ `GEM2DEB_TEST_RUNNER = --check-dependencies` by default
-- Pirate Praveen <praveen at debian.org> Fri, 04 Sep 2015 12:34:00 +0530
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/rules b/lib/gem2deb/dh_make_ruby/template/debian/rules
index 56c601e..9dfbed9 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/rules
+++ b/lib/gem2deb/dh_make_ruby/template/debian/rules
@@ -1,18 +1,8 @@
#!/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=<%= Gem2Deb::SUPPORTED_RUBY_VERSIONS.keys.join(' ') %>
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
-#
-# Uncomment to check dependencies during build:
-# export GEM2DEB_TEST_RUNNER = --check-dependencies
+
+<% if (@gem_name != 'simplegem') %>
+export GEM2DEB_TEST_RUNNER = --check-dependencies
+<% end %>
%:
dh $@ --buildsystem=ruby --with ruby
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list