dev-ruby/ruby2ruby: add 2.5.0

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-03-30 09:48:14 +01:00
parent d705583cc0
commit fec0612a62
2 changed files with 33 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST ruby2ruby-2.4.4.gem 26624 BLAKE2B d330cd65513218a96c9e35fe2b69d859fa103ad6dd1b8e8a671bddb9732f99cd65540b404632e671ababbe5842ed2be34a29c2b1fb3bc4c43935f5a7a0735d9e SHA512 51728d702d2142e9a7599fe53c2b58906cd386be429fe97590f850df8cf461c046c67a99fc7b7e277551013b78e35d21609c8125fb568ef90270d146a685c04d
DIST ruby2ruby-2.5.0.gem 29184 BLAKE2B f1c8a8e904bf93a07e4b57c82bddd9b2f80b286b91ca5973375700f8a853f3a08731d5a067a25eac16cd2983f7bbceec7a3996bbf8d4fd8527322b439291f575 SHA512 4b968400a40ae6eed7528c848d8d78dd4e1f1efa63481423eb82309d1dc884416a7aac301f84c945f744e898200bb83cd1be39e10c4ceec530fc751f8bf2e4ba

View File

@@ -0,0 +1,32 @@
# 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_EXTRADOC="README.rdoc History.rdoc"
inherit ruby-fakegem
DESCRIPTION="Generates readable ruby from ParseTree"
HOMEPAGE="https://github.com/seattlerb/ruby2ruby"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="test"
ruby_add_rdepend "
>=dev-ruby/sexp_processor-4.6.0:4
>=dev-ruby/ruby_parser-3.1:3
"
ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 >=dev-ruby/sexp_processor-4.10.0:4 )"
all_ruby_prepare() {
sed -i -e '/plugin :isolate/ s:^:#:' Rakefile || die
}
each_ruby_test() {
${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
}