[DRE-commits] [ruby-bio] 05/11: drop disable-test-soap.patch, fix_definition_CutSymbol_in_test_cut_symbol.patch, do_not_rely_on_keys_order_for_hashes.patch

Cédric Boutillier boutil at alioth.debian.org
Tue Aug 6 22:19:02 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 30a819fde60218b1bbd7d69b6ed0190ec9b9ce20
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Aug 6 22:43:38 2013 +0200

    drop disable-test-soap.patch, fix_definition_CutSymbol_in_test_cut_symbol.patch, do_not_rely_on_keys_order_for_hashes.patch
    
    fixed upstream
---
 debian/patches/disable-test-soap.patch             |   59 --------------------
 .../do_not_rely_on_keys_order_for_hashes.patch     |   27 ---------
 ...x_definition_CutSymbol_in_test_cut_symbol.patch |   21 -------
 debian/patches/series                              |    3 -
 4 files changed, 110 deletions(-)

diff --git a/debian/patches/disable-test-soap.patch b/debian/patches/disable-test-soap.patch
deleted file mode 100644
index 83166dd..0000000
--- a/debian/patches/disable-test-soap.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-Description: disable test that requires network.
-Author: Lucas Nussbaum <lucas at debian.org>
-
---- a/test/functional/bio/io/test_soapwsdl.rb
-+++ /dev/null
-@@ -1,53 +0,0 @@
--#
--# test/functional/bio/io/test_soapwsdl.rb - Functional test for SOAP/WSDL
--#
--# Copyright::   Copyright (C) 2005,2007
--#               Mitsuteru C. Nakao <n at bioruby.org>
--# License::     The Ruby License
--#
--#  $Id:$ 
--#
--
--# loading helper routine for testing bioruby
--require 'pathname'
--load Pathname.new(File.join(File.dirname(__FILE__), ['..'] * 3,
--                            'bioruby_test_helper.rb')).cleanpath.to_s
--
--# libraries needed for the tests
--require 'test/unit'
--require 'bio/io/soapwsdl'
--
--module Bio
--
--class FuncTestSOAPWSDL < Test::Unit::TestCase
--
--  def setup
--    @wsdl = 'http://www.ebi.ac.uk/xembl/XEMBL.wsdl'
--    @obj = Bio::SOAPWSDL.new(@wsdl)
--  end
--
--  def test_wsdl
--    assert_equal(@wsdl, @obj.wsdl)
--  end
--  
--  def test_set_wsdl
--    @obj.wsdl = 'http://soap.genome.jp/KEGG.wsdl'
--    assert_equal('http://soap.genome.jp/KEGG.wsdl', @obj.wsdl)
--  end
--
--  def test_log
--    assert_equal(nil, @obj.log)
--  end
--
--  def test_set_log
--    require 'stringio'
--    io = StringIO.new
--    @obj.log = io
--
--    assert_equal(StringIO, @obj.log.class)
--  end
--
--end
--
--end
--
diff --git a/debian/patches/do_not_rely_on_keys_order_for_hashes.patch b/debian/patches/do_not_rely_on_keys_order_for_hashes.patch
deleted file mode 100644
index 60f8292..0000000
--- a/debian/patches/do_not_rely_on_keys_order_for_hashes.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Subject: Test bug fix: order of hash keys are not guaranteed
- Test bug fix: Bio::TestSOFT#test_dataset: order of hash keys are
- not guaranteed.
-Author: Artem Tarasov <lomereiter at gmail.com>
-Origin: https://github.com/ngoto/bioruby/commit/459d4da894e9a9b9db0d793e3711dc45bae2089b
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674337 
-Last-Update: 2012-05-10
----
- test/unit/bio/db/test_soft.rb |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test/unit/bio/db/test_soft.rb b/test/unit/bio/db/test_soft.rb
-index 97a1975..dad9fb0 100644
---- a/test/unit/bio/db/test_soft.rb
-+++ b/test/unit/bio/db/test_soft.rb
-@@ -90,7 +90,7 @@ def test_dataset
-       assert_equal( @obj_dataset.database[:institute], 'NCBI NLM NIH')
- 
-       assert_equal( @obj_dataset.subsets.size, 8)
--      assert_equal( @obj_dataset.subsets.keys, ["GDS100_1",
-+      assert_equal( @obj_dataset.subsets.keys.sort, ["GDS100_1",
-        "GDS100_2",
-        "GDS100_3",
-        "GDS100_4",
--- 
-1.7.10
-
diff --git a/debian/patches/fix_definition_CutSymbol_in_test_cut_symbol.patch b/debian/patches/fix_definition_CutSymbol_in_test_cut_symbol.patch
deleted file mode 100644
index f80ffca..0000000
--- a/debian/patches/fix_definition_CutSymbol_in_test_cut_symbol.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-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 0432b7d..562851e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,2 @@
-disable-test-soap.patch
-fix_definition_CutSymbol_in_test_cut_symbol.patch
-do_not_rely_on_keys_order_for_hashes.patch
 disable_tests_using_chi2.patch
 fix_shebang_for_examples.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