[DRE-commits] [ruby-escape] 02/04: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Mar 23 14:10:12 UTC 2016


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

terceiro pushed a commit to branch master
in repository ruby-escape.

commit f0ac6f8e9a6358564d71cbaa2e3701d4d90ca577
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Mar 23 11:03:23 2016 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog       |  1 +
 debian/control         |  5 +++--
 debian/ruby-tests.rake |  6 ++++++
 debian/ruby-tests.rb   |  1 -
 debian/rules           | 12 ++----------
 5 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e56c933..4753362 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ruby-escape (0.2-5) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Update packaging with a new dh-make-ruby run
 
  -- Antonio Terceiro <terceiro at debian.org>  Wed, 23 Mar 2016 10:59:36 -0300
 
diff --git a/debian/control b/debian/control
index f5a2b0d..d7c9a48 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,9 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: NIIBE Yutaka <gniibe at fsij.org>,
            Jonas Genannt <genannt at debian.org>
-Build-Depends: debhelper (>= 9),
-               gem2deb
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-escape.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-escape.git
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..1224e2e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs = ['test']
+  t.test_files = FileList['test/**/test*.rb']
+end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 0586f91..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-require 'test/test-escape.rb'
diff --git a/debian/rules b/debian/rules
index a244ced..9e40c0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,7 @@
 #!/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=debian/escape.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-escape.git



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