[DRE-commits] [ruby-origin] 02/04: Update packaging using dh-make-ruby -w
zeha at debian.org
zeha at debian.org
Wed Mar 2 20:01:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository ruby-origin.
commit 3c51cf7b68e5a4d967509aadb1836225eb2dbc92
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Wed Mar 2 20:56:50 2016 +0100
Update packaging using dh-make-ruby -w
---
debian/compat | 2 +-
debian/control | 12 +++++++-----
debian/ruby-origin.docs | 2 --
debian/ruby-tests.rake | 8 +++-----
debian/rules | 13 ++-----------
debian/watch | 2 +-
6 files changed, 14 insertions(+), 25 deletions(-)
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 b6f63ba..c0a5806 100644
--- a/debian/control
+++ b/debian/control
@@ -3,16 +3,18 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Uploaders: Praveen Arimbrathodiyil <praveen at debian.org>
-Build-Depends: debhelper (>= 7.0.50~),
- gem2deb (>= 0.3.1~),
+Build-Depends: debhelper (>= 9~),
+ gem2deb,
+ rake,
ruby-activesupport,
ruby-i18n,
ruby-rspec,
ruby-tzinfo
-Standards-Version: 3.9.4
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-origin.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-origin.git;a=summary
+Standards-Version: 3.9.7
+Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-origin.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-origin.git
Homepage: http://mongoid.org
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-origin
diff --git a/debian/ruby-origin.docs b/debian/ruby-origin.docs
deleted file mode 100644
index 07b3c9e..0000000
--- a/debian/ruby-origin.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-# FIXME: READMEs found
-# README.md
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 594f772..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
-#
-# 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/watch b/debian/watch
index f1caf95..581c43d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-https://github.com/mongoid/origin/tags .*/v?(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz))
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/origin .*/origin-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-origin.git
More information about the Pkg-ruby-extras-commits
mailing list