[DRE-commits] [gem2deb] 04/04: dh-make-ruby: avoid tests depending on @builddeps@
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Aug 24 14:22:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch autopkgtest
in repository gem2deb.
commit 59cdb86a52d7a886cbc6535c944b678a5ebb54be
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun Aug 24 11:17:06 2014 -0300
dh-make-ruby: avoid tests depending on @builddeps@
@builddeps@ will contain gem2deb ~100% of the time, and we don't want to
pull in that many dependencies when running the tests (this is the
reason gem2deb-test-runner was split in its own package in the first
place).
To alleviate the situation and try to get tests that work out of the box
most of the time, make gem2deb-test-runner depend on packages usually
used for test suites: ruby-rspec, ruby-test-unit, and rake.
---
debian/control | 2 +-
lib/gem2deb/dh_make_ruby/template/debian/tests/control | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index 342bfa7..356cebe 100644
--- a/debian/control
+++ b/debian/control
@@ -41,7 +41,7 @@ Description: Debian Ruby packaging suite
Package: gem2deb-test-runner
Architecture: all
-Depends: ruby | ruby-interpreter, ${shlibs:Depends}, ${misc:Depends}
+Depends: ruby | ruby-interpreter, ruby-rspec, ruby-test-unit, rake, ${shlibs:Depends}, ${misc:Depends}
Description: Debian Ruby packaging suite - tool to run tests
gem2deb is a set of tools to create Debian package from ruby software
distributed with Rubygems.
diff --git a/lib/gem2deb/dh_make_ruby/template/debian/tests/control b/lib/gem2deb/dh_make_ruby/template/debian/tests/control
index 9413bf4..db8b064 100644
--- a/lib/gem2deb/dh_make_ruby/template/debian/tests/control
+++ b/lib/gem2deb/dh_make_ruby/template/debian/tests/control
@@ -1,5 +1,5 @@
Test-Command: gem2deb-test-runner --autopkgtest 2>&1
-Depends: @, @builddeps@, gem2deb-test-runner
+Depends: @, gem2deb-test-runner
#FIXME: replace LIB by the name of the main file of the library
#Test-Command: ruby -r LIB -e "puts true"
--
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