[DRE-commits] [ruby-indentation] 01/04: Update packaging with a new `dh-make-ruby -w` run

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jul 15 01:22:49 UTC 2016


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

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

commit b90239be35be1285742be15dd5c522b222e93627
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Jul 14 22:01:31 2016 -0300

    Update packaging with a new `dh-make-ruby -w` run
---
 debian/changelog             |  9 +++++++++
 debian/control               |  6 ++++--
 debian/ruby-indentation.docs |  3 +--
 debian/ruby-tests.rake       |  5 +++++
 debian/rules                 | 13 ++-----------
 5 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4bad3c7..19da053 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ruby-indentation (0.1.1-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Update packaging with a new `dh-make-ruby -w` run. Run tests during build.
+  * New build makes binary package provide the necessary Rubygems metadata
+    (Closes: #830094).
+
+ -- Antonio Terceiro <terceiro at debian.org>  Thu, 14 Jul 2016 22:00:43 -0300
+
 ruby-indentation (0.1.1-1) unstable; urgency=medium
 
   * Imported Upstream version 0.1.1
diff --git a/debian/control b/debian/control
index 6f03b9d..9b784fc 100644
--- a/debian/control
+++ b/debian/control
@@ -5,11 +5,13 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
 Uploaders: TANIGUCHI Takaki <takaki at debian.org>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
+               rake,
                ruby-rspec
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-indentation.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-indentation.git
-Homepage: https://github.com/samueldana/indentation
+Homepage: http://samueldana.github.com/indentation/
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-indentation
diff --git a/debian/ruby-indentation.docs b/debian/ruby-indentation.docs
index 0d5eab8..e475c53 100644
--- a/debian/ruby-indentation.docs
+++ b/debian/ruby-indentation.docs
@@ -1,2 +1 @@
-# FIXME: READMEs found
-# README.rdoc
+README.rdoc
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..cf1591e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/spectask'
+
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
index a5e7dc8..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 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

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



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