diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-28 08:51:07 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-28 09:05:20 +0200 |
commit | 00c537fbf0ebe783652e7ead6888b1259d1b7a06 (patch) | |
tree | 033059a693d7da5ee40c1809fe6109c3ab9977d2 /dev-ruby | |
parent | dev-ruby/facter: add ruby25 (diff) | |
download | gentoo-00c537fbf0ebe783652e7ead6888b1259d1b7a06.tar.gz gentoo-00c537fbf0ebe783652e7ead6888b1259d1b7a06.tar.bz2 gentoo-00c537fbf0ebe783652e7ead6888b1259d1b7a06.zip |
dev-ruby/cocaine: add 0.6.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/cocaine/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/cocaine/cocaine-0.6.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/cocaine/Manifest b/dev-ruby/cocaine/Manifest index 04d9eeb10381..b4d070ffb63c 100644 --- a/dev-ruby/cocaine/Manifest +++ b/dev-ruby/cocaine/Manifest @@ -1 +1,2 @@ DIST cocaine-0.5.8.gem 17408 BLAKE2B bd425d9ceae81e1c29c0059d9296b9de392940ea301b2752cdeef6777ee942975c548e7018f5f2a66505c5ea836a1c2ed684b2d0756c6047a1ca7b825c0cb12e SHA512 0145c1731261db50c1855881da470dfeffdc3bee7cd6c800590507adc7204a31ec178ff6f655866b888eb87b47e1e454415181ec909f2dbe74f8f66277282d3f +DIST cocaine-0.6.0.gem 12800 BLAKE2B fc401c0ca3dd4cf9dfe3c3877094e0ed0ca8b1ed8101cbb99b7637c268331bd380fde71a5f6a5f77104040d4e6ceb6dbe03874218a88c98edbdf525a05448db5 SHA512 da77d9f356c420517c45bef2c91722b260b071dce42c78f84c00527a0065f82f3e9a8d4a45a2ea4be99adf9f39326957afce6df8463586201bcf5a675b25707a diff --git a/dev-ruby/cocaine/cocaine-0.6.0.ebuild b/dev-ruby/cocaine/cocaine-0.6.0.ebuild new file mode 100644 index 000000000000..c5cbc04f8138 --- /dev/null +++ b/dev-ruby/cocaine/cocaine-0.6.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +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/terrapin-0.6.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 +} |