diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-03-27 07:28:11 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-03-27 07:28:11 +0200 |
commit | 4bc783a593dd8a8ebc7b74f3ccd2835cbb574c7f (patch) | |
tree | 1cfc325793964581f01bcdc446d09ebbb8ec169b /dev-ruby | |
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')
-rw-r--r-- | dev-ruby/ruby-oembed/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest index d8abe0b5dd1b..296bee64a247 100644 --- a/dev-ruby/ruby-oembed/Manifest +++ b/dev-ruby/ruby-oembed/Manifest @@ -1 +1,2 @@ DIST ruby-oembed-0.10.1.gem 687616 SHA256 6eab65dc0595edf51a27a715d646250fdd1c857dd4cb50dd25c3e59f2ef90f67 SHA512 3d6a1c95c99b4c16cd0180feed5dae5773955ac9411ccafabe43debbdc68faf9f41ae6a7b2d4d45a7b7faa45dcb74dc6c8cc4b097d666d50b08a90748dc03d15 WHIRLPOOL 3f34c1af4bc1e5801205d91124759d539120600f30a2cea69dd3e543c3706327714407384db19d270d56c3564d68d41dba89cabf6f4008e4a4bfcbf40141a125 +DIST ruby-oembed-0.12.0.gem 690688 SHA256 6057ef39eee07a56e8363aa51a6cbe63e1831c4f6741c8e6f823d4b1e85584cf SHA512 faaf7828641cf419b699ecbbd7a890304ee645faf13ca480c22afbec035687a730a8d53c7825312a4734dfc6633ec4b4c5790c4db18d584c344602310a7ebed9 WHIRLPOOL b0344545789c91a7ea4a71f68dafd6dcfd8d516bf6741d60157e660e0a44125f7f9916a321f5716577454a4c3fb04961cd7edcddd5c63ebce42a23757cad315a 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 +} |