[DRE-commits] [ruby-bio] 01/05: restore fix_definition_CutSymbol_in_test_cut_symbol.patch to avoid transient FTBFS

Cédric Boutillier boutil at moszumanska.debian.org
Thu Mar 3 21:00:28 UTC 2016


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

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

commit b0f6eaf30caa95fde85d9d5c7367e136ea160496
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu Mar 3 21:31:32 2016 +0100

    restore fix_definition_CutSymbol_in_test_cut_symbol.patch to avoid transient FTBFS
---
 ...ix_definition_CutSymbol_in_test_cut_symbol.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/fix_definition_CutSymbol_in_test_cut_symbol.patch b/debian/patches/fix_definition_CutSymbol_in_test_cut_symbol.patch
new file mode 100644
index 0000000..f80ffca
--- /dev/null
+++ b/debian/patches/fix_definition_CutSymbol_in_test_cut_symbol.patch
@@ -0,0 +1,21 @@
+Description: ensure that Bio::RestrictionEnzyme::CutSymbol is defined in tests
+ loading bio/utils/restriction_enzyme/cut_symbol.rb is not enough.
+ bio/utils/restriction_enzyme.rb loads automatically cut_symbol.rb if called.
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Last-Update: 2012-02-17
+Bug: https://github.com/bioruby/bioruby/issues/46
+Forwarded: yes
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb
++++ b/test/unit/bio/util/restriction_enzyme/test_cut_symbol.rb
+@@ -15,7 +15,8 @@
+ 
+ # libraries needed for the tests
+ require 'test/unit'
+-require 'bio/util/restriction_enzyme/cut_symbol'
++require 'bio/util/restriction_enzyme'
++#require 'bio/util/restriction_enzyme/cut_symbol'
+ 
+ module Bio; module TestRestrictionEnzyme #:nodoc:
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6ee5fc1..f39a4f7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 disable_tests_using_chi2.patch
 remove_rubygems.patch
+fix_definition_CutSymbol_in_test_cut_symbol.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