diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-06-10 07:48:37 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-06-10 07:49:01 +0200 |
commit | 5e96996c460a9761ee108bccd0ab50819c5170a2 (patch) | |
tree | 9e642a1cda87dc8e7246778d29e4405e95fb9ce7 /dev-ruby | |
parent | dev-ruby/sys-uname: add 1.3.0 (diff) | |
download | gentoo-5e96996c460a9761ee108bccd0ab50819c5170a2.tar.gz gentoo-5e96996c460a9761ee108bccd0ab50819c5170a2.tar.bz2 gentoo-5e96996c460a9761ee108bccd0ab50819c5170a2.zip |
dev-ruby/sprockets-rails: add 3.5.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/sprockets-rails/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/sprockets-rails/sprockets-rails-3.5.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/sprockets-rails/Manifest b/dev-ruby/sprockets-rails/Manifest index a1fc6a6bf256..ed38987dda08 100644 --- a/dev-ruby/sprockets-rails/Manifest +++ b/dev-ruby/sprockets-rails/Manifest @@ -1 +1,2 @@ DIST sprockets-rails-3.4.2.tar.gz 111038 BLAKE2B 36495540d8756bd44ba55ed0bf055c35ed963e1d5a8214766f61ff86515285babd409f44816bd9dae8321dd5473f7f5515d2c1c5ffa6b6042788ee50b4bfd247 SHA512 a01a23b189bc0fcde8fa3a0734c239dc9ee9119ca7a0828f04974cc28344e6c5743a6f60f1ab8ae8ed28c0e111103948209593ccd88dc974e2d12b55a1a2b49a +DIST sprockets-rails-3.5.1.tar.gz 111137 BLAKE2B c2d13066d792ca0de7c2d5c0edc9a481289c0b702f596e24b3a1c415e61a899f5d05b38339626997b79f5616338fd477c8da8f61050ac5ccd6829e931a0c793c SHA512 d5fd230ec7ef89b1d86163b88c63d483c571f7023aca9e02f7b31ccdbea14c84436e530b4bbd959003dba83cb5e0a4e474eb335f5fce8ef05f09c46630dec4f1 diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.5.1.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.5.1.ebuild new file mode 100644 index 000000000000..4792eaf781b0 --- /dev/null +++ b/dev-ruby/sprockets-rails/sprockets-rails-3.5.1.ebuild @@ -0,0 +1,40 @@ +# 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_DOC="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline" +HOMEPAGE="https://github.com/rails/sprockets-rails" +SRC_URI="https://github.com/rails/sprockets-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux" + +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/actionpack-6.1:* + >=dev-ruby/activesupport-6.1:* + >=dev-ruby/sprockets-3.0.0:*" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + >=dev-ruby/railties-6.1:* + dev-ruby/test-unit:2 + )" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # It looks like tests are order dependent + sed -i -e '/test_order/ s/:random/:alpha/' test/test_helper.rb || die +} |