[DRE-commits] [ruby-bond] 01/03: Refresh Debian packaging using dh-make-ruby
Sebastien Badia
sbadia-guest at moszumanska.debian.org
Sat Mar 5 17:39:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
sbadia-guest pushed a commit to branch master
in repository ruby-bond.
commit da5958b627392e34a6e112bacb191b05574dc9ea
Author: Sebastien Badia <seb at sebian.fr>
Date: Sat Mar 5 14:20:00 2016 -0300
Refresh Debian packaging using dh-make-ruby
---
debian/control | 3 ++-
debian/ruby-tests.rake | 6 ++++++
debian/rules | 13 ++-----------
debian/watch | 3 +--
4 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/debian/control b/debian/control
index d5676dd..f94018e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: ruby-bond
Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Per Andersson <avtobiff at gmail.com>
+Uploaders: Per Andersson <avtobiff at gmail.com>, Sebastien Badia <seb at sebian.fr>
Build-Depends: debhelper (>= 9~),
gem2deb,
libreadline-dev,
@@ -15,6 +15,7 @@ Standards-Version: 3.9.7
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-bond.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-bond.git
Homepage: http://tagaholic.me/bond/
+Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-bond
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 48931df..9a78f54 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
diff --git a/debian/watch b/debian/watch
index 2d3b10d..d4b908c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,2 @@
version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/bond-$1\.tar\.gz/ \
- https://github.com/cldwalker/bond/tags .*/v?(\d\S*)\.tar\.gz
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/bond .*/bond-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-bond.git
More information about the Pkg-ruby-extras-commits
mailing list