[DRE-commits] [ruby-raindrops] 01/04: Refresh packaging with new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Feb 22 17:49:46 UTC 2016


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

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

commit 392499cdcf5fbafcd1a54a19deb2a83bdf89f0e8
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Feb 22 14:16:08 2016 -0300

    Refresh packaging with new dh-make-ruby run
---
 debian/changelog            |  7 +++++++
 debian/compat               |  2 +-
 debian/control              | 25 ++++++++++++++++---------
 debian/ruby-test-files.yaml | 17 -----------------
 debian/ruby-tests.rake      |  6 ++++++
 debian/rules                | 13 ++-----------
 6 files changed, 32 insertions(+), 38 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9533088..c95e0da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-raindrops (0.15.0-1.1) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Refresh packaging with new dh-make-ruby run
+
+ -- Antonio Terceiro <terceiro at debian.org>  Mon, 22 Feb 2016 14:15:44 -0300
+
 ruby-raindrops (0.15.0-1) unstable; urgency=medium
 
   * Team upload.
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 03f5b39..a62d738 100644
--- a/debian/control
+++ b/debian/control
@@ -3,21 +3,28 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Hleb Valoshka <375gnu at gmail.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5.0~), ruby-aggregate, ruby-rack | unicorn, ruby-test-unit
+Build-Depends: debhelper (>= 9~),
+               gem2deb,
+               rake,
+               ruby-aggregate,
+               ruby-rack | unicorn,,
+               ruby-test-unit,
 Standards-Version: 3.9.6
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-raindrops.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-raindrops.git;a=summary
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-raindrops.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-raindrops.git
 Homepage: http://raindrops.bogomips.org/
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-raindrops
 Architecture: linux-any kfreebsd-any
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: Real-time stats for preforking Rack servers
  Raindrops is a real-time stats toolkit to show statistics for Rack HTTP
- servers.  It is designed for preforking servers such as Rainbows! and
- Unicorn, but should support any Rack HTTP server under Ruby 1.9, 1.8 and
- Rubinius on platforms supporting POSIX shared memory.  It may also be
- used as a generic scoreboard for sharing atomic counters across multiple
- processes.
+ servers.  It is designed for preforking servers such as unicorn, but
+ should support any Rack HTTP server on platforms supporting POSIX shared
+ memory.  It may also be used as a generic scoreboard for sharing atomic
+ counters across multiple processes.
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 9e3ddda..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
---- 
-- test/test_aggregate_pmq.rb
-#- test/test_inet_diag_socket.rb
-- test/test_last_data_recv_unicorn.rb
-- test/test_linux.rb
-#- test/test_linux_all_tcp_listen_stats.rb
-- test/test_linux_all_tcp_listen_stats_leak.rb
-#- test/test_linux_ipv6.rb
-- test/test_linux_middleware.rb
-- test/test_linux_tcp_info.rb
-- test/test_middleware.rb
-- test/test_middleware_unicorn.rb
-- test/test_middleware_unicorn_ipv6.rb
-- test/test_raindrops.rb
-- test/test_raindrops_gc.rb
-- test/test_struct.rb
-#- test/test_watcher.rb
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/ruby-raindrops.git



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