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/ruby-inline: ChangeLog ruby-inline-3.8.6.ebuild
Date: Sat, 02 Oct 2010 09:30:49
Message-Id: 20101002093044.D4A7520051@flycatcher.gentoo.org
1 graaff 10/10/02 09:30:44
2
3 Modified: ChangeLog
4 Added: ruby-inline-3.8.6.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.27 dev-ruby/ruby-inline/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-inline/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-inline/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-inline/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ruby-inline/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 28 Aug 2010 13:15:41 -0000 1.26
23 +++ ChangeLog 2 Oct 2010 09:30:44 -0000 1.27
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/ruby-inline
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-inline/ChangeLog,v 1.26 2010/08/28 13:15:41 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-inline/ChangeLog,v 1.27 2010/10/02 09:30:44 graaff Exp $
29 +
30 +*ruby-inline-3.8.6 (02 Oct 2010)
31 +
32 + 02 Oct 2010; Hans de Graaff <graaff@g.o> +ruby-inline-3.8.6.ebuild:
33 + Version bump.
34
35 *ruby-inline-3.8.4-r2 (28 Aug 2010)
36
37
38
39
40 1.1 dev-ruby/ruby-inline/ruby-inline-3.8.6.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-inline/ruby-inline-3.8.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ruby-inline/ruby-inline-3.8.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ruby-inline-3.8.6.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-inline/ruby-inline-3.8.6.ebuild,v 1.1 2010/10/02 09:30:44 graaff Exp $
50
51 EAPI=2
52
53 USE_RUBY="ruby18 ree18 ruby19"
54
55 RUBY_FAKEGEM_NAME="RubyInline"
56
57 RUBY_FAKEGEM_TASK_DOC="docs"
58 RUBY_FAKEGEM_DOCDIR="doc"
59 RUBY_FAKEGEM_EXTRADOC="README.txt History.txt"
60
61 inherit ruby-fakegem
62
63 DESCRIPTION="Allows to embed C/C++ in Ruby code"
64 HOMEPAGE="http://www.zenspider.com/ZSS/Products/RubyInline/"
65
66 LICENSE="MIT"
67 SLOT="0"
68 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
69 IUSE=""
70
71 ruby_add_rdepend dev-ruby/zentest
72
73 ruby_add_bdepend "
74 doc? (
75 dev-ruby/hoe
76 dev-ruby/hoe-seattlerb
77 )
78 test? (
79 dev-ruby/hoe
80 dev-ruby/hoe-seattlerb
81 virtual/ruby-test-unit
82 )"
83
84 all_ruby_prepare() {
85 # we have to patch the code so that it takes the RUBY_DESCRIPTION
86 # into consideration, to avoid loading Ruby-Enterprise (REE18)
87 # objects in MRI and vice-versa; we're a bit “greedier” since we
88 # will rebuild objects even when just switching versions, but
89 # it'll be better this way than being too conservatives.
90 epatch "${FILESDIR}/${PN}-3.8.4-gentoo.patch"
91
92 # Respect ruby's (and thus Gentoo's) LDFLAGS, and explicitly link
93 # against the ruby shared library to avoid confusion and potential
94 # crashes when later using the shared object.
95 epatch "${FILESDIR}/${PN}-3.8.4-ldflags.patch"
96 }
97
98 all_ruby_install() {
99 all_fakegem_install
100
101 docinto examples
102 dodoc example.rb example2.rb demo/*.rb || die
103 }