mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 00:28:09 -07:00
dev-ruby/ruby-oembed: add 0.12.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -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
|
||||
|
||||
38
dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild
Normal file
38
dev-ruby/ruby-oembed/ruby-oembed-0.12.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user