[DRE-commits] [ruby-coercible] 02/05: refresh packaging

Cédric Boutillier boutil at moszumanska.debian.org
Wed Aug 12 15:09:20 UTC 2015


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

boutil pushed a commit to branch master
in repository ruby-coercible.

commit 1a94c0142906367ba004f47f1e8ff655845f1740
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Aug 12 16:59:09 2015 +0200

    refresh packaging
---
 debian/control         | 16 ++++++++++++----
 debian/ruby-tests.rake |  8 ++++----
 debian/rules           |  5 ++++-
 3 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/debian/control b/debian/control
index 9f9320e..49f6f86 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,25 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Cédric Boutillier <boutil at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~), ruby-rspec, ruby-descendants-tracker (>= 0.0.1~)
-Standards-Version: 3.9.5
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               rake,
+               ruby-descendants-tracker (>= 0.0.1),
+               ruby-rspec
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-coercible.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-coercible.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-coercible.git
 Homepage: https://github.com/solnic/coercible
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-coercible
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-descendants-tracker (>= 0.0.1~)
+Depends: ruby | ruby-interpreter,
+         ruby-descendants-tracker (>= 0.0.1),
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: powerful, flexible and configurable coercion library
  The Coercible Ruby library gives you access to coercer objects where each
  object is responsible for coercing only one type into other types.
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 70a846d..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,5 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec)
-
-task :default => :spec
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
index d5baf24..3f7cf90 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,13 @@
 #
 # Uncomment to ignore some test failures (but the tests will run anyway).
 # Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby1.9.1 ruby2.0 require-rubygems
+#export DH_RUBY_IGNORE_TESTS=ruby2.1 ruby2.2
 #
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec
+#
+# Uncomment to check dependencies during build:
+# 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-coercible.git



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