[DRE-commits] [ruby-bogus] 05/07: update packaging with dh-make-ruby -w
Cédric Boutillier
boutil at moszumanska.debian.org
Sun Mar 13 20:42:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-bogus.
commit 4dd19b2ba9fc55a5fbdba1b2fb54fd058583e4f5
Author: Cédric Boutillier <boutil at debian.org>
Date: Sun Aug 9 23:41:18 2015 +0200
update packaging with dh-make-ruby -w
---
debian/control | 11 ++++++-----
debian/copyright | 2 +-
debian/ruby-tests.rake | 8 +++-----
debian/rules | 5 ++++-
4 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/debian/control b/debian/control
index 415864a..e6cb2e9 100644
--- a/debian/control
+++ b/debian/control
@@ -4,21 +4,22 @@ 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.7.5~),
- ruby-dependor,
+ gem2deb,
+ ruby-dependor (>= 0.0.4),
ruby-minitest,
ruby-rspec (>= 3~)
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-bogus.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-bogus.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-bogus.git
Homepage: https://github.com/psyho/bogus
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-bogus
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ruby | ruby-interpreter,
- ruby-dependor,
+ ruby-dependor (>= 0.0.4),
ruby-minitest,
${misc:Depends},
${shlibs:Depends}
diff --git a/debian/copyright b/debian/copyright
index c5e1477..aa86c7a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -7,7 +7,7 @@ Copyright: 2012-2013 Adam Pohorecki <adam at pohorecki.pl>
License: Expat
Files: debian/*
-Copyright: 2014 Cédric Boutillier <boutil at debian.org>
+Copyright: 2014-2015 Cédric Boutillier <boutil at debian.org>
License: Expat
Comment: the Debian packaging is licensed under the same terms as the original package.
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 4813377..2c39c42 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,9 +1,7 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
-RSpec::Core::RakeTask.new(:spec) do |t|
- t.pattern = FileList.new('spec/**/*_spec.rb') do |fl|
+Gem2Deb::Rake::RSpecTask.new do |spec|
+ spec.pattern = FileList.new('spec/**/*_spec.rb') do |fl|
fl.exclude 'spec/bogus/fakes/fake_ar_attributes_spec.rb'
end
end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
index 10f280a..3d5b7e2 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=ruby2.1 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-bogus.git
More information about the Pkg-ruby-extras-commits
mailing list