summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-03-13 07:43:19 +0100
committerHans de Graaff <graaff@gentoo.org>2019-03-13 08:02:17 +0100
commit2d9d6dd73b8021d707fa5b12af437cbb75aecf85 (patch)
tree5665e392313894dfd69a72eaa975d2cea695c2c5
parentdev-ruby/rcairo: cleanup (diff)
downloadgentoo-2d9d6dd73b8021d707fa5b12af437cbb75aecf85.tar.gz
gentoo-2d9d6dd73b8021d707fa5b12af437cbb75aecf85.tar.bz2
gentoo-2d9d6dd73b8021d707fa5b12af437cbb75aecf85.zip
dev-ruby/ruby2ruby: add 2.4.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
-rw-r--r--dev-ruby/ruby2ruby/Manifest1
-rw-r--r--dev-ruby/ruby2ruby/ruby2ruby-2.4.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/ruby2ruby/Manifest b/dev-ruby/ruby2ruby/Manifest
index 39f6e952ebd..e6ab67b8459 100644
--- a/dev-ruby/ruby2ruby/Manifest
+++ b/dev-ruby/ruby2ruby/Manifest
@@ -1,3 +1,4 @@
DIST ruby2ruby-2.3.2.gem 26112 BLAKE2B c6b7d84c3cdc9212972b766382f4f560ea840ea65f2d961de7b836cc67bcbf69a427c2431533d98b91b209eec8dd7ea54cb17c0c01e021c8e4289abe6211bfca SHA512 4cccbc0498ed2af8302860b5547a54b4fada04eff8158ceb9e6a8969f85ddd84dcf315e90b2308b3f5e9e685d6e2105125ca9197dd1cf26cd03179c50e460ee7
DIST ruby2ruby-2.4.0.gem 26112 BLAKE2B 017f7b8299a5104742d6224194b65ad848bc5347cd48d710b3a81d7203faf0670564ea08eedec3cb000d574b22736cd38476dd6f1aea3c45521fa39bfa7df6de SHA512 1edeb5e90c5d33dabfdf7579d2f24f6daed8b9686ce1f7d746d96b18c23c2d4c505a4807a224536d194426fbd81e740113bba6d659bd2dbd2a84c71e04594300
DIST ruby2ruby-2.4.1.gem 26112 BLAKE2B d7d033d80d0d82d9c6bd7b23efd3326645f2f4cfd308f30db6a38022a9648f474741403b45a9294359b8ffacd44ab82ba6dabb0e55b0edb60364440dbf572604 SHA512 5c0ee1b3738a5c4f780cea15cdc9ba679e31b9fe26f11b458a881d40b4717e9d07202f4358e9a0ec53a657b275f86ba466bf6ace8111403d35553292bee60c3c
+DIST ruby2ruby-2.4.2.gem 26624 BLAKE2B c7ad5c63829bf03cc166d42f2ae67b47790b4652b1973367881a4c242866acffabf6783cc3296ca7ea91ff3e9967f703852be6c4bcb53dfaaff0f822b50747db SHA512 ae8a34a77d48a97d29bd0ea9e2653e6189666564e971b985e7a459a562f8f03fdff4ec8775a2184cef578249aebbc8a050b57613b63d3c09b7a84aec5f727a7c
diff --git a/dev-ruby/ruby2ruby/ruby2ruby-2.4.2.ebuild b/dev-ruby/ruby2ruby/ruby2ruby-2.4.2.ebuild
new file mode 100644
index 00000000000..551cac345a7
--- /dev/null
+++ b/dev-ruby/ruby2ruby/ruby2ruby-2.4.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+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
+}