1 |
commit: a2a8f7066933d35aaadb308f8a46c34e7cee4153 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 05:06:28 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 05:06:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a8f706 |
7 |
|
8 |
dev-ruby/erubis: cleanup |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-ruby/erubis/erubis-2.7.0-r1.ebuild | 56 ---------------------------------- |
13 |
1 file changed, 56 deletions(-) |
14 |
|
15 |
diff --git a/dev-ruby/erubis/erubis-2.7.0-r1.ebuild b/dev-ruby/erubis/erubis-2.7.0-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 3410835..0000000 |
18 |
--- a/dev-ruby/erubis/erubis-2.7.0-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,56 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-USE_RUBY="ruby19 ruby20" |
28 |
- |
29 |
-RUBY_FAKEGEM_TASK_DOC="" |
30 |
-RUBY_FAKEGEM_TASK_TEST="" |
31 |
- |
32 |
-RUBY_FAKEGEM_DOCDIR="doc" |
33 |
-RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.txt" |
34 |
- |
35 |
-inherit ruby-fakegem |
36 |
- |
37 |
-DESCRIPTION="Erubis is an implementation of eRuby" |
38 |
-HOMEPAGE="http://www.kuwata-lab.com/erubis/" |
39 |
- |
40 |
-LICENSE="MIT" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
43 |
-IUSE="" |
44 |
- |
45 |
-ruby_add_rdepend ">=dev-ruby/abstract-1.0.0" |
46 |
- |
47 |
-all_ruby_prepare() { |
48 |
- # These tests now fail due to other ordering and fact that sym |
49 |
- # are now returned. |
50 |
- rm test/test-users-guide.rb || die |
51 |
- sed -i -e '/test-users-guide/ s:^:#:' test/test.rb || die |
52 |
-} |
53 |
- |
54 |
-each_ruby_prepare() { |
55 |
- case ${RUBY} in |
56 |
- *jruby) |
57 |
- # Avoid test on jruby that fails different on syntax error. |
58 |
- sed -i -e '/test_syntax2/,/^ end/ s:^:#:' test/test-main.rb || die |
59 |
- ;; |
60 |
- esac |
61 |
-} |
62 |
- |
63 |
-each_ruby_test() { |
64 |
- case ${RUBY} in |
65 |
- # http://rubyforge.org/tracker/index.php?func=detail&aid=29484&group_id=1320&atid=5201 |
66 |
- *ruby19) |
67 |
- einfo "Tests are not compatible with ruby 1.9.3 with Psych as YAML module." |
68 |
- ;; |
69 |
- *ruby20) |
70 |
- einfo "Tests are not compatible with ruby 2.0.0 with Psych as YAML module." |
71 |
- ;; |
72 |
- *) |
73 |
- PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -I. test/test.rb || die |
74 |
- ;; |
75 |
- esac |
76 |
-} |