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.6.ebuild
Date: Sat, 12 Feb 2011 08:44:02
Message-Id: 20110212084352.6902D20054@flycatcher.gentoo.org
1 graaff 11/02/12 08:43:52
2
3 Modified: ChangeLog
4 Added: rake-compiler-0.7.6.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.9.25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.28 dev-ruby/rake-compiler/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 11 Feb 2011 08:39:44 -0000 1.27
24 +++ ChangeLog 12 Feb 2011 08:43:52 -0000 1.28
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.27 2011/02/11 08:39:44 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rake-compiler/ChangeLog,v 1.28 2011/02/12 08:43:52 graaff Exp $
30 +
31 +*rake-compiler-0.7.6 (12 Feb 2011)
32 +
33 + 12 Feb 2011; Hans de Graaff <graaff@g.o>
34 + +rake-compiler-0.7.6.ebuild:
35 + Version bump.
36
37 11 Feb 2011; Hans de Graaff <graaff@g.o>
38 -rake-compiler-0.7.1.ebuild:
39
40
41
42 1.1 dev-ruby/rake-compiler/rake-compiler-0.7.6.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rake-compiler/rake-compiler-0.7.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rake-compiler-0.7.6.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.6.ebuild,v 1.1 2011/02/12 08:43:52 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 ~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-ruby/rspec:0 dev-util/cucumber dev-ruby/rubygems )"
78
79 ruby_add_rdepend "dev-ruby/rake"
80
81 each_ruby_prepare() {
82 case ${RUBY} in
83 *ruby19|*jruby)
84 # Remove this task so that it won't load on Ruby 1.9 and JRuby
85 # that lack the package_task file. It is, though, needed for the
86 # tests
87 rm tasks/gem.rake || die
88 ;;
89 *)
90 ;;
91 esac
92 }
93
94 each_ruby_test() {
95 case ${RUBY} in
96 *ruby19|*jruby)
97 ewarn "Tests disabled for this implementation. Long story, check ebuild if you want."
98 ;;
99 *)
100 each_fakegem_test
101 ;;
102 esac
103 }