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

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Aug 30 14:21:22 UTC 2015


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

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

commit 1620beff34bf83c39e7d10871f7ade42ebdcada1
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sun Aug 30 11:12:06 2015 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog       |  7 +++++++
 debian/compat          |  2 +-
 debian/control         |  7 ++++---
 debian/ruby-tests.rake | 15 ++++-----------
 debian/rules           | 13 ++-----------
 5 files changed, 18 insertions(+), 26 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0cca304..b878ee6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-cri (2.7.0-1.1) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Update packaging with a new dh-make-ruby run
+
+ -- Antonio Terceiro <terceiro at debian.org>  Sun, 30 Aug 2015 11:11:24 -0300
+
 ruby-cri (2.7.0-1) unstable; urgency=medium
 
   * Imported Upstream version 2.7.0
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 8f0afcf..6ed57ba 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,8 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Cédric Boutillier <boutil at debian.org>
 Build-Depends: asciidoctor,
-               debhelper (>= 7.0.50~),
-               gem2deb (>= 0.3.0~),
+               debhelper (>= 9~),
+               gem2deb,
                rake,
                ruby-colored (>= 1.2~),
                ruby-coveralls,
@@ -14,8 +14,9 @@ Build-Depends: asciidoctor,
                yard
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-cri.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-cri.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-cri.git
 Homepage: http://stoneship.org/software/cri/
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-cri
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index dd67c0f..63f3fd6 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,13 +1,6 @@
-# encoing: utf-8
+require 'gem2deb/rake/testtask'
 
-require 'rake/testtask'
-
-task :test_unit do
-  require './test/helper.rb'
-
-  FileList['./test/**/test_*.rb', './test/**/*_spec.rb'].each do |fn|
-    require fn
-  end
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs = ['test']
+  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
 end
-
-task :default => :test_unit
diff --git a/debian/rules b/debian/rules
index bea1d3e..d916da4 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=ruby1.8 ruby1.9.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-cri.git



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