summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-06-19 05:09:27 +0000
committerHans de Graaff <graaff@gentoo.org>2013-06-19 05:09:27 +0000
commitb36b2a4e5babe7bc5c5c70a9058b089ea3e9c8a0 (patch)
treef91805a20880a07f3697c998d73be4869502c52d /dev-ruby/ammeter
parentCleanup. (diff)
downloadgentoo-2-b36b2a4e5babe7bc5c5c70a9058b089ea3e9c8a0.tar.gz
gentoo-2-b36b2a4e5babe7bc5c5c70a9058b089ea3e9c8a0.tar.bz2
gentoo-2-b36b2a4e5babe7bc5c5c70a9058b089ea3e9c8a0.zip
Version bump.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/ammeter')
-rw-r--r--dev-ruby/ammeter/ChangeLog7
-rw-r--r--dev-ruby/ammeter/ammeter-0.2.9.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-ruby/ammeter/ChangeLog b/dev-ruby/ammeter/ChangeLog
index dcbc415750f4..4352a937665c 100644
--- a/dev-ruby/ammeter/ChangeLog
+++ b/dev-ruby/ammeter/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/ammeter
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ChangeLog,v 1.10 2013/06/19 05:07:29 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ChangeLog,v 1.11 2013/06/19 05:09:27 graaff Exp $
+
+*ammeter-0.2.9 (19 Jun 2013)
+
+ 19 Jun 2013; Hans de Graaff <graaff@gentoo.org> +ammeter-0.2.9.ebuild:
+ Version bump.
19 Jun 2013; Hans de Graaff <graaff@gentoo.org> -ammeter-0.2.5.ebuild:
Cleanup.
diff --git a/dev-ruby/ammeter/ammeter-0.2.9.ebuild b/dev-ruby/ammeter/ammeter-0.2.9.ebuild
new file mode 100644
index 000000000000..14c84748b5c3
--- /dev/null
+++ b/dev-ruby/ammeter/ammeter-0.2.9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ammeter-0.2.9.ebuild,v 1.1 2013/06/19 05:09:27 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST="spec"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Write specs for your Rails 3+ generators"
+HOMEPAGE="https://github.com/alexrothenberg/ammeter"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/activesupport-3.0
+ >=dev-ruby/railties-3.0
+ >=dev-ruby/rspec-2.2
+ >=dev-ruby/rspec-rails-2.2
+"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/rails-3.1
+ dev-ruby/uglifier
+ dev-ruby/rake
+ dev-ruby/coffee-rails
+ dev-ruby/sass-rails
+ dev-ruby/jquery-rails
+ dev-util/cucumber
+ dev-util/aruba
+ dev-ruby/sqlite3
+ )"
+
+all_ruby_prepare() {
+ # fix the gemspec; we remove the version dependencies from there, as
+ # it requires _older_ versions of its dependencies.. it doesn't
+ # really seem to be the case though. Also remove the references to
+ # git ls-files to avoid calling it.
+ sed -i \
+ -e '/git ls-files/d' \
+ -e '/\(cucumber\|aruba\)/s:,.*$::' \
+ ${RUBY_FAKEGEM_GEMSPEC} || die
+}