mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-ruby/ruby-oembed: add 0.17.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
41
dev-ruby/ruby-oembed/ruby-oembed-0.17.0.ebuild
Normal file
41
dev-ruby/ruby-oembed/ruby-oembed-0.17.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user