summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-04-26 11:02:36 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-04-26 11:02:36 +0000
commit89a2e7c486efc30c9cdccdf6b9627fa0cd9a2348 (patch)
treea2debb73097ae4706829bcf1f2984e65ef04795d /dev-ruby/amazon-ec2
parentstable x86, bug 313773 (diff)
downloadgentoo-2-89a2e7c486efc30c9cdccdf6b9627fa0cd9a2348.tar.gz
gentoo-2-89a2e7c486efc30c9cdccdf6b9627fa0cd9a2348.tar.bz2
gentoo-2-89a2e7c486efc30c9cdccdf6b9627fa0cd9a2348.zip
Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/amazon-ec2')
-rw-r--r--dev-ruby/amazon-ec2/ChangeLog8
-rw-r--r--dev-ruby/amazon-ec2/amazon-ec2-0.9.12.ebuild43
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-ruby/amazon-ec2/ChangeLog b/dev-ruby/amazon-ec2/ChangeLog
index c4db63de6002..698844c35152 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.4 2010/04/04 18:24:59 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amazon-ec2/ChangeLog,v 1.5 2010/04/26 11:02:36 flameeyes Exp $
+
+*amazon-ec2-0.9.12 (26 Apr 2010)
+
+ 26 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +amazon-ec2-0.9.12.ebuild:
+ Version bump.
*amazon-ec2-0.9.10 (04 Apr 2010)
diff --git a/dev-ruby/amazon-ec2/amazon-ec2-0.9.12.ebuild b/dev-ruby/amazon-ec2/amazon-ec2-0.9.12.ebuild
new file mode 100644
index 000000000000..9f82f6f433de
--- /dev/null
+++ b/dev-ruby/amazon-ec2/amazon-ec2-0.9.12.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.12.ebuild,v 1.1 2010/04/26 11:02:36 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
+}