1 |
flameeyes 10/01/28 12:03:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rake-compiler-0.7.0-r1.ebuild |
5 |
Log: |
6 |
Revision bump to enable all tests, and add proper dependencies. Tests are disabled for ruby19 and jruby for now as they need full rubygems support. Also add patch for tests to work fine with Ruby 1.8.7. |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.7 dev-ruby/rake-compiler/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?rev=1.7&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?rev=1.7&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?r1=1.6&r2=1.7 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v |
19 |
retrieving revision 1.6 |
20 |
retrieving revision 1.7 |
21 |
diff -u -r1.6 -r1.7 |
22 |
--- ChangeLog 17 Jan 2010 14:02:55 -0000 1.6 |
23 |
+++ ChangeLog 28 Jan 2010 12:03:14 -0000 1.7 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for dev-ruby/rake-compiler |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.6 2010/01/17 14:02:55 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.7 2010/01/28 12:03:14 flameeyes Exp $ |
29 |
+ |
30 |
+*rake-compiler-0.7.0-r1 (28 Jan 2010) |
31 |
+ |
32 |
+ 28 Jan 2010; Diego E. Pettenò <flameeyes@g.o> |
33 |
+ +rake-compiler-0.7.0-r1.ebuild, |
34 |
+ +files/rake-compiler-0.7.0+ruby-1.8.7.patch: |
35 |
+ Revision bump to enable all tests, and add proper dependencies. Tests are |
36 |
+ disabled for ruby19 and jruby for now as they need full rubygems support. |
37 |
+ Also add patch for tests to work fine with Ruby 1.8.7. |
38 |
|
39 |
17 Jan 2010; Diego E. Pettenò <flameeyes@g.o> |
40 |
rake-compiler-0.7.0.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: rake-compiler-0.7.0-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.0-r1.ebuild,v 1.1 2010/01/28 12:03:14 flameeyes Exp $ |
54 |
|
55 |
EAPI=2 |
56 |
USE_RUBY="ruby18 ruby19 jruby" |
57 |
|
58 |
# Tests for now seem only to work when rubygems is fully installed for |
59 |
# the implementation and that for now only means Ruby 1.8 |
60 |
RUBY_FAKEGEM_TASK_TEST="spec cucumber" |
61 |
|
62 |
RUBY_FAKEGEM_DOCDIR="doc/api" |
63 |
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" |
64 |
|
65 |
inherit ruby-fakegem eutils |
66 |
|
67 |
DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" |
68 |
HOMEPAGE="http://github.com/luislavena/rake-compiler" |
69 |
LICENSE="as-is" # truly |
70 |
|
71 |
SRC_URI="http://github.com/luislavena/${PN}/tarball/v${PV} -> ${P}.tar.gz" |
72 |
S="${WORKDIR}/luislavena-${PN}-2834041" |
73 |
|
74 |
KEYWORDS="~amd64 ~x86" |
75 |
SLOT="0" |
76 |
IUSE="" |
77 |
|
78 |
ruby_add_bdepend doc ">=dev-ruby/rdoc-2.4.3" |
79 |
|
80 |
USE_RUBY=ruby18 \ |
81 |
ruby_add_bdepend "test ruby_targets_ruby18" "dev-ruby/rspec dev-util/cucumber dev-ruby/rubygems" |
82 |
|
83 |
all_ruby_prepare() { |
84 |
epatch "${FILESDIR}"/${P}+ruby-1.8.7.patch |
85 |
} |
86 |
|
87 |
each_ruby_prepare() { |
88 |
case ${RUBY} in |
89 |
*ruby19|*jruby) |
90 |
# Remove this task so that it won't load on Ruby 1.9 and JRuby |
91 |
# that lack the package_task file. It is, though, needed for the |
92 |
# tests |
93 |
rm tasks/gem.rake || die |
94 |
;; |
95 |
*) |
96 |
;; |
97 |
esac |
98 |
} |
99 |
|
100 |
each_ruby_test() { |
101 |
case ${RUBY} in |
102 |
*ruby19|*jruby) |
103 |
ewarn "Tests disabled for this implementation. Long story, check ebuild if you want." |
104 |
;; |
105 |
*) |
106 |
each_fakegem_test |
107 |
;; |
108 |
esac |
109 |
} |