[DRE-commits] [ruby-rack-flash3] 04/06: Refresh packaging with a `dh-make-ruby -w` run
Antonio Terceiro
terceiro at moszumanska.debian.org
Tue Aug 9 12:08:59 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 ff3a622a16e333cc98dac0e6b4ac15c2ca0f97ca
Author: Antonio Terceiro <terceiro at debian.org>
Date: Tue Aug 9 08:59:37 2016 -0300
Refresh packaging with a `dh-make-ruby -w` run
---
debian/changelog | 3 ++-
debian/control | 4 +++-
debian/ruby-tests.rake | 12 ++++--------
debian/rules | 13 ++-----------
4 files changed, 11 insertions(+), 21 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8a60bdb..f2fc346 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,7 +4,6 @@ ruby-rack-flash3 (1.0.5-1) UNRELEASED; urgency=medium
* Bump debhelper compatibility level to 9
* Remove version in the gem2deb build-dependency
* Use https:// in Vcs-* fields
- * Bump Standards-Version to 3.9.7 (no changes needed)
* Run wrap-and-sort on packaging files
[ Ben Armstrong ]
@@ -12,6 +11,8 @@ ruby-rack-flash3 (1.0.5-1) UNRELEASED; urgency=medium
[ Antonio Terceiro ]
* New upstream release
+ * Build with newer gem2deb enables Rubygems integration (Closes: #830924)
+ * Refresh packaging with a `dh-make-ruby -w` run
-- Antonio Terceiro <terceiro at debian.org> Tue, 09 Aug 2016 08:56:11 -0300
diff --git a/debian/control b/debian/control
index c8a1354..67f58bc 100644
--- a/debian/control
+++ b/debian/control
@@ -2,16 +2,18 @@ Source: ruby-rack-flash3
Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Antonio Terceiro <terceiro at debian.org>
Build-Depends: debhelper (>= 9~),
gem2deb,
rake,
ruby-bacon,
ruby-rack-test,
ruby-sinatra
-Standards-Version: 3.9.7
+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
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