diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-02-29 15:22:49 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-01 07:01:38 +0100 |
commit | 13e418dab0c81d82e0b5f80c7c8f45f4b0ff7936 (patch) | |
tree | 152793dc6dd9dd6c2ac6232a0763a62aeb883189 /dev-ruby/ruby-oembed | |
parent | dev-ruby/yard: drop 0.9.28, 0.9.34-r1 (diff) | |
download | gentoo-13e418dab0c81d82e0b5f80c7c8f45f4b0ff7936.tar.gz gentoo-13e418dab0c81d82e0b5f80c7c8f45f4b0ff7936.tar.bz2 gentoo-13e418dab0c81d82e0b5f80c7c8f45f4b0ff7936.zip |
dev-ruby/ruby-oembed: add 0.17.0
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.17.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest index 335656a9cbd1..405fba9c45f8 100644 --- a/dev-ruby/ruby-oembed/Manifest +++ b/dev-ruby/ruby-oembed/Manifest @@ -1 +1,2 @@ DIST ruby-oembed-0.16.1.tar.gz 4547399 BLAKE2B 929d0a63aa0bd8acb005630c3f774a56e5fffed83b8e6c80c491dbf93df1b85b555b37ef8dedc77428cfcc8ad00c9eee54e49c8e31467efb8a8eae28e25397a7 SHA512 71241c818478c4321844276e4ba5e726536fb40f35c18b0ff9ead46e7d8b2ec1b58ba6738b179e62164c352005fff947baa156ac48bf6c021e29da8be3f2ad38 +DIST ruby-oembed-0.17.0.tar.gz 4548719 BLAKE2B d91c4321b745b5c96f866468f8985ec5a27b8318450b14b92f4c7456cea3dea048fb66d5d1c93a3ebd7b12d52a5ea6b2a543987f9d83d35b64521f46bf204d05 SHA512 ec130cca009dd63d18ff3498be2bd05eacdef28c3e7dbae9a373da7700949a18184714dfb3b942154b5af0e305ccdcaf7d18652f36236599d04f0ba531d8aca4 diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.17.0.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.17.0.ebuild new file mode 100644 index 000000000000..497a57abc714 --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.17.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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:6 + 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", "~> 6.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 +} |