Bug 20651 - Remove deps on ruby(getopts) and rebuild with ruby 1.9.1
Summary: Remove deps on ruby(getopts) and rebuild with ruby 1.9.1
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ruby-module-qt (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 16:25 MSD by Sir Raorn
Modified: 2009-10-20 16:38 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sir Raorn 2009-07-01 16:25:13 MSD
In rbqtapi script replace

require 'getopts'

with

require 'optparse'
def getopts(*args)
  ($OPT = ARGV.getopts(*args)).each do |opt, val|
    eval "$OPT_#{opt.gsub(/[^A-Za-z0-9_]/, '_')} = val"
  end
rescue OptionParser::ParseError
end

Task #8534 - ruby 1.9.1
Comment 1 Sergey V Turchin 2009-07-01 17:59:37 MSD
(В ответ на комментарий №0)
> Task #8534
добавил
Comment 2 Sergey V Turchin 2009-10-20 16:38:44 MSD
зафиксено