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/weakling: weakling-0.0.3-r1.ebuild ChangeLog
Date: Sun, 01 May 2011 15:00:28
Message-Id: 20110501145957.A11372004F@flycatcher.gentoo.org
1 graaff 11/05/01 14:59:57
2
3 Modified: ChangeLog
4 Added: weakling-0.0.3-r1.ebuild
5 Log:
6 Compile the jar file instead of using the shipped version. Thanks for James Le Cuirot for the ebuild and investigation in bug 365463.
7
8 (Portage version: 2.1.9.42/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 dev-ruby/weakling/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/weakling/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/weakling/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/weakling/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/weakling/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 30 Apr 2011 15:13:34 -0000 1.1
24 +++ ChangeLog 1 May 2011 14:59:57 -0000 1.2
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/weakling
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/weakling/ChangeLog,v 1.1 2011/04/30 15:13:34 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/weakling/ChangeLog,v 1.2 2011/05/01 14:59:57 graaff Exp $
30 +
31 +*weakling-0.0.3-r1 (01 May 2011)
32 +
33 + 01 May 2011; Hans de Graaff <graaff@g.o> +weakling-0.0.3-r1.ebuild:
34 + Compile the jar file instead of using the shipped version. Thanks for
35 + James Le Cuirot for the ebuild and investigation in bug 365463.
36
37 *weakling-0.0.3 (30 Apr 2011)
38
39
40
41
42 1.1 dev-ruby/weakling/weakling-0.0.3-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/weakling/weakling-0.0.3-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/weakling/weakling-0.0.3-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: weakling-0.0.3-r1.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/weakling/weakling-0.0.3-r1.ebuild,v 1.1 2011/05/01 14:59:57 graaff Exp $
52
53 EAPI=2
54
55 # This package is specifically for JRuby.
56 USE_RUBY="jruby"
57
58 RUBY_FAKEGEM_TASK_DOC=""
59 RUBY_FAKEGEM_DOCDIR="doc"
60 RUBY_FAKEGEM_EXTRADOC="HISTORY.txt README.txt"
61
62 RUBY_FAKEGEM_TASK_TEST=""
63
64 inherit java-pkg-2 java-pkg-simple ruby-fakegem
65
66 DESCRIPTION="weakling: a collection of weakref utilities for Ruby"
67 HOMEPAGE="http://github.com/headius/weakling"
68 LICENSE="Apache-2.0" # Not distributed in gem but in github repository
69
70 KEYWORDS="~amd64"
71 SLOT="0"
72 IUSE=""
73
74 CDEPEND="dev-java/bytelist
75 dev-java/jruby"
76
77 DEPEND="${CDEPEND}
78 >=virtual/jdk-1.5"
79
80 RDEPEND="${CDEPEND}
81 >=virtual/jre-1.5"
82
83 JAVA_GENTOO_CLASSPATH="bytelist jruby"
84
85 pkg_setup() {
86 java-pkg-2_pkg_setup
87 ruby-ng_pkg_setup
88 }
89
90 each_ruby_compile() {
91 java-pkg-simple_src_compile
92 cp "${PN}.jar" "lib/refqueue.jar" || die
93 }