Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/rbot/files: rbot-rakefile.patch
Date: Sun, 27 Oct 2013 18:24:59
Message-Id: 20131027182453.C2B5E2004E@flycatcher.gentoo.org
1 a3li 13/10/27 18:24:53
2
3 Added: rbot-rakefile.patch
4 Log:
5 Add git snapshot fixing bug 488674. Remove 9999-r10, bug 479812.
6
7 (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 8E740238)
8
9 Revision Changes Path
10 1.1 net-irc/rbot/files/rbot-rakefile.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/files/rbot-rakefile.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/files/rbot-rakefile.patch?rev=1.1&content-type=text/plain
14
15 Index: rbot-rakefile.patch
16 ===================================================================
17 --- Rakefile.old 2013-08-20 01:00:05.000000000 +0200
18 +++ Rakefile 2013-10-21 19:42:06.800019343 +0200
19 @@ -1,5 +1,6 @@
20 require 'rake'
21 -require 'rake/gempackagetask'
22 +require 'rubygems'
23 +require 'rubygems/package_task'
24
25 task :default => [:buildext]
26
27 @@ -15,7 +16,7 @@
28 # we must (and can) skip defining the gem packaging tasks.
29 if File.exist? SPECFILE
30 spec = eval(File.read(SPECFILE), nil, SPECFILE)
31 - Rake::GemPackageTask.new(spec) do |pkg|
32 + Gem::PackageTask.new(spec) do |pkg|
33 pkg.need_zip = true
34 pkg.need_tar = true
35 end
36 @@ -125,8 +126,8 @@
37 }) do |t|
38 po_file, mo_file = t.source, t.name
39 puts "#{po_file} => #{mo_file}"
40 - require 'gettext/utils'
41 - GetText.rmsgfmt po_file, mo_file
42 + require 'gettext/tools'
43 + GetText::Tools::MsgFmt.run po_file, mo_file
44 end
45
46 task :check_po_tools do