[DRE-commits] [ruby-flexmock] 02/02: refresh debian/ with dh-make-ruby

Jonas Genannt genannt at moszumanska.debian.org
Wed Aug 19 12:38:57 UTC 2015


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

genannt pushed a commit to branch master
in repository ruby-flexmock.

commit b00394896cfc6d53529b1fed28238241633cc240
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Wed Aug 19 14:41:30 2015 +0200

    refresh debian/ with dh-make-ruby
---
 debian/compat          |  2 +-
 debian/control         | 20 +++++++++++++-------
 debian/ruby-tests.rake |  6 ++++++
 debian/ruby-tests.rb   |  4 ----
 4 files changed, 20 insertions(+), 12 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 205c1be..0db4864 100644
--- a/debian/control
+++ b/debian/control
@@ -2,19 +2,25 @@ Source: ruby-flexmock
 Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders:
- Antonio Terceiro <terceiro at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.10~), rake, ruby-rspec, ruby-minitest
-Standards-Version: 3.9.5
+Uploaders: Antonio Terceiro <terceiro at debian.org>
+Build-Depends: debhelper (>=9~),
+               gem2deb,
+               rake,
+               ruby-rspec,
+               ruby-minitest
+Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-flexmock.git
-Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-flexmock.git;a=summary
-Homepage: https://github.com/jimweirich/flexmock
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-flexmock.git
+Homepage: https://github.com/doudou/flexmock
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-flexmock
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+Depends: ruby | ruby-interpreter,
+         ${misc:Depends},
+         ${shlibs:Depends}
 Description: simple and flexible mock objects for testing
  FlexMock is a extremely simple mock object class compatible
  with the Test::Unit framework. Although the FlexMock's
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 1f28132..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,4 +0,0 @@
-require 'rbconfig'
-ENV['RUBYOPT'] = '-I' + RbConfig::CONFIG['rubylibdir'] # give priority to test/unit from the stdlib
-ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-exec("#{ruby} -S rake")

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



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