[DRE-commits] [gem2deb] 05/05: suggest checking dependencies during build and on DEP-8 tests
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun May 17 13:00:18 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 d68d589c8cb60524ed65110cf4551d88d92ed56d
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun May 17 09:53:42 2015 -0300
suggest checking dependencies during build and on DEP-8 tests
---
debian/changelog | 1 +
lib/gem2deb/dh_make_ruby/template/debian/rules | 3 +++
lib/gem2deb/dh_make_ruby/template/debian/tests/control.ex | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index fb9c1bd..4180ba8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ gem2deb (0.17) UNRELEASED; urgency=medium
- when acting on an existing source package, read the source package name
from debian/changelog.
- always create test suite files to make dh-make-ruby idempotent
+ - suggest checking dependencies during build and on DEP-8 tests
* gem2deb-test-runner:
- add -c/--check-dependencies to check for dependencies (as declared in
the Rubygems metadata, not as declared in debian/control) before running
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/rules b/lib/gem2deb/dh_make_ruby/template/debian/rules
index e1a043a..56c601e 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/rules
+++ b/lib/gem2deb/dh_make_ruby/template/debian/rules
@@ -10,6 +10,9 @@
#
# 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
%:
dh $@ --buildsystem=ruby --with ruby
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/tests/control.ex b/lib/gem2deb/dh_make_ruby/template/debian/tests/control.ex
index 429a392..d604201 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/tests/control.ex
+++ b/lib/gem2deb/dh_make_ruby/template/debian/tests/control.ex
@@ -5,7 +5,7 @@
# be assumed (with the exception of gem2deb being filtered out from
# @builddeps@):
-Test-Command: gem2deb-test-runner --autopkgtest 2>&1
+Test-Command: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
Depends: @, @builddeps@, gem2deb-test-runner
# if you would need to change something to the above, to that and rename this
--
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