diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-04-30 18:50:08 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-04-30 18:50:08 +0000 |
commit | 5acce12a024cda46cbdef585b6383a7350286d15 (patch) | |
tree | 5c010070a8cef85d81b01e26038a91ab4653a0f3 /dev-ruby/subexec | |
parent | Version bump. (diff) | |
download | gentoo-2-5acce12a024cda46cbdef585b6383a7350286d15.tar.gz gentoo-2-5acce12a024cda46cbdef585b6383a7350286d15.tar.bz2 gentoo-2-5acce12a024cda46cbdef585b6383a7350286d15.zip |
Version bump; requires a patch to work properly still.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/subexec')
-rw-r--r-- | dev-ruby/subexec/ChangeLog | 8 | ||||
-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 (renamed from dev-ruby/subexec/subexec-0.2.0.ebuild) | 6 |
3 files changed, 42 insertions, 3 deletions
diff --git a/dev-ruby/subexec/ChangeLog b/dev-ruby/subexec/ChangeLog index ecec3672d8d9..12d6dcbf0245 100644 --- a/dev-ruby/subexec/ChangeLog +++ b/dev-ruby/subexec/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/subexec # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/subexec/ChangeLog,v 1.6 2012/01/02 07:00:24 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/subexec/ChangeLog,v 1.7 2012/04/30 18:50:08 flameeyes Exp $ + +*subexec-0.2.2 (30 Apr 2012) + + 30 Apr 2012; Diego E. Pettenò <flameeyes@gentoo.org> + +files/subexec-0.2.2-lang.patch, +subexec-0.2.2.ebuild, -subexec-0.2.0.ebuild: + Version bump; requires a patch to work properly still. *subexec-0.2.1 (02 Jan 2012) diff --git a/dev-ruby/subexec/files/subexec-0.2.2-lang.patch b/dev-ruby/subexec/files/subexec-0.2.2-lang.patch new file mode 100644 index 000000000000..3fa50563451a --- /dev/null +++ b/dev-ruby/subexec/files/subexec-0.2.2-lang.patch @@ -0,0 +1,31 @@ +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.0.ebuild b/dev-ruby/subexec/subexec-0.2.2.ebuild index 1744a4dcf57b..39e1a9eee3a2 100644 --- a/dev-ruby/subexec/subexec-0.2.0.ebuild +++ b/dev-ruby/subexec/subexec-0.2.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# 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.0.ebuild,v 1.2 2011/12/28 11:13:01 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/subexec/subexec-0.2.2.ebuild,v 1.1 2012/04/30 18:50:08 flameeyes Exp $ EAPI=4 @@ -26,6 +26,8 @@ IUSE="" RUBY_S="${GITHUB_USER}-${PN}-*" +RUBY_PATCHES=( "${P}-lang.patch" ) + ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/rspec:2 )" |