From ee2f067b69a2fe8796e9a4dfcdab6b6c48621e06 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 9 Jan 2022 08:17:19 +0100 Subject: dev-ruby/ruby-oembed: add 0.16.0 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff --- dev-ruby/ruby-oembed/Manifest | 1 + dev-ruby/ruby-oembed/ruby-oembed-0.16.0.ebuild | 41 ++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-ruby/ruby-oembed/ruby-oembed-0.16.0.ebuild (limited to 'dev-ruby/ruby-oembed') diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest index 3633aff4588d..bb19f7d771c2 100644 --- a/dev-ruby/ruby-oembed/Manifest +++ b/dev-ruby/ruby-oembed/Manifest @@ -1 +1,2 @@ DIST ruby-oembed-0.15.0.gem 4528640 BLAKE2B 3bfb6f6b7b23d82b89adad5b329072d050a5ff5dbf475f7443734c6a0cb70ad8c5a5d8cdc391e81a8a150d448454e3cfa8302a23c55a39cab8898c5d0fc53fa9 SHA512 9a97f292298ec0b030435ec4d63456b9eb6547de9cbe7b56cecc390cd8a5c374aca4aff2da4de3189cb0a75c6e1b0884c1fdf9c69d729d5a5436ed6e94d3fd2d +DIST ruby-oembed-0.16.0.tar.gz 4547329 BLAKE2B 2132098010884b3734e1842e6bccd5a6fd2a2c5ce5d1cf7d9a3eccf8e5afcc2a01fb20e17cbaedd7b8e4996df1ed1c07fa0df997355a0a8116dd4f2f1d20a4c8 SHA512 3e076b544b013f527a700c6610336a66b32cb293ee38f1f952bb16603105b85668ca239f0c8090d532e89d164a35ec4e85e18cbb48c60651587f564c547109dc diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.16.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.16.0.ebuild new file mode 100644 index 000000000000..70968be2d9c7 --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.16.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" +RUBY_FAKEGEM_GEMSPEC="ruby-oembed.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An oEmbed consumer library written in Ruby" +HOMEPAGE="https://github.com/ruby-oembed/ruby-oembed" +SRC_URI="https://github.com/ruby-oembed/ruby-oembed/archive/v${PV}.tar.gz -> ${P}.tar.gz" +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 + + sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die +} -- cgit v1.2.3-65-gdbad