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/ffi: ChangeLog ffi-1.0.7.ebuild
Date: Mon, 02 May 2011 18:12:36
Message-Id: 20110502181226.2BEEE20054@flycatcher.gentoo.org
1 graaff 11/05/02 18:12:25
2
3 Modified: ChangeLog
4 Added: ffi-1.0.7.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.9.42/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.16 dev-ruby/ffi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 28 Dec 2010 08:51:18 -0000 1.15
24 +++ ChangeLog 2 May 2011 18:12:25 -0000 1.16
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/ffi
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.15 2010/12/28 08:51:18 grobian Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.16 2011/05/02 18:12:25 graaff Exp $
31 +
32 +*ffi-1.0.7 (02 May 2011)
33 +
34 + 02 May 2011; Hans de Graaff <graaff@g.o> +ffi-1.0.7.ebuild:
35 + Version bump.
36
37 28 Dec 2010; Fabian Groffen <grobian@g.o> ffi-0.6.3-r1.ebuild:
38 Marked ~x64-solaris
39
40
41
42 1.1 dev-ruby/ffi/ffi-1.0.7.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ffi-1.0.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ffi-1.0.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ffi-1.0.7.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/ffi/ffi-1.0.7.ebuild,v 1.1 2011/05/02 18:12:25 graaff Exp $
52
53 EAPI=2
54
55 # jruby → unneeded, this is part of the standard JRuby distribution, and
56 # would just install a dummy. ree18 targets no longer supported upstream
57 # due to threading issues.
58 USE_RUBY="ruby18 ruby19"
59
60 RUBY_FAKEGEM_TASK_TEST="spec"
61
62 RUBY_FAKEGEM_TASK_DOC="doc:rdoc"
63 RUBY_FAKEGEM_DOCDIR="doc"
64 RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
65
66 inherit ruby-fakegem
67
68 DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
69 HOMEPAGE="http://wiki.github.com/ffi/ffi"
70
71 SRC_URI="http://github.com/${PN}/${PN}/tarball/${PV} -> ${PN}-git-${PV}.tgz"
72 S="${WORKDIR}/${PN}-${PN}-*"
73
74 IUSE=""
75 LICENSE="BSD"
76 SLOT="0"
77 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
78
79 RDEPEND="${RDEPEND} dev-libs/libffi"
80 DEPEND="${DEPEND} dev-libs/libffi"
81
82 ruby_add_bdepend dev-ruby/rake-compiler
83
84 each_ruby_compile() {
85 ${RUBY} -S rake compile || die "compile failed"
86 ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
87 }
88
89 all_ruby_install() {
90 all_fakegem_install
91
92 docinto examples
93 dodoc samples/* || die
94 }