[Debian-med-packaging] Bug#735579: logol: please stop (build)-depending on rubygems

Cédric Boutillier boutil at debian.org
Thu Jan 16 16:21:23 UTC 2014


Package: logol
Severity: important
Tags: patch

Dear Maintainer,

The versions of Ruby that will be supported in Jessie already include
rubygems. So the 'rubygems' package will go away together with ruby1.8
since they are now deprecated.

Please update your depencies to remove rubygems (and possibly the
version check on ruby).

I have attached control.diff, implementing this change in the control
file.

Please also consider applying the attached 'remove_rubygems_usage' patch
to remove explicit (unneeded) usage of rubygems in scripts.

Thanks!

Cédric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: control.diff
Type: text/x-diff
Size: 1446 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140116/f6dfa9c8/attachment.diff>
-------------- next part --------------
Description: Remove explicit use of rubygems
 Supported version of Ruby in Jessie+ are higher that 1.9 and they all
 automatically load rubygems
Author: Cédric Boutillier <boutil at debian.org>
Last-Update: 2014-01-16

--- a/tools/logolIndex.rb
+++ b/tools/logolIndex.rb
@@ -1,5 +1,4 @@
 #!/usr/bin/env ruby
-require 'rubygems'
 require 'optparse'
 require 'logger'
 require 'cassiopee-mt'
--- a/tools/logolSearch.rb
+++ b/tools/logolSearch.rb
@@ -22,9 +22,9 @@
 DIR=File.expand_path(File.dirname(__FILE__))
 
 if muteOnly == 1
-  cmd = "ruby -rubygems "+DIR+"/logolIndex.rb --search "+sequence+".index --min "+minStart+" --max "+maxStart+" --pattern "+motifFileName+" --error "+nbError+" --hamming"
+  cmd = "ruby "+DIR+"/logolIndex.rb --search "+sequence+".index --min "+minStart+" --max "+maxStart+" --pattern "+motifFileName+" --error "+nbError+" --hamming"
 else
-  cmd = "ruby -rubygems "+DIR+"/logolIndex.rb --search "+sequence+".index --min "+minStart+" --max "+maxStart+" --pattern "+motifFileName+" --error "+nbError
+  cmd = "ruby "+DIR+"/logolIndex.rb --search "+sequence+".index --min "+minStart+" --max "+maxStart+" --pattern "+motifFileName+" --error "+nbError
 end
 
 Open3.popen3(cmd) do |stdin,stdout,stderr, wait_thr|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140116/f6dfa9c8/attachment.sig>


More information about the Debian-med-packaging mailing list