[DRE-commits] [ruby-bio] 10/11: remove_rubygems.patch: remove requirement on rubygems from bin/bioruby

Cédric Boutillier boutil at alioth.debian.org
Tue Aug 6 22:19:03 UTC 2013


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

boutil pushed a commit to branch master
in repository ruby-bio.

commit 839f7618029161046d36eaf71aaaf7067751a811
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Aug 6 23:54:31 2013 +0200

    remove_rubygems.patch: remove requirement on rubygems from bin/bioruby
---
 debian/patches/remove_rubygems.patch |   21 +++++++++++++++++++++
 debian/patches/series                |    1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/remove_rubygems.patch b/debian/patches/remove_rubygems.patch
new file mode 100644
index 0000000..782bf32
--- /dev/null
+++ b/debian/patches/remove_rubygems.patch
@@ -0,0 +1,21 @@
+Description: remove use of rubygems in bin/bioruby
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2013-08-06
+
+--- a/bin/bioruby
++++ b/bin/bioruby
+@@ -9,12 +9,7 @@
+ # $Id:$
+ #
+ 
+-begin
+-  require 'rubygems'
+-  gem 'bio', '>= 1.1.0'
+-rescue LoadError
+-  require 'bio'
+-end
++require 'bio'
+ require 'bio/shell'
+ 
+ # required to run commands (getseq, ls etc.)
diff --git a/debian/patches/series b/debian/patches/series
index 562851e..feb21bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 disable_tests_using_chi2.patch
 fix_shebang_for_examples.patch
+remove_rubygems.patch

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



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