[DRE-commits] [ruby-rack-mount] 01/01: update packaging

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Jul 15 14:59:07 UTC 2015


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

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

commit bd4cf8b4762b321383e42b939491dc31a90524ff
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Jul 15 11:46:45 2015 -0300

    update packaging
---
 debian/control         | 19 ++++++++++++++-----
 debian/ruby-tests.rake | 11 ++++-------
 debian/rules           | 13 ++-----------
 3 files changed, 20 insertions(+), 23 deletions(-)

diff --git a/debian/control b/debian/control
index a4c93e4..0f8135a 100644
--- a/debian/control
+++ b/debian/control
@@ -2,19 +2,28 @@ Source: ruby-rack-mount
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Cédric Boutillier <boutil at debian.org>, Hleb Valoshka <375gnu at gmail.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), ruby-rack, ruby-multimap
+Uploaders: Cédric Boutillier <boutil at debian.org>,
+           Hleb Valoshka <375gnu at gmail.com>,
+           Antonio Terceiro <terceiro at debian.org>
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               rake,
+               ruby-rack (>= 1.0.0),
+               ruby-multimap,
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rack-mount.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-rack-mount.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rack-mount.git
 Homepage: https://github.com/josh/rack-mount
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-rack-mount
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack, ruby-multimap
-# rack (>= 1.0.0), racc (>= 0, development), rake (>= 0, development), rexical (>= 0, development)
+Depends: ruby | ruby-interpreter,
+         ruby-rack (>= 1.0.0),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: Stackable dynamic tree based Rack router
  Rack::Mount supports Rack's "X-Cascade" convention to continue trying routes
  if the response returns "pass". This allows multiple routes to be nested or
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 048329e..63f3fd6 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,9 +1,6 @@
-require 'rake/testtask'
+require 'gem2deb/rake/testtask'
 
-
-Rake::TestTask.new do |t|
-  t.libs << 'test'
-  t.warning = true
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs = ['test']
+  t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb']
 end
-
-task :default => :test
diff --git a/debian/rules b/debian/rules
index d81794d..3454d59 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=ruby2.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-rack-mount.git



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