From 4c2b70adc6484c35ff05e412de08a7b7f50cfb34 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 30 Apr 2024 00:00:01 +0100 Subject: gentoo auto-resync : 30:04:2024 - 00:00:01 --- dev-ruby/jbuilder/jbuilder-2.12.0.ebuild | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dev-ruby/jbuilder/jbuilder-2.12.0.ebuild (limited to 'dev-ruby/jbuilder/jbuilder-2.12.0.ebuild') diff --git a/dev-ruby/jbuilder/jbuilder-2.12.0.ebuild b/dev-ruby/jbuilder/jbuilder-2.12.0.ebuild new file mode 100644 index 000000000000..dbd44244f505 --- /dev/null +++ b/dev-ruby/jbuilder/jbuilder-2.12.0.ebuild @@ -0,0 +1,33 @@ +# 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_TASK_TEST="CI=true test" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Create JSON structures via a Builder-style DSL" +HOMEPAGE="https://github.com/rails/jbuilder" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + || ( dev-ruby/activesupport:7.1 dev-ruby/activesupport:7.0 dev-ruby/activesupport:6.1 ) + || ( dev-ruby/actionview:7.1 dev-ruby/actionview:7.0 dev-ruby/actionview:6.1 ) +" + +ruby_add_bdepend "test? ( + >=dev-ruby/activemodel-5.0.0 + >=dev-ruby/railties-5.0.0 +)" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die +} -- cgit v1.2.3