Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rcov: ChangeLog rcov-0.9.7.1.ebuild rcov-0.8.1.2.0.ebuild rcov-0.9.6-r1.ebuild rcov-0.9.6.ebuild rcov-0.9.7.ebuild
Date: Tue, 29 Dec 2009 19:29:17
Message-Id: E1NPhkn-0004bK-QF@stork.gentoo.org
1 flameeyes 09/12/29 19:29:13
2
3 Modified: ChangeLog
4 Added: rcov-0.9.7.1.ebuild
5 Removed: rcov-0.8.1.2.0.ebuild rcov-0.9.6-r1.ebuild
6 rcov-0.9.6.ebuild rcov-0.9.7.ebuild
7 Log:
8 Version bump, remove old versions, restrict tests again, remove jruby support for now, even though the ebuild is ready to handle it properly this time.
9 (Portage version: 2.2_rc61/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.11 dev-ruby/rcov/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcov/ChangeLog?rev=1.11&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcov/ChangeLog?rev=1.11&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcov/ChangeLog?r1=1.10&r2=1.11
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rcov/ChangeLog,v
21 retrieving revision 1.10
22 retrieving revision 1.11
23 diff -u -r1.10 -r1.11
24 --- ChangeLog 28 Dec 2009 12:15:33 -0000 1.10
25 +++ ChangeLog 29 Dec 2009 19:29:13 -0000 1.11
26 @@ -1,6 +1,15 @@
27 # ChangeLog for dev-ruby/rcov
28 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/ChangeLog,v 1.10 2009/12/28 12:15:33 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/ChangeLog,v 1.11 2009/12/29 19:29:13 flameeyes Exp $
31 +
32 +*rcov-0.9.7.1 (29 Dec 2009)
33 +
34 + 29 Dec 2009; Diego E. Pettenò <flameeyes@g.o>
35 + -rcov-0.8.1.2.0.ebuild, -rcov-0.9.6.ebuild, -rcov-0.9.6-r1.ebuild,
36 + -rcov-0.9.7.ebuild, +rcov-0.9.7.1.ebuild:
37 + Version bump, remove old versions, restrict tests again, remove jruby
38 + support for now, even though the ebuild is ready to handle it properly
39 + this time.
40
41 *rcov-0.9.7 (28 Dec 2009)
42
43
44
45
46 1.1 dev-ruby/rcov/rcov-0.9.7.1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcov/rcov-0.9.7.1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcov/rcov-0.9.7.1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: rcov-0.9.7.1.ebuild
52 ===================================================================
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/rcov-0.9.7.1.ebuild,v 1.1 2009/12/29 19:29:13 flameeyes Exp $
56
57 EAPI=2
58
59 # jruby → is supported but there is something strange, maybe we need a
60 # newer version of it.
61 USE_RUBY="ruby18 ruby19"
62
63 RUBY_FAKEGEM_TASK_TEST="test_rcovrt"
64
65 RUBY_FAKEGEM_DOCDIR="rdoc"
66 RUBY_FAKEGEM_EXTRADOC="THANKS BLURB"
67
68 inherit ruby-fakegem versionator
69
70 DESCRIPTION="A ruby code coverage analysis tool"
71 HOMEPAGE="http://eigenclass.org/hiki.rb?rcov"
72 SRC_URI="http://github.com/relevance/${PN}/tarball/release_$(replace_all_version_separators _) -> ${P}.tgz"
73
74 S="${WORKDIR}/relevance-${PN}-6f33de1"
75
76 LICENSE="GPL-2"
77 SLOT="0"
78 KEYWORDS="~amd64 ~ppc ~x86"
79
80 # TODO: both emacs and vim support are present in this package, they
81 # should probably be added to the ebuild as well.
82 IUSE=""
83
84 # Tests are currently failing but upstream says it should be fine, I
85 # think it's a bug in their code but we'll see.
86 RESTRICT=test
87
88 all_ruby_prepare() {
89 # Without this change, testing will always cause the extension to
90 # be rebuilt, and we don't want that.
91 sed -i -e '/:test_rcovrt =>/s| => \[.*\]||' Rakefile || "Rakefile fix failed"
92
93 # remove pre-packaged jar file (d'oh!)
94 rm lib/rcovrt.jar || die
95 }
96
97 each_ruby_compile() {
98 if [[ $(basename ${RUBY}) = "jruby" ]]; then
99 ${RUBY} -S rake lib/rcovrt.jar || die "build failed"
100 else
101 ${RUBY} -S rake ext/rcovrt/rcovrt.so || die "build failed"
102 fi
103 }
104
105 each_ruby_install() {
106 each_fakegem_install
107
108 if [[ $(basename ${RUBY}) != "jruby" ]]; then
109 ruby_fakegem_newins ext/rcovrt/rcovrt.so lib/rcovrt.so
110 fi
111 }