diff options
author | 2017-03-27 07:28:11 +0200 | |
---|---|---|
committer | 2017-03-27 07:28:11 +0200 | |
commit | 4bc783a593dd8a8ebc7b74f3ccd2835cbb574c7f (patch) | |
tree | 1cfc325793964581f01bcdc446d09ebbb8ec169b /dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild | |
parent | net-mail/courier-imap: new EAPI=6 version to fix a few bugs. (diff) | |
download | gentoo-4bc783a593dd8a8ebc7b74f3ccd2835cbb574c7f.tar.gz gentoo-4bc783a593dd8a8ebc7b74f3ccd2835cbb574c7f.tar.bz2 gentoo-4bc783a593dd8a8ebc7b74f3ccd2835cbb574c7f.zip |
dev-ruby/ruby-oembed: add 0.12.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild')
-rw-r--r-- | dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild new file mode 100644 index 000000000000..384a19e946f8 --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" + +inherit ruby-fakegem + +DESCRIPTION="An oEmbed consumer library written in Ruby." +HOMEPAGE="https://github.com/judofyr/ruby-oembed" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? + ( + dev-ruby/json + dev-ruby/vcr:1 + dev-ruby/xml-simple + dev-ruby/nokogiri + dev-ruby/fakeweb + )" + +all_ruby_prepare() { + # Remove bundler but keep vcr version requirement + rm -f Gemfile || die + sed -i -e '1igem "vcr", "~> 1.0"' spec/spec_helper.rb || die + + # Avoid development dependencies + sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die +} |