summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.10.0.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest
index f88145c7b1d2..1d7d59265f74 100644
--- a/dev-ruby/ruby_parser/Manifest
+++ b/dev-ruby/ruby_parser/Manifest
@@ -1,3 +1,4 @@
+DIST ruby_parser-3.10.0.gem 413696 SHA256 15b284c9bdf310a41114287e462b63025d64ef1713b05200d62ec5a96df1de68 SHA512 0880b91e78804e1578056eca893e73fbc2f0e12aaf599dc9026f3fc9637157e625f470308e5491dd357fadd128db3ca0acf49de4916163034ec47e3a671300ec WHIRLPOOL ad0a4504b6a7be3df45df943a2abe2ec2c823356244dcbd111f7752b3649f9af9317a5efdd155d83b20c1141dde795163ab3f496610299bedd0b308a9fab1b6d
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.10.0.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.10.0.ebuild
new file mode 100644
index 000000000000..cf010a3f4d3c
--- /dev/null
+++ b/dev-ruby/ruby_parser/ruby_parser-3.10.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+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.9.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
+}