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.8.0.ebuild
Date: Sat, 28 Jan 2012 08:25:08
Message-Id: 20120128082458.C78792004B@flycatcher.gentoo.org
1 graaff 12/01/28 08:24:58
2
3 Modified: ChangeLog
4 Added: rake-compiler-0.8.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.44 dev-ruby/rake-compiler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 31 Dec 2011 18:50:20 -0000 1.43
24 +++ ChangeLog 28 Jan 2012 08:24:58 -0000 1.44
25 @@ -1,6 +1,11 @@
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.43 2011/12/31 18:50:20 grobian Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.44 2012/01/28 08:24:58 graaff Exp $
31 +
32 +*rake-compiler-0.8.0 (28 Jan 2012)
33 +
34 + 28 Jan 2012; Hans de Graaff <graaff@g.o> +rake-compiler-0.8.0.ebuild:
35 + Version bump.
36
37 31 Dec 2011; Fabian Groffen <grobian@g.o> rake-compiler-0.7.9.ebuild:
38 Add Prefix keywords, bug #396547
39
40
41
42 1.1 dev-ruby/rake-compiler/rake-compiler-0.8.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.8.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.8.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rake-compiler-0.8.0.ebuild
48 ===================================================================
49 # Copyright 1999-2012 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.8.0.ebuild,v 1.1 2012/01/28 08:24:58 graaff Exp $
52
53 EAPI=4
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 RUBY_S="luislavena-${PN}-*"
71
72 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
73 SLOT="0"
74 IUSE=""
75
76 USE_RUBY="ruby18 ree18" \
77 ruby_add_bdepend "test? ( dev-util/cucumber )"
78
79 ruby_add_bdepend "test? ( dev-ruby/rspec:2 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 ${RUBY} -S rspec spec || die "Tests failed."
101 ;;
102 *jruby)
103 ${RUBY} -S rspec spec || die "Tests failed."
104 ;;
105 *)
106 each_fakegem_test
107 ;;
108 esac
109 }