diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-01-16 20:51:03 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-01-16 20:51:03 +0000 |
commit | 6089c407dd7d32b316bc61b55feef9218ee986f2 (patch) | |
tree | a387a10e67b5815ac8366650593f72b5ce15b544 /dev-ruby/ammeter | |
parent | Version bump. Remove beta ebuilds. (diff) | |
download | gentoo-2-6089c407dd7d32b316bc61b55feef9218ee986f2.tar.gz gentoo-2-6089c407dd7d32b316bc61b55feef9218ee986f2.tar.bz2 gentoo-2-6089c407dd7d32b316bc61b55feef9218ee986f2.zip |
Initial import of ammeter gem required by mongoid.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ammeter')
-rw-r--r-- | dev-ruby/ammeter/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/ammeter/ammeter-0.2.2.ebuild | 54 | ||||
-rw-r--r-- | dev-ruby/ammeter/metadata.xml | 5 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-ruby/ammeter/ChangeLog b/dev-ruby/ammeter/ChangeLog new file mode 100644 index 000000000000..da63d61c9572 --- /dev/null +++ b/dev-ruby/ammeter/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/ammeter +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ChangeLog,v 1.1 2012/01/16 20:51:03 flameeyes Exp $ + +*ammeter-0.2.2 (16 Jan 2012) + + 16 Jan 2012; Diego E. Pettenò <flameeyes@gentoo.org> +ammeter-0.2.2.ebuild, + +metadata.xml: + Initial import of ammeter gem required by mongoid. + diff --git a/dev-ruby/ammeter/ammeter-0.2.2.ebuild b/dev-ruby/ammeter/ammeter-0.2.2.ebuild new file mode 100644 index 000000000000..f3a1b13aab37 --- /dev/null +++ b/dev-ruby/ammeter/ammeter-0.2.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ammeter/ammeter-0.2.2.ebuild,v 1.1 2012/01/16 20:51:03 flameeyes Exp $ + +EAPI=4 +USE_RUBY="ruby18 ree18" + +#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" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.1 + >=dev-ruby/railties-3.1 + >=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-ruby + )" + +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 +} diff --git a/dev-ruby/ammeter/metadata.xml b/dev-ruby/ammeter/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/ammeter/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> |