summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-01-15 08:00:53 +0100
committerHans de Graaff <graaff@gentoo.org>2017-01-15 08:00:53 +0100
commit787d46bf3ad4b208003cd1ad1a8d2841f4743572 (patch)
treead4e7695831c42fb1118361f703751f6a99e009f /dev-ruby/ruby_parser
parentdev-ruby/sexp_processor: add ruby24 (diff)
downloadgentoo-787d46bf3ad4b208003cd1ad1a8d2841f4743572.tar.gz
gentoo-787d46bf3ad4b208003cd1ad1a8d2841f4743572.tar.bz2
gentoo-787d46bf3ad4b208003cd1ad1a8d2841f4743572.zip
dev-ruby/ruby_parser: add 3.8.4
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/ruby_parser')
-rw-r--r--dev-ruby/ruby_parser/Manifest1
-rw-r--r--dev-ruby/ruby_parser/ruby_parser-3.8.4.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest
index 3a924319c08a..0de543b8593c 100644
--- a/dev-ruby/ruby_parser/Manifest
+++ b/dev-ruby/ruby_parser/Manifest
@@ -1,2 +1,3 @@
DIST ruby_parser-3.8.2.gem 360960 SHA256 0c600cdf79a9d925d8c06b65bbefffba34ce7177520d1545659ce03d252f2173 SHA512 c12f1928dfb18e0f3db1bb9b3f0186b37b4add3e4503050eaed5bb44c25e05a10de7e45ab63c0f2a691f0cafb3dfab6137177e9f73e73633dc84a673667a5e75 WHIRLPOOL 53ab19656d58265e94bacbe99826679aac3b6125670b67beca38e6c63511613670b2d5b53955c772bb8160d4211597a803af1de7c57c3d5c65692edba90ab7fb
DIST ruby_parser-3.8.3.gem 361472 SHA256 482d5eb7ae48dd054d840fcbbddf162fd8beca6c3e666bb6c8166ab82b872a77 SHA512 1d90d9fcd20b3fcfc0b61da118c3f0d8cbec21ffeb6f4a758c291c188383f3a6d5ee68fc3b421c9040e1490688b96e0f551c3b1d85b65f56af7c056b3611ae03 WHIRLPOOL b9b0dcf4d07608f77abb385e86100c5200ffab2dc545bb7671ea023562a3e368e8eca16b139a50d3bf6e092258daeafda4da185ca8bb3c475be94f2f6daa3684
+DIST ruby_parser-3.8.4.gem 361984 SHA256 fe65c8fb428692818c9f693ece50a7d994e1d19b5d5bd50ccbcf6b26ee2f89e6 SHA512 cb0b14cc41a84cf1a96fa942a8b3aed2c64e026fb5294a236d53d53fcce50330a5eb2d1f92101e64fcbc31c5a4fdb026a6d6dc4dff20772b174425ebeb398fee WHIRLPOOL 2235626a4781ef03213009650f4bc072fe4ebe19cf18ce4743489f4c9adb239eca3e66850fd31b209efcf1d25e4278375ed1bd5ea04f4b77086557b7e6102c0a
diff --git a/dev-ruby/ruby_parser/ruby_parser-3.8.4.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.8.4.ebuild
new file mode 100644
index 000000000000..cbc24e3175d5
--- /dev/null
+++ b/dev-ruby/ruby_parser/ruby_parser-3.8.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby parser written in pure ruby"
+HOMEPAGE="https://github.com/seattlerb/ruby_parser"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/sexp_processor-4.7.0:4
+ !<dev-ruby/ruby_parser-2.3.1-r1"
+
+ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )"
+ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 )"
+
+DEPEND+=" test? ( dev-util/unifdef )"
+
+all_ruby_prepare() {
+ # Remove reference to perforce method that is not in a released
+ # version of hoe-seattlerb.
+ #sed -i -e '/perforce/d' Rakefile || die
+ sed -i -e '/license/d' Rakefile || die
+ sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die
+}