diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-01-14 08:30:20 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-01-15 07:29:08 +0100 |
commit | 3003aa03fefdd46ab506e8b5b246fb18c4fda323 (patch) | |
tree | 16ef4782272b85a4b0f2145050e5b54507f14c81 /dev-ruby/ruby-oembed | |
parent | sci-mathematics/why3: fix race condition in parallel make doc (diff) | |
download | gentoo-3003aa03fefdd46ab506e8b5b246fb18c4fda323.tar.gz gentoo-3003aa03fefdd46ab506e8b5b246fb18c4fda323.tar.bz2 gentoo-3003aa03fefdd46ab506e8b5b246fb18c4fda323.zip |
dev-ruby/ruby-oembed: add 0.16.1
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-oembed')
-rw-r--r-- | dev-ruby/ruby-oembed/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-oembed/ruby-oembed-0.16.1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest index bb19f7d771c2..c3af0e8031a6 100644 --- a/dev-ruby/ruby-oembed/Manifest +++ b/dev-ruby/ruby-oembed/Manifest @@ -1,2 +1,3 @@ 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 +DIST ruby-oembed-0.16.1.tar.gz 4547399 BLAKE2B 929d0a63aa0bd8acb005630c3f774a56e5fffed83b8e6c80c491dbf93df1b85b555b37ef8dedc77428cfcc8ad00c9eee54e49c8e31467efb8a8eae28e25397a7 SHA512 71241c818478c4321844276e4ba5e726536fb40f35c18b0ff9ead46e7d8b2ec1b58ba6738b179e62164c352005fff947baa156ac48bf6c021e29da8be3f2ad38 diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.16.1.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.16.1.ebuild new file mode 100644 index 000000000000..70968be2d9c7 --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.16.1.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 +} |