Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rake-compiler: ChangeLog rake-compiler-0.7.8.ebuild
Date: Thu, 28 Apr 2011 17:08:59
Message-Id: 20110428170846.7CC9820054@flycatcher.gentoo.org
1 graaff 11/04/28 17:08:46
2
3 Modified: ChangeLog
4 Added: rake-compiler-0.7.8.ebuild
5 Log:
6 Version bump. Run specs for jruby.
7
8 (Portage version: 2.1.9.42/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.38 dev-ruby/rake-compiler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?rev=1.38&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?rev=1.38&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?r1=1.37&r2=1.38
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v
20 retrieving revision 1.37
21 retrieving revision 1.38
22 diff -u -r1.37 -r1.38
23 --- ChangeLog 16 Apr 2011 17:40:42 -0000 1.37
24 +++ ChangeLog 28 Apr 2011 17:08:46 -0000 1.38
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/rake-compiler
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.37 2011/04/16 17:40:42 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.38 2011/04/28 17:08:46 graaff Exp $
30 +
31 +*rake-compiler-0.7.8 (28 Apr 2011)
32 +
33 + 28 Apr 2011; Hans de Graaff <graaff@g.o>
34 + +rake-compiler-0.7.8.ebuild:
35 + Version bump. Run specs for jruby.
36
37 16 Apr 2011; Raúl Porcel <armin76@g.o> rake-compiler-0.7.5.ebuild:
38 ia64 stable wrt #357489
39
40
41
42 1.1 dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rake-compiler-0.7.8.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.8.ebuild,v 1.1 2011/04/28 17:08:46 graaff Exp $
52
53 EAPI=2
54 USE_RUBY="ruby18 ree18 ruby19 jruby"
55
56 # Tests for now seem only to work when rubygems is fully installed for
57 # the implementation and that for now only means Ruby 1.8
58 RUBY_FAKEGEM_TASK_TEST="-f tasks/rspec.rake -f tasks/cucumber.rake spec cucumber"
59
60 RUBY_FAKEGEM_TASK_DOC=""
61 RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
62
63 inherit ruby-fakegem eutils
64
65 DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions"
66 HOMEPAGE="http://github.com/luislavena/rake-compiler"
67 LICENSE="as-is" # truly
68
69 SRC_URI="http://github.com/luislavena/${PN}/tarball/v${PV} -> ${P}.tar.gz"
70 S="${WORKDIR}/luislavena-${PN}-*"
71
72 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
73 SLOT="0"
74 IUSE=""
75
76 USE_RUBY=ruby18 \
77 ruby_add_bdepend "test? ( dev-util/cucumber )"
78
79 ruby_add_bdepend "test? ( dev-ruby/rspec:0 dev-ruby/rubygems )"
80 ruby_add_rdepend "dev-ruby/rake"
81
82 each_ruby_prepare() {
83 case ${RUBY} in
84 *ruby19|*jruby)
85 # Remove this task so that it won't load on Ruby 1.9 and JRuby
86 # that lack the package_task file. It is, though, needed for the
87 # tests
88 rm tasks/gem.rake || die
89 # Remove specs aimed at a C-compiling ruby implementation.
90 rm spec/lib/rake/extensiontask_spec.rb || die
91 ;;
92 *)
93 ;;
94 esac
95 }
96
97 each_ruby_test() {
98 case ${RUBY} in
99 *ruby19)
100 ewarn "Tests disabled for this implementation. Long story, check ebuild if you want."
101 ;;
102 *jruby)
103 ${RUBY} -S spec spec || die "Tests failed."
104 ;;
105 *)
106 each_fakegem_test
107 ;;
108 esac
109 }