summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/amazon-ec2/ChangeLog8
-rw-r--r--dev-ruby/amazon-ec2/amazon-ec2-0.9.10.ebuild43
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-ruby/amazon-ec2/ChangeLog b/dev-ruby/amazon-ec2/ChangeLog
index 335baf07b99d..c4db63de6002 100644
--- a/dev-ruby/amazon-ec2/ChangeLog
+++ b/dev-ruby/amazon-ec2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/amazon-ec2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amazon-ec2/ChangeLog,v 1.3 2010/02/13 19:15:52 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amazon-ec2/ChangeLog,v 1.4 2010/04/04 18:24:59 flameeyes Exp $
+
+*amazon-ec2-0.9.10 (04 Apr 2010)
+
+ 04 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +amazon-ec2-0.9.10.ebuild:
+ Version bump.
13 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org>
amazon-ec2-0.9.4.ebuild:
diff --git a/dev-ruby/amazon-ec2/amazon-ec2-0.9.10.ebuild b/dev-ruby/amazon-ec2/amazon-ec2-0.9.10.ebuild
new file mode 100644
index 000000000000..02b9622336c7
--- /dev/null
+++ b/dev-ruby/amazon-ec2/amazon-ec2-0.9.10.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amazon-ec2/amazon-ec2-0.9.10.ebuild,v 1.1 2010/04/04 18:24:59 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="yard"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc README_dev.rdoc ChangeLog"
+
+RUBY_FAKEGEM_BINWRAP="ec2sh"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Library for accessing the Amazon Web Services EC2 and related"
+HOMEPAGE="http://github.com/grempe/amazon-ec2"
+
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# We only need yard for Ruby 1.8, as we use it for documentation
+# generation.
+USE_RUBY=ruby18 \
+ ruby_add_bdepend doc "dev-ruby/yard"
+
+ruby_add_bdepend test "virtual/ruby-test-unit >=dev-ruby/test-spec-0.10.0 >=dev-ruby/mocha-0.9.8"
+ruby_add_rdepend '>=dev-ruby/xml-simple-1.0.12'
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *ruby19)
+ ;;
+ *)
+ # Remove the reference to test-unit gem, since it's only
+ # available on Ruby 1.9.
+ sed -i -e '/^gem/s:^:#:' test/test_helper.rb || die
+ ;;
+ esac
+}