diff options
-rw-r--r-- | dev-ruby/subexec/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/subexec/files/subexec-0.2.2-lang.patch | 31 | ||||
-rw-r--r-- | dev-ruby/subexec/subexec-0.2.2.ebuild | 37 |
3 files changed, 5 insertions, 69 deletions
diff --git a/dev-ruby/subexec/ChangeLog b/dev-ruby/subexec/ChangeLog index 529cb70f3f6b..e7fcd4d45beb 100644 --- a/dev-ruby/subexec/ChangeLog +++ b/dev-ruby/subexec/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/subexec # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/subexec/ChangeLog,v 1.10 2013/04/20 06:57:21 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/subexec/ChangeLog,v 1.11 2013/09/10 16:23:16 mrueg Exp $ + + 10 Sep 2013; Manuel Rüger <mrueg@gentoo.org> -files/subexec-0.2.2-lang.patch, + -subexec-0.2.2.ebuild: + Cleanup old. *subexec-0.2.3 (20 Apr 2013) diff --git a/dev-ruby/subexec/files/subexec-0.2.2-lang.patch b/dev-ruby/subexec/files/subexec-0.2.2-lang.patch deleted file mode 100644 index 3fa50563451a..000000000000 --- a/dev-ruby/subexec/files/subexec-0.2.2-lang.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 2756e8c6815db57ae25d82f9e11ed3a03d23e0cc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= <flameeyes@flameeyes.eu> -Date: Mon, 30 Apr 2012 11:37:06 -0700 -Subject: [PATCH 1/2] Fix exporting of LANG setting for Unix platforms. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -When exporting a variable you should use the name, not the content. - -Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> ---- - lib/subexec.rb | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/lib/subexec.rb b/lib/subexec.rb -index 2bbbf69..28c5092 100644 ---- a/lib/subexec.rb -+++ b/lib/subexec.rb -@@ -117,7 +117,7 @@ class Subexec - if !(RUBY_PLATFORM =~ /win32|mswin|mingw/).nil? - self.output = `set LANG=#{lang} && #{command} 2>&1` - else -- self.output = `LANG=#{lang} && export $LANG && #{command} 2>&1` -+ self.output = `LANG=#{lang} && export LANG && #{command} 2>&1` - end - self.exitstatus = $?.exitstatus - end --- -1.7.8.6 - diff --git a/dev-ruby/subexec/subexec-0.2.2.ebuild b/dev-ruby/subexec/subexec-0.2.2.ebuild deleted file mode 100644 index d9f101492440..000000000000 --- a/dev-ruby/subexec/subexec-0.2.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/subexec/subexec-0.2.2.ebuild,v 1.2 2012/08/13 19:11:14 flameeyes Exp $ - -EAPI=4 - -USE_RUBY="ruby18 ree18 jruby ruby19" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_RECIPE_TEST="rspec" - -inherit ruby-fakegem eutils - -GITHUB_USER="nulayer" - -DESCRIPTION="Subexec spawns an external command with a timeout" -HOMEPAGE="http://github.com/nulayer/subexec" -SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RUBY_S="${GITHUB_USER}-${PN}-*" - -RUBY_PATCHES=( "${P}-lang.patch" ) - -ruby_add_bdepend "test? ( dev-ruby/shoulda )" - -all_ruby_prepare() { - rm Gemfile* || die - sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die - sed -i -e '/begin/,/end/ s:^:#:' spec/spec_helper.rb || die -} |