diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-12-14 08:30:45 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-12-14 08:30:45 +0000 |
commit | be59e5a3bd9330f5ed21e2fa4d16398811fbdae4 (patch) | |
tree | 1deeadafb1e2992e114c20816331d73a7f04a6a9 /dev-ruby/cocaine/cocaine-0.5.5.ebuild | |
parent | Bump yesod-form to 1.4.3 (diff) | |
download | gentoo-2-be59e5a3bd9330f5ed21e2fa4d16398811fbdae4.tar.gz gentoo-2-be59e5a3bd9330f5ed21e2fa4d16398811fbdae4.tar.bz2 gentoo-2-be59e5a3bd9330f5ed21e2fa4d16398811fbdae4.zip |
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/cocaine/cocaine-0.5.5.ebuild')
-rw-r--r-- | dev-ruby/cocaine/cocaine-0.5.5.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/cocaine/cocaine-0.5.5.ebuild b/dev-ruby/cocaine/cocaine-0.5.5.ebuild new file mode 100644 index 000000000000..7454612136ce --- /dev/null +++ b/dev-ruby/cocaine/cocaine-0.5.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/cocaine/cocaine-0.5.5.ebuild,v 1.1 2014/12/14 08:30:45 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A small library for doing command lines" +HOMEPAGE="http://www.thoughtbot.com/projects/cocaine" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/climate_control:0" + +ruby_add_bdepend " + test? ( + >=dev-ruby/activesupport-3 <dev-ruby/activesupport-5 + dev-ruby/bourne + <dev-ruby/mocha-1.0.0 + dev-ruby/posix-spawn + )" + +all_ruby_prepare() { + sed -i \ + -e '/git ls-files/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || die + + rm Gemfile* || die + + sed -i -e '/bundler/d' Rakefile || die + + sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die + + # BufferedLogger is deprecated in activesupport-4.0, and removed in 4.1 + # Require active_support not active_support/buffered_logger. + sed -i -e 's/\/buffered_logger//g' spec/spec_helper.rb || die +} |