summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-07-21 10:00:37 +0000
committerHans de Graaff <graaff@gentoo.org>2011-07-21 10:00:37 +0000
commitf1e4f16779171a6b31f60cfc6e90146e7347c712 (patch)
tree6b221a96ac5498bef1fd8adbb5cb151419ec0ffe /dev-ruby/amazon-ec2
parentStable on amd64 wrt bug #375753 (diff)
downloadgentoo-2-f1e4f16779171a6b31f60cfc6e90146e7347c712.tar.gz
gentoo-2-f1e4f16779171a6b31f60cfc6e90146e7347c712.tar.bz2
gentoo-2-f1e4f16779171a6b31f60cfc6e90146e7347c712.zip
Version bump. Fix tests breaking due to missing yard, bug 339261.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/amazon-ec2')
-rw-r--r--dev-ruby/amazon-ec2/ChangeLog9
-rw-r--r--dev-ruby/amazon-ec2/amazon-ec2-0.9.17.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-ruby/amazon-ec2/ChangeLog b/dev-ruby/amazon-ec2/ChangeLog
index a8dce94e3b50..422a739dbb4e 100644
--- a/dev-ruby/amazon-ec2/ChangeLog
+++ b/dev-ruby/amazon-ec2/ChangeLog
@@ -1,6 +1,11 @@
# 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.9 2010/08/15 19:14:35 flameeyes Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/amazon-ec2/ChangeLog,v 1.10 2011/07/21 10:00:37 graaff Exp $
+
+*amazon-ec2-0.9.17 (21 Jul 2011)
+
+ 21 Jul 2011; Hans de Graaff <graaff@gentoo.org> +amazon-ec2-0.9.17.ebuild:
+ Version bump. Fix tests breaking due to missing yard, bug 339261.
15 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org>
amazon-ec2-0.9.15.ebuild:
diff --git a/dev-ruby/amazon-ec2/amazon-ec2-0.9.17.ebuild b/dev-ruby/amazon-ec2/amazon-ec2-0.9.17.ebuild
new file mode 100644
index 000000000000..d2593adc89c2
--- /dev/null
+++ b/dev-ruby/amazon-ec2/amazon-ec2-0.9.17.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 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.17.ebuild,v 1.1 2011/07/21 10:00:37 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 jruby ree18"
+
+RUBY_FAKEGEM_TASK_DOC="yard"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.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. It is however also loaded when we run tests.
+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
+ dev-ruby/yard
+ )"
+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
+
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/d' Rakefile || die
+}