[DRE-commits] [stompserver] 01/04: Update packaging with a new wrap-and-sort --wrap-always run

Sebastien Badia sbadia-guest at moszumanska.debian.org
Sat Sep 3 16:13:44 UTC 2016


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

sbadia-guest pushed a commit to branch master
in repository stompserver.

commit b2ae031fa8032944f0a399abee89dfddc7dd0e90
Author: Sebastien Badia <seb at sebian.fr>
Date:   Sat Sep 3 17:53:00 2016 +0200

    Update packaging with a new wrap-and-sort --wrap-always run
---
 debian/control         | 14 ++++++++++----
 debian/ruby-tests.rake |  6 ++++++
 debian/rules           | 13 ++-----------
 3 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/debian/control b/debian/control
index 4e4382b..2744953 100644
--- a/debian/control
+++ b/debian/control
@@ -6,11 +6,16 @@ Uploaders: Bryan McLellan <btm at loftninjas.org>,
            Joshua Timberman <joshua at opscode.com>,
            Paul van Tilburg <paulvt at debian.org>
 Build-Depends: debhelper (>= 9~),
-               gem2deb
-Standards-Version: 3.9.7
+               gem2deb,
+               rake,
+               ruby-daemons (>= 1.0.2),
+               ruby-eventmachine (>= 0.7.2),
+               ruby-hoe (>= 1.1.1)
+Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/stompserver.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/stompserver.git
 Homepage: http://stompserver.rubyforge.org/
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: stompserver
@@ -18,8 +23,9 @@ Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: adduser,
          ruby | ruby-interpreter,
-         ruby-daemons,
-         ruby-eventmachine,
+         ruby-daemons (>= 1.0.2),
+         ruby-eventmachine (>= 0.7.2),
+         ruby-hoe (>= 1.1.1),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: stomp messaging server implemented in Ruby
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..63f3fd6
--- /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'] + FileList['test/**/test_*.rb']
+end
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/stompserver.git



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