[DRE-commits] [ruby-listen] 06/12: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Aug 8 13:00:53 UTC 2015


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

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

commit c3bbc2cec9c84bcccabb7fbc6dacf525e5b0622a
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Fri Aug 7 18:04:29 2015 -0300

    Update packaging with a new dh-make-ruby run
---
 debian/changelog            |  1 +
 debian/control              | 22 +++++++++++++---------
 debian/ruby-tests.rake      |  8 +++-----
 debian/rules                | 14 ++------------
 debian/source/local-options |  1 -
 5 files changed, 19 insertions(+), 27 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6edb3b4..ef6c3fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ ruby-listen (3.0.3-1) UNRELEASED; urgency=medium
     rubygems
   * debian/patches: remove all tests, none of them applies anymore
   * Add debian/patches/0001-Remove-OSX-specific-dependency.patch
+  * Update packaging with a new dh-make-ruby run
 
  -- Antonio Terceiro <terceiro at debian.org>  Fri, 07 Aug 2015 17:46:48 -0300
 
diff --git a/debian/control b/debian/control
index 48a57d0..d8e606b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,22 +3,26 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Markus Tornow <tornow at riseup.net>, Cédric Boutillier <boutil at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~),
- rake,
- ruby-rspec,
- ruby-rspec-retry,
- ruby-celluloid (>= 0.15.2~),
- ruby-rb-inotify (>= 0.9~)
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               rake,
+               ruby-rb-inotify (>= 0.9),
+               ruby-rspec
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-listen.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-listen.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-listen.git
 Homepage: https://github.com/guard/listen
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-listen
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-celluloid
+Depends: ruby | ruby-interpreter,
+         ruby-rb-fsevent (>= 0.9.3),
+         ruby-rb-inotify (>= 0.9),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Recommends: ruby-rb-inotify (>= 0.9~)
 Description: Ruby library listening to file modifications
  This Ruby library listens to file modifications and notifies you about the
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,5 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern      = './spec/**/*_spec.rb'
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
 end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index a286f8a..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +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
-
diff --git a/debian/source/local-options b/debian/source/local-options
deleted file mode 100644
index 4aceb10..0000000
--- a/debian/source/local-options
+++ /dev/null
@@ -1 +0,0 @@
-unapply-patches

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-listen.git



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