[DRE-commits] [ruby-kakasi-ffi] 06/07: Run tests without bundler

zeha at debian.org zeha at debian.org
Thu Feb 25 00:13:09 UTC 2016


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

zeha pushed a commit to branch master
in repository ruby-kakasi-ffi.

commit 1c7e66dc1f8028578bf40edc8459b4e8d8593831
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Thu Feb 25 00:06:50 2016 +0000

    Run tests without bundler
---
 debian/control                      |  3 +--
 debian/patches/series               |  1 +
 debian/patches/test-no-bundle.patch | 17 +++++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 5b9c0fc..cc81ec8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: NOKUBI Takatsugu <knok at daionet.gr.jp>
-Build-Depends: bundler,
-               debhelper (>= 9~),
+Build-Depends: debhelper (>= 9~),
                gem2deb,
                libkakasi2-dev,
                rake
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9dd03c6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test-no-bundle.patch
diff --git a/debian/patches/test-no-bundle.patch b/debian/patches/test-no-bundle.patch
new file mode 100644
index 0000000..9b9fbc3
--- /dev/null
+++ b/debian/patches/test-no-bundle.patch
@@ -0,0 +1,17 @@
+Index: ruby-kakasi-ffi/test/helper.rb
+===================================================================
+--- ruby-kakasi-ffi.orig/test/helper.rb
++++ ruby-kakasi-ffi/test/helper.rb
+@@ -1,12 +1,4 @@
+ require 'rubygems'
+-require 'bundler'
+-begin
+-  Bundler.setup(:default, :development)
+-rescue Bundler::BundlerError => e
+-  $stderr.puts e.message
+-  $stderr.puts "Run `bundle install` to install missing gems"
+-  exit e.status_code
+-end
+ require 'test/unit'
+ 
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

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



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