diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-02-16 23:24:03 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-02-16 23:24:03 +0000 |
commit | d7de92adb644b60604b303db0d4a7c833ae00459 (patch) | |
tree | ce81eb1c2a5b779d9c8626b2c872d1931cb47587 /dev-ruby/litc | |
parent | stable x86, bug 302249 (diff) | |
download | gentoo-2-d7de92adb644b60604b303db0d4a7c833ae00459.tar.gz gentoo-2-d7de92adb644b60604b303db0d4a7c833ae00459.tar.bz2 gentoo-2-d7de92adb644b60604b303db0d4a7c833ae00459.zip |
Upstream released a new version with the patches merged in.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/litc')
-rw-r--r-- | dev-ruby/litc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/litc/files/litc-1.0.2-fixes.patch | 71 | ||||
-rw-r--r-- | dev-ruby/litc/litc-1.0.3.ebuild (renamed from dev-ruby/litc/litc-1.0.2-r1.ebuild) | 6 |
3 files changed, 8 insertions, 77 deletions
diff --git a/dev-ruby/litc/ChangeLog b/dev-ruby/litc/ChangeLog index ebee140e7c62..812070b1326f 100644 --- a/dev-ruby/litc/ChangeLog +++ b/dev-ruby/litc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/litc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/litc/ChangeLog,v 1.3 2010/02/16 20:38:37 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/litc/ChangeLog,v 1.4 2010/02/16 23:24:02 flameeyes Exp $ + +*litc-1.0.3 (16 Feb 2010) + + 16 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org> + -litc-1.0.2-r1.ebuild, -files/litc-1.0.2-fixes.patch, +litc-1.0.3.ebuild: + Upstream released a new version with the patches merged in. *litc-1.0.2-r1 (16 Feb 2010) diff --git a/dev-ruby/litc/files/litc-1.0.2-fixes.patch b/dev-ruby/litc/files/litc-1.0.2-fixes.patch deleted file mode 100644 index 6ab86e863993..000000000000 --- a/dev-ruby/litc/files/litc-1.0.2-fixes.patch +++ /dev/null @@ -1,71 +0,0 @@ -diff --git a/Rakefile b/Rakefile -index 31392f3..910113c 100644 ---- a/Rakefile -+++ b/Rakefile -@@ -13,6 +13,8 @@ begin - gem.add_development_dependency "thoughtbot-shoulda" - # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings - end -+ -+ task :test => :check_dependencies - rescue LoadError - puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" - end -@@ -20,7 +22,7 @@ end - require 'rake/testtask' - Rake::TestTask.new(:test) do |test| - test.libs << 'lib' << 'test' -- test.pattern = 'test/**/*_test.rb' -+ test.pattern = 'test/**/test_*.rb' - test.verbose = true - end - -@@ -28,7 +30,7 @@ begin - require 'rcov/rcovtask' - Rcov::RcovTask.new do |test| - test.libs << 'test' -- test.pattern = 'test/**/*_test.rb' -+ test.pattern = 'test/**/test_*.rb' - test.verbose = true - end - rescue LoadError -@@ -37,8 +39,6 @@ rescue LoadError - end - end - --task :test => :check_dependencies -- - task :default => :test - - require 'rake/rdoctask' -diff --git a/lib/litc.rb b/lib/litc.rb -index 19836db..e4ab9c9 100644 ---- a/lib/litc.rb -+++ b/lib/litc.rb -@@ -39,7 +39,7 @@ module Litc - # latest - API_VERSION = "latest" - -- def urlize item -+ def self.urlize item - item = item.to_s.gsub(/_/, '-') - if item =~ /(placement).+/ or item =~ /(block-device-mapping).+/ - item.gsub!(/(#{$1})-(.*)$/,'\\1/\\2') -@@ -50,7 +50,7 @@ module Litc - item - end - -- def get(item) -+ def self.get(item) - item = urlize(item) - - if item != 'user-data' -@@ -65,7 +65,7 @@ module Litc - end - end - -- def method_missing(meth, *args, &block) -+ def self.method_missing(meth, *args, &block) - if ITEMS.include?(urlize(meth)) - get(meth) - else diff --git a/dev-ruby/litc/litc-1.0.2-r1.ebuild b/dev-ruby/litc/litc-1.0.3.ebuild index 1538a1bd0747..7c6feef1b74d 100644 --- a/dev-ruby/litc/litc-1.0.2-r1.ebuild +++ b/dev-ruby/litc/litc-1.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/litc/litc-1.0.2-r1.ebuild,v 1.1 2010/02/16 20:38:37 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/litc/litc-1.0.3.ebuild,v 1.1 2010/02/16 23:24:02 flameeyes Exp $ EAPI=2 USE_RUBY="ruby18 jruby" @@ -20,7 +20,3 @@ SLOT="0" KEYWORDS="~amd64 ~x86" ruby_add_bdepend test "dev-ruby/shoulda dev-ruby/fakeweb dev-ruby/ruby-debug" - -all_ruby_prepare() { - epatch "${FILESDIR}"/${P}-fixes.patch -} |