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

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Jul 15 18:29:51 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-accept.

commit c843f86d22f4ab7da6b0bdda4e7725a4edd26524
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Jul 15 15:28:18 2015 -0300

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

diff --git a/debian/changelog b/debian/changelog
index 7bdee9d..0ec1e6b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-rack-accept (0.4.5-2) experimental; urgency=medium
+
+  * Team upload
+  * Update packaging with a new dh-make-ruby run
+
+ -- Antonio Terceiro <terceiro at debian.org>  Wed, 15 Jul 2015 15:28:27 -0300
+
 ruby-rack-accept (0.4.5-2~exp1) experimental; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 732d2be..37021ea 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,23 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Nitesh A Jain <niteshjain92 at gmail.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rack, ruby-test-unit
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               ruby-rack (>= 0.4)
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rack-accept.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rack-accept.git
-Homepage: https://github.com/mjijackson/rack-accept
+Homepage: http://mjijackson.github.com/rack-accept
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-rack-accept
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack (>= 0.4)
+Depends: ruby | ruby-interpreter,
+         ruby-rack (>= 0.4),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: suite of tools for interpreting HTTP Accept family for Ruby/Rack 
  Rack-Accept is a suite of tools for Ruby/Rack applications 
  that eases the complexity of building and interpreting 
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..190834d
--- /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 a07f950..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-Dir['{spec,test}/**/*.rb'].each { |f| require f }
diff --git a/debian/rules b/debian/rules
index a5e7dc8..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=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-rack-accept.git



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