summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-19 12:04:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-19 12:04:39 +0000
commit0e8647a24524847add136eb3777cd86c557e3e60 (patch)
tree485f61c07b7a6ebd9a6dd997be9cd92f82c05eeb /app-admin/rudy
parentInitial import of duby, the typed language with a Ruby-influenced syntax to b... (diff)
downloadgentoo-2-0e8647a24524847add136eb3777cd86c557e3e60.tar.gz
gentoo-2-0e8647a24524847add136eb3777cd86c557e3e60.tar.bz2
gentoo-2-0e8647a24524847add136eb3777cd86c557e3e60.zip
Bump with a patch to work with recent amazon-ec2 (sent upstream).
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/rudy')
-rw-r--r--app-admin/rudy/ChangeLog9
-rw-r--r--app-admin/rudy/files/rudy-0.9.6.002+amazon-ec2-0.9.4.patch35
-rw-r--r--app-admin/rudy/rudy-0.9.6.002-r2.ebuild (renamed from app-admin/rudy/rudy-0.9.6.002-r1.ebuild)8
3 files changed, 49 insertions, 3 deletions
diff --git a/app-admin/rudy/ChangeLog b/app-admin/rudy/ChangeLog
index c1ad874bd0da..92561ea3021c 100644
--- a/app-admin/rudy/ChangeLog
+++ b/app-admin/rudy/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/rudy
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rudy/ChangeLog,v 1.2 2010/02/14 22:03:26 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rudy/ChangeLog,v 1.3 2010/02/19 12:04:38 flameeyes Exp $
+
+*rudy-0.9.6.002-r2 (19 Feb 2010)
+
+ 19 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ -rudy-0.9.6.002-r1.ebuild, +rudy-0.9.6.002-r2.ebuild,
+ +files/rudy-0.9.6.002+amazon-ec2-0.9.4.patch:
+ Bump with a patch to work with recent amazon-ec2 (sent upstream).
*rudy-0.9.6.002-r1 (14 Feb 2010)
diff --git a/app-admin/rudy/files/rudy-0.9.6.002+amazon-ec2-0.9.4.patch b/app-admin/rudy/files/rudy-0.9.6.002+amazon-ec2-0.9.4.patch
new file mode 100644
index 000000000000..56990cbe955e
--- /dev/null
+++ b/app-admin/rudy/files/rudy-0.9.6.002+amazon-ec2-0.9.4.patch
@@ -0,0 +1,35 @@
+diff --git a/lib/rudy/aws/ec2/instance.rb b/lib/rudy/aws/ec2/instance.rb
+index c24398f..a0800a4 100644
+--- a/lib/rudy/aws/ec2/instance.rb
++++ b/lib/rudy/aws/ec2/instance.rb
+@@ -77,10 +77,9 @@ module Rudy::AWS
+ :min_count => opts[:min],
+ :max_count => opts[:max] || opts[:min],
+ :key_name => (opts[:keypair] || '').to_s,
+- :group_id => [opts[:group]].flatten.compact,
++ :security_group => [opts[:group]].flatten.compact,
+ #:user_data => opts[:machine_data], # Error: Invalid BASE64 encoding of user data ??
+ :availability_zone => opts[:zone].to_s,
+- :addressing_type => opts[:private] ? 'private' : 'public',
+ :instance_type => opts[:size].to_s,
+ :kernel_id => nil
+ }
+diff --git a/rudy.gemspec b/rudy.gemspec
+index 59f5695..fac738e 100644
+--- a/rudy.gemspec
++++ b/rudy.gemspec
+@@ -23,12 +23,13 @@
+ s.add_dependency 'caesars', '>= 0.7.3'
+ s.add_dependency 'sysinfo', '>= 0.7.0'
+ s.add_dependency 'gibbler', '>= 0.7.1'
+- s.add_dependency 'tryouts', '>= 0.8.4'
+ s.add_dependency 'storable', '>= 0.5.8'
+
+ s.add_dependency 'aws-s3', '>= 0.6.1'
+ s.add_dependency 'highline', '>= 1.5.1'
+ s.add_dependency 'amazon-ec2', '>= 0.5.0'
++
++ s.add_development_dependency 'tryouts', '>= 0.8.4'
+
+ # = MANIFEST =
+ # git ls-files
diff --git a/app-admin/rudy/rudy-0.9.6.002-r1.ebuild b/app-admin/rudy/rudy-0.9.6.002-r2.ebuild
index 2361d4a90fe6..0e7253a609ab 100644
--- a/app-admin/rudy/rudy-0.9.6.002-r1.ebuild
+++ b/app-admin/rudy/rudy-0.9.6.002-r2.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/app-admin/rudy/rudy-0.9.6.002-r1.ebuild,v 1.1 2010/02/14 22:03:26 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rudy/rudy-0.9.6.002-r2.ebuild,v 1.1 2010/02/19 12:04:38 flameeyes Exp $
EAPI=2
@@ -16,7 +16,7 @@ RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc examples/authorize.rb examples/ge
RUBY_FAKEGEM_EXTRAINSTALL="Rudyfile"
-inherit ruby-fakegem
+inherit ruby-fakegem eutils
DESCRIPTION="Not your grandparents' EC2 deployment tool"
HOMEPAGE="http://solutious.com/"
@@ -41,3 +41,7 @@ ruby_add_rdepend '
>=dev-ruby/annoy-0.5.5
>=dev-ruby/attic-0.4.0
>=dev-ruby/rye-0.8.11'
+
+all_ruby_prepare() {
+ epatch "${FILESDIR}"/${P}+amazon-ec2-0.9.4.patch
+}