1 |
commit: 0875f3cca2ab11d3c5bedaecf283ad91508ce8bb |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 9 04:34:31 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 9 04:34:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0875f3cc |
7 |
|
8 |
dev-ruby/gherkin: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-ruby/gherkin/Manifest | 1 - |
13 |
dev-ruby/gherkin/gherkin-2.12.0-r3.ebuild | 95 ------------------------------- |
14 |
2 files changed, 96 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest |
17 |
index dd898708a14..ca7423e0254 100644 |
18 |
--- a/dev-ruby/gherkin/Manifest |
19 |
+++ b/dev-ruby/gherkin/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST gherkin-2.12.0-git.tgz 605964 BLAKE2B 035f3ce3541010d42351b728c4452befa4939da0216b059d3895f5677e4bffa2a40b389e21292d0051a3126064d137e5e0f2c7bd030e42a8c4ab38cbd4a7f7f2 SHA512 e86c2299bb3b41845bf8a3119b65ff855023510173b04c1e08e1105c03523e0e89ec45db4c7034e85fc20b7a9e1ce5a791aaf3f4793d44c0aa782ffd9fcee83a |
22 |
DIST gherkin-2.12.2-git.tgz 1764938 BLAKE2B b5cc7f063c8567df2dfe92fe805d5310feeba967865221ce69c8c24986ab786851885f4724b17a028daea298eea340b3bcd0c7296f05b02816c837ffdf8a41b5 SHA512 1030bcaf31791c7031f22b8e4c5d94ddbddf012b8686d06a7598fde99a28f8a1fda45dc66dbdefdb825a045730b077a10ca1134835630710551e20364886ce51 |
23 |
DIST gherkin-4.1.3.gem 350208 BLAKE2B 3b0f54124c9f29c9216aaa9810526f1e11f6243b02143443d0ac18209320c14fda67f1c36d3056dbe5adbc18c36f72270054c17a011921eb87f8d21bc3e8c3c9 SHA512 7c113172ddf38ccf7e49eaac19355f3cb991f69d7499dba9189f375b75d3614f349fc6374e584a92c1223b0708cc8944859b4b38e28d79779a5091fa0c775e6e |
24 |
DIST gherkin-5.0.0.gem 340992 BLAKE2B a8292fde04c98c409423733791e78b9d6e40a7a60b59a1acd0a0e9c6df0be9185e90f1c5af6ce0ac39f352457c18094c495557fb05323eb7ea5ae8ce27008950 SHA512 cc782e37f5aea4ad0776f5336e6218b77e7fd8d193786acffaa44685de3a2592e4e6f37a3787add807654901afd12bc2d094a782b154bb2be9e2cd16e283df2a |
25 |
|
26 |
diff --git a/dev-ruby/gherkin/gherkin-2.12.0-r3.ebuild b/dev-ruby/gherkin/gherkin-2.12.0-r3.ebuild |
27 |
deleted file mode 100644 |
28 |
index 77bb691d3a1..00000000000 |
29 |
--- a/dev-ruby/gherkin/gherkin-2.12.0-r3.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,95 +0,0 @@ |
32 |
-# Copyright 1999-2017 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=5 |
36 |
-USE_RUBY="ruby20 ruby21 ruby22" |
37 |
- |
38 |
-RUBY_FAKEGEM_TASK_DOC="" |
39 |
-RUBY_FAKEGEM_TASK_TEST="" |
40 |
- |
41 |
-RUBY_FAKEGEM_DOCDIR="rdoc" |
42 |
-RUBY_FAKEGEM_EXTRADOC="History.md README.md" |
43 |
- |
44 |
-inherit ruby-fakegem |
45 |
- |
46 |
-DESCRIPTION="Fast Gherkin lexer and parser based on Ragel" |
47 |
-HOMEPAGE="https://github.com/cucumber/gherkin" |
48 |
-LICENSE="MIT" |
49 |
-SRC_URI="https://github.com/cucumber/gherkin/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
50 |
- |
51 |
-KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~sparc x86" |
52 |
-SLOT="0" |
53 |
-IUSE="doc test" |
54 |
- |
55 |
-DEPEND="${DEPEND} =dev-util/ragel-6*" |
56 |
-RDEPEND="${RDEPEND}" |
57 |
- |
58 |
-ruby_add_bdepend " |
59 |
- dev-ruby/rake-compiler |
60 |
- test? ( |
61 |
- >=dev-ruby/builder-2.1.2 |
62 |
- >=dev-util/cucumber-1.1.3 |
63 |
- >=dev-ruby/rspec-2.6.0:2 |
64 |
- >=dev-ruby/term-ansicolor-1.0.5 |
65 |
- ) |
66 |
- doc? ( >=dev-ruby/yard-0.8.3 )" |
67 |
- |
68 |
-ruby_add_rdepend ">=dev-ruby/multi_json-1.3" |
69 |
- |
70 |
-RUBY_PATCHES=( ${P}-ruby21.patch ) |
71 |
- |
72 |
-all_ruby_prepare() { |
73 |
- # Remove Bundler-related things. |
74 |
- sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb features/support/env.rb || die |
75 |
- rm Gemfile || die |
76 |
- |
77 |
- # Don't use compile dependencies to avoid building again for specs. |
78 |
- sed -i -e '/:compile/d' Rakefile |
79 |
- |
80 |
- # Keep this hardcoded -O0 optimization level since |
81 |
- # https://github.com/cucumber/gherkin/issues/182#issuecomment-6945009 |
82 |
- # hints at the fact that removing it might cause the mysterious |
83 |
- # Lexer errors that hapen intermittently. |
84 |
- # sed -ie -e 's/-O0//' tasks/compile.rake || die |
85 |
- |
86 |
- # Remove feature that depends on direct access to the cucumber |
87 |
- # source. We could probably set this up by downloading the source |
88 |
- # and unpacking it, but skipping this now in the interest of time. |
89 |
- rm features/pretty_formatter.feature || die |
90 |
- |
91 |
- # We need to remove these tasks during bootstrapping since it tries |
92 |
- # to load cucumber already but we can be sure it isn't installed |
93 |
- # yet. Also remove other rake tasks for which we may not yet have |
94 |
- # dependencies. |
95 |
- if ! use test ; then |
96 |
- rm tasks/cucumber.rake tasks/rspec.rake || die "Unable to remove rake tasks." |
97 |
- fi |
98 |
- |
99 |
- # Avoid dependency on yard if USE=-doc |
100 |
- if ! use doc ; then |
101 |
- rm tasks/apidoc.rake || die |
102 |
- fi |
103 |
- |
104 |
- # Avoid implicit dependency on git |
105 |
- sed -i -e 's/git ls-files/echo/' gherkin.gemspec || die |
106 |
- |
107 |
- # Fix deprecated code removed in ruby22 |
108 |
- sed -i -e 's/Config/RbConfig/' tasks/ragel_task.rb || die |
109 |
-} |
110 |
- |
111 |
-all_ruby_compile() { |
112 |
- all_fakegem_compile |
113 |
- |
114 |
- if use doc ; then |
115 |
- yard || die |
116 |
- fi |
117 |
-} |
118 |
- |
119 |
-each_ruby_compile() { |
120 |
- ${RUBY} -I lib -S rake -rrake/clean -f tasks/compile.rake compile || die |
121 |
-} |
122 |
- |
123 |
-each_ruby_test() { |
124 |
- ${RUBY} -I lib -S rspec-2 spec || die "Specs failed" |
125 |
- CUCUMBER_HOME="${HOME}" RUBYLIB=lib ${RUBY} -S cucumber features || die "Cucumber features failed" |
126 |
-} |