Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby_parser/
Date: Sat, 24 Feb 2018 07:19:51
Message-Id: 1519456780.c42b8d973bc7b294d6efc2d5470769772d1a4178.graaff@gentoo
1 commit: c42b8d973bc7b294d6efc2d5470769772d1a4178
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 24 07:06:45 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 24 07:19:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42b8d97
7
8 dev-ruby/ruby_parser: add 3.11.0
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-ruby/ruby_parser/Manifest | 1 +
13 dev-ruby/ruby_parser/ruby_parser-3.11.0.ebuild | 35 ++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest
17 index 26093932a7f..710bb257707 100644
18 --- a/dev-ruby/ruby_parser/Manifest
19 +++ b/dev-ruby/ruby_parser/Manifest
20 @@ -1,2 +1,3 @@
21 DIST ruby_parser-3.10.1.gem 414208 BLAKE2B 22b0df7f5b7c137e6c331b13639ccd399323bcc6d439ffd8a07ac1f0b11db9abfd1d6a6a36d6c313a86a525d55742fca6050287ef88cf2829a164cb6f0b9a110 SHA512 57abb2a972020d443baa46b2866ded1bdd5a5d6d7d5649375e9bdaf0d3884dba23d152db2e50db776bccefc51e0bf1221e1eb8c3a6468bfd5b19b2e47dd16cc8
22 +DIST ruby_parser-3.11.0.gem 463360 BLAKE2B 6001914a0835c5f21e16eff279100335855fd833b60c7508fe66378a899af44e928afe31efb78ad1189301b1e85facba2d025c6e544a95d730f579642169eb1d SHA512 62b01b3ecbed0fbcd75a7d3515d4804dd1d8544667ad667dc36cf19cc2e380d87bb58ca56342ee4428cdf7044356cdfa2585125636a9c18ec4a460eb901baa22
23 DIST ruby_parser-3.9.0.gem 411648 BLAKE2B ba5247a408c24c2ac36561ed9c26b4124a61565327247ee5dc3315a9f3e1f995fd6419c19ee8013efcc2b30fd752b3c8f6dd24011d35168f7e8cbcd224ddb909 SHA512 f609084d82caf4c33a40b64ee9df473375f00c59a34ec5b419f155a54a7fb9436ffb77ace406a01974c6c0d7b11b97447da0b3053c1fd87c66eb0406a0150312
24
25 diff --git a/dev-ruby/ruby_parser/ruby_parser-3.11.0.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.11.0.ebuild
26 new file mode 100644
27 index 00000000000..fbea3e30369
28 --- /dev/null
29 +++ b/dev-ruby/ruby_parser/ruby_parser-3.11.0.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +USE_RUBY="ruby22 ruby23 ruby24 ruby25"
37 +
38 +RUBY_FAKEGEM_RECIPE_DOC="rdoc"
39 +RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc"
40 +
41 +inherit ruby-fakegem
42 +
43 +DESCRIPTION="A ruby parser written in pure ruby"
44 +HOMEPAGE="https://github.com/seattlerb/ruby_parser"
45 +
46 +LICENSE="MIT"
47 +SLOT="3"
48 +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"
49 +IUSE=""
50 +
51 +ruby_add_rdepend ">=dev-ruby/sexp_processor-4.9.0:4
52 + !<dev-ruby/ruby_parser-2.3.1-r1"
53 +
54 +ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )"
55 +ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.10.1:4 )"
56 +
57 +DEPEND+=" test? ( dev-util/unifdef )"
58 +
59 +all_ruby_prepare() {
60 + # Remove reference to perforce method that is not in a released
61 + # version of hoe-seattlerb.
62 + #sed -i -e '/perforce/d' Rakefile || die
63 + sed -i -e '/license/d' Rakefile || die
64 + sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die
65 +}