summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-09-28 07:43:02 +0200
committerHans de Graaff <graaff@gentoo.org>2019-09-28 07:45:30 +0200
commit6ac1c60d238c699c25a98ba90942e3ea86052b95 (patch)
tree075977e5c4456c9cba7abe0bc32dc4d42a1672dc /dev-ruby/ruby2ruby
parentdev-ruby/ruby_parser: add 3.14.0 (diff)
downloadgentoo-6ac1c60d238c699c25a98ba90942e3ea86052b95.tar.gz
gentoo-6ac1c60d238c699c25a98ba90942e3ea86052b95.tar.bz2
gentoo-6ac1c60d238c699c25a98ba90942e3ea86052b95.zip
dev-ruby/ruby2ruby: add 2.4.4
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby2ruby')
-rw-r--r--dev-ruby/ruby2ruby/Manifest1
-rw-r--r--dev-ruby/ruby2ruby/ruby2ruby-2.4.4.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/ruby2ruby/Manifest b/dev-ruby/ruby2ruby/Manifest
index 4401b5a0318b..90e1868be2e5 100644
--- a/dev-ruby/ruby2ruby/Manifest
+++ b/dev-ruby/ruby2ruby/Manifest
@@ -1,2 +1,3 @@
DIST ruby2ruby-2.4.2.gem 26624 BLAKE2B c7ad5c63829bf03cc166d42f2ae67b47790b4652b1973367881a4c242866acffabf6783cc3296ca7ea91ff3e9967f703852be6c4bcb53dfaaff0f822b50747db SHA512 ae8a34a77d48a97d29bd0ea9e2653e6189666564e971b985e7a459a562f8f03fdff4ec8775a2184cef578249aebbc8a050b57613b63d3c09b7a84aec5f727a7c
DIST ruby2ruby-2.4.3.gem 26624 BLAKE2B fa8252e3e89fdef2c512e3f61dcea7e02ad000d0d65b14b5dcc2ee26d7ee6cc6243536bf3f745c44465c15cc557d1e5c2c9252421d3375da5142a2fe4b4ce1b1 SHA512 9858c2b8ceefe3604cbfedeb0c7c60ada2328d1bb7c5dbeb888936a3025af13718f33f498bb52ee5e659b021907a6e8c44117c6f3a4d4bbbb2dfaa8ddd15601f
+DIST ruby2ruby-2.4.4.gem 26624 BLAKE2B d330cd65513218a96c9e35fe2b69d859fa103ad6dd1b8e8a671bddb9732f99cd65540b404632e671ababbe5842ed2be34a29c2b1fb3bc4c43935f5a7a0735d9e SHA512 51728d702d2142e9a7599fe53c2b58906cd386be429fe97590f850df8cf461c046c67a99fc7b7e277551013b78e35d21609c8125fb568ef90270d146a685c04d
diff --git a/dev-ruby/ruby2ruby/ruby2ruby-2.4.4.ebuild b/dev-ruby/ruby2ruby/ruby2ruby-2.4.4.ebuild
new file mode 100644
index 000000000000..7eba78503ce8
--- /dev/null
+++ b/dev-ruby/ruby2ruby/ruby2ruby-2.4.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/sexp_processor-4.6.0:4
+ >=dev-ruby/ruby_parser-3.1:3
+ !<dev-ruby/ruby2ruby-1.3.1-r1"
+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
+}