diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-06 13:06:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-06 13:06:09 +0000 |
commit | 0113c4c9eb49e26aee006787c9564c1165909926 (patch) | |
tree | 71309ed23f085c481e1d69b121285d1b2406bd87 /dev-ruby/backports/backports-3.25.0.ebuild | |
parent | aeb00d494a88844a67a5483be221169c5cc2c4be (diff) |
gentoo auto-resync : 06:03:2024 - 13:06:09
Diffstat (limited to 'dev-ruby/backports/backports-3.25.0.ebuild')
-rw-r--r-- | dev-ruby/backports/backports-3.25.0.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/backports/backports-3.25.0.ebuild b/dev-ruby/backports/backports-3.25.0.ebuild new file mode 100644 index 000000000000..a0163970763a --- /dev/null +++ b/dev-ruby/backports/backports-3.25.0.ebuild @@ -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 +} |