mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-ruby/backports: add 3.25.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST backports-3.24.1.tar.gz 186050 BLAKE2B 5c4f22e12ff4b436c356796b1d8af4cbb8ea038536818bdf97b6c42c57c809c01954147240aa250ee7fc26abf5f9d775d3e0f9b73f6db323aec2c8481d15a68f SHA512 bc29c9eaad86ae99f4a22d6f797bd8a93769761c4bc728539a798e7d0c1fe72cedc665673607d4aab8ac0e7e890789f213842a927eac738674b6089b9961ebf0
|
||||
DIST backports-3.25.0.tar.gz 187271 BLAKE2B aad3144190cbb97f34d6ab334899ccee09a4d3b7be9aa91db8a631990124f34528b9243efe311bd4ee137c99a22b60aabda06544c23d5c4cb993dec2d42f09b2 SHA512 88083b358ecc99c9268bdcfeae6ca3503b3cbb3c379b0bae7d55ca4493eb052d6f51c6231e3bf6a9ad8b4128f788efb3766d9aed10c92932d86b7f9138d4d849
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# 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="test"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="backports.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Backports of Ruby features for older Ruby"
|
||||
HOMEPAGE="https://github.com/marcandre/backports"
|
||||
SRC_URI="https://github.com/marcandre/backports/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid activesupport test that no longer works in Rails 5. This also avoids
|
||||
# a dependency on activesupport
|
||||
sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die
|
||||
|
||||
sed -i -e '/rubocop/I s:^:#:' Rakefile || die
|
||||
}
|
||||
Reference in New Issue
Block a user