dev-ruby/ruby-oembed: add 0.13.1
authorHans de Graaff <graaff@gentoo.org>
Tue, 26 May 2020 05:07:36 +0000 (07:07 +0200)
committerHans de Graaff <graaff@gentoo.org>
Tue, 26 May 2020 05:07:36 +0000 (07:07 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/ruby-oembed/Manifest
dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild [new file with mode: 0644]

index 131b249c3f0a4e175ac3993473690ed3c4a2d811..69929520b027eb4fef58709a19726b9f6db09d2c 100644 (file)
@@ -1 +1,2 @@
 DIST ruby-oembed-0.13.0.gem 4508672 BLAKE2B 154accd1025f9874a3367d8661ce54aa517ecd663faa47a7fa5714acb6846def05c159ca72aff98d77d03edfde84dd825f2be5447eec141268ed4e597c0a9448 SHA512 3998b4ae507320fe6c02b998b58fbf99c926b58d4e44597a81fba95f85b3cf3d9a4565cbd34b1c9d47f9dd01365ce6a1dc46a32fb9368abdd35fe5e69b34bc1e
+DIST ruby-oembed-0.13.1.gem 4509184 BLAKE2B 212cdb606a1155349c23c1c06f25fedbcc2436dc22a52c8f405b63e27457881617b41d79db15e92e5caac8094c7a9ea912f1b16d994448f5296d3c6117062f17 SHA512 d87f65f1d76d485488c81d4fa2b2df5580a03104a16e3af5e65e6987f4652b3f5652ebcb0a79eab882ef0e5cc9c7b35537032a849de7b848b609f13ca3b83dd8
diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.13.1.ebuild
new file mode 100644 (file)
index 0000000..32d0aa9
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 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
+}