[DRE-commits] [ruby-test-declarative] 02/03: Refresh packaging. Bump Standards-Version.

Lucas Nussbaum lucas at moszumanska.debian.org
Tue Aug 18 11:17:25 UTC 2015


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

lucas pushed a commit to branch master
in repository ruby-test-declarative.

commit a4b66bec8775221aba241cc454135266d62a2614
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Tue Aug 18 10:47:55 2015 +0200

    Refresh packaging. Bump Standards-Version.
---
 debian/control         | 14 ++++++++++----
 debian/ruby-tests.rake |  6 ++++++
 debian/ruby-tests.rb   |  2 --
 debian/rules           |  5 ++++-
 4 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/debian/control b/debian/control
index 8f033f8..5382fe2 100644
--- a/debian/control
+++ b/debian/control
@@ -2,16 +2,22 @@ Source: ruby-test-declarative
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.1)
-Standards-Version: 3.9.5
+Uploaders: Lucas Nussbaum <lucas at debian.org>
+Build-Depends: debhelper (>= 7.0.50~),
+               gem2deb,
+               rake
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-test-declarative.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-test-declarative.git;a=summary
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-test-declarative.git
 Homepage: http://github.com/svenfuchs/test_declarative
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-test-declarative
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: adds a declarative test method syntax to test/unit
  Simply adds a declarative test method syntax to test/unit.
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/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 43857ee..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-$: << 'lib' << '.'
-Dir['{spec,test}/**/*.rb'].each { |f| require f }
diff --git a/debian/rules b/debian/rules
index a5e7dc8..acfc5fe 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=ruby1.8 ruby1.9.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-test-declarative.git



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