[DRE-commits] [ruby-hoe] 03/09: Refresh packaging with `dh-make-ruby -w`

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jul 1 14:44:52 UTC 2017


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

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

commit bc4b2d893e7bb31538abcd2a168e8539344a713c
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jul 1 10:58:49 2017 -0300

    Refresh packaging with `dh-make-ruby -w`
---
 debian/changelog            |  4 +++-
 debian/control              |  7 ++++---
 debian/ruby-hoe.docs        |  1 -
 debian/ruby-test-files.yaml |  4 ----
 debian/ruby-tests.rake      |  6 ++++++
 debian/rules                | 12 +-----------
 6 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f6ce5d1..5e33bd1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
-ruby-hoe (3.14.2-2) UNRELEASED; urgency=medium
+ruby-hoe (3.16.0-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * debian/copyright: fix Files-Excluded by moving the Comments to a Comment:
     field
+  * New upstream release
+  * Refresh packaging with `dh-make-ruby -w`
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 01 Jul 2017 10:54:03 -0300
 
diff --git a/debian/control b/debian/control
index 04d28a1..6e96e81 100644
--- a/debian/control
+++ b/debian/control
@@ -12,14 +12,15 @@ Build-Depends: debhelper (>= 9),
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-hoe.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-hoe.git
-Homepage: http://zenspider.com/projects/hoe.html
+Homepage: http://www.zenspider.com/projects/hoe.html
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-hoe
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: rake (<< 11.0),
-         rake (>= 0.8.7),
+Depends: rake (<< 13.0),
+         rake (>= 0.8),
          ruby | ruby-interpreter,
          ${misc:Depends},
          ${shlibs:Depends}
diff --git a/debian/ruby-hoe.docs b/debian/ruby-hoe.docs
index 6d29741..e475c53 100644
--- a/debian/ruby-hoe.docs
+++ b/debian/ruby-hoe.docs
@@ -1,2 +1 @@
 README.rdoc
-rdoc
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 8167ed9..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
---- 
-- test/test_hoe.rb
-- test/test_hoe_gemcutter.rb
-- test/test_hoe_test.rb
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 6649998..c356d6b 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
 
-#
-# 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

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



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