summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-11-09 07:02:56 +0100
committerHans de Graaff <graaff@gentoo.org>2020-11-09 07:32:55 +0100
commit4890cf11147d0da6dacba07dbb4f1af6b6d5c659 (patch)
treea2bb8d0e4cbadd1586c47b6c33e34b0e0490172b /dev-ruby/ruby-oembed
parentsys-apps/grep: License is GPL-3+ (diff)
downloadgentoo-4890cf11147d0da6dacba07dbb4f1af6b6d5c659.tar.gz
gentoo-4890cf11147d0da6dacba07dbb4f1af6b6d5c659.tar.bz2
gentoo-4890cf11147d0da6dacba07dbb4f1af6b6d5c659.zip
dev-ruby/ruby-oembed: add 0.14.0
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-oembed')
-rw-r--r--dev-ruby/ruby-oembed/Manifest1
-rw-r--r--dev-ruby/ruby-oembed/ruby-oembed-0.14.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest
index ce5a59e8f5f8..01989da665b8 100644
--- a/dev-ruby/ruby-oembed/Manifest
+++ b/dev-ruby/ruby-oembed/Manifest
@@ -1 +1,2 @@
DIST ruby-oembed-0.13.1.gem 4509184 BLAKE2B 212cdb606a1155349c23c1c06f25fedbcc2436dc22a52c8f405b63e27457881617b41d79db15e92e5caac8094c7a9ea912f1b16d994448f5296d3c6117062f17 SHA512 d87f65f1d76d485488c81d4fa2b2df5580a03104a16e3af5e65e6987f4652b3f5652ebcb0a79eab882ef0e5cc9c7b35537032a849de7b848b609f13ca3b83dd8
+DIST ruby-oembed-0.14.0.gem 4510208 BLAKE2B c27df5f0cb48e64b754ecbf526dbb82efff66401ca28a9a45243c5e78397a114203a1a997545055fe2ef45c49bfcdc2005540af9b35b97b8f278e8a173211218 SHA512 101a9f8a35bfa5cd5fb7ecab1f8ee8b616286d6d880506c936ec20fb1749bc6c4ed7c61ebd9ea2247017567ca7e885dc9d83b38f3c55ed9e97a1b7cbe7e53d29
diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.14.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.14.0.ebuild
new file mode 100644
index 000000000000..39b5682b5588
--- /dev/null
+++ b/dev-ruby/ruby-oembed/ruby-oembed-0.14.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+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:5
+ dev-ruby/xml-simple
+ dev-ruby/nokogiri
+ dev-ruby/webmock:3
+ )"
+
+all_ruby_prepare() {
+ # Remove bundler but keep vcr version requirement
+ rm -f Gemfile || die
+ sed -i -e '1igem "vcr", "~> 5.0"' spec/spec_helper.rb || die
+
+ # Avoid development dependencies
+ sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die
+}