[DRE-commits] [ruby-rack-flash3] 02/07: Update packaging with a new `dh-make-ruby -w` run

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Aug 9 15:09:47 UTC 2016


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

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

commit 11f72ded37188026fda849cb99e0e5292fae2f3a
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Aug 9 11:26:08 2016 -0300

    Update packaging with a new `dh-make-ruby -w` run
---
 debian/changelog       |  8 ++++++++
 debian/compat          |  2 +-
 debian/control         | 19 ++++++++++++++-----
 debian/copyright       |  2 +-
 debian/ruby-tests.rake | 12 ++++--------
 debian/rules           | 13 ++-----------
 6 files changed, 30 insertions(+), 26 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ec8a847..de582e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-rack-flash3 (1.0.5-2) unstable; urgency=medium
+
+  * Team  upload.
+  * Rebuild with a newer gem2deb adds Rubygems integration (Closes: #830924)
+  * Update packaging with a new `dh-make-ruby -w` run
+
+ -- Antonio Terceiro <terceiro at debian.org>  Tue, 09 Aug 2016 11:24:14 -0300
+
 ruby-rack-flash3 (1.0.5-1) unstable; urgency=low
 
   * New upstream release.
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 86581ed..f78520e 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,26 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Ben Armstrong <synrg at sanctuary.nslug.ns.ca>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~), rake, ruby-rack-test, ruby-bacon, ruby-sinatra
-Standards-Version: 3.9.4
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rack-flash3.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-rack-flash3.git;a=summary
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-rack,
+               ruby-rack-test,
+               ruby-bacon,
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-rack-flash3.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rack-flash3.git
 Homepage: https://github.com/treeder/rack-flash
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-rack-flash3
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rack
+Depends: ruby | ruby-interpreter,
+         ruby-rack,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Suggests: ruby-sinatra
 Description: Flash hash for Ruby Rack applications
  Rack Flash is a simple flash hash implementation for Rack apps. This version
diff --git a/debian/copyright b/debian/copyright
index dde68ef..bb182a8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,6 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: rack-flash3
-Source: https://github.com/treeder/rack-flash 
+Source: https://github.com/treeder/rack-flash
 
 Files: *
 Copyright: 2013 Pat Nakajima <patnakajima at gmail.com>
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index f384e31..63f3fd6 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,10 +1,6 @@
-require 'rake'
-require 'rake/testtask'
+require 'gem2deb/rake/testtask'
 
-Rake::TestTask.new(:test) do |test|
-  test.libs << 'lib' << 'test'
-  test.pattern = 'test/**/test_*.rb'
-  test.verbose = 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 5ce1e4f..8a5f92e 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-flash3.git



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