From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/ffi: metadata.xml ChangeLog ffi-0.5.4.ebuild |
Date: | Sun, 31 Jan 2010 14:35:50 |
Message-Id: | E1Nbatw-0003gv-Gq@stork.gentoo.org |
1 | flameeyes 10/01/31 14:35:48 |
2 | |
3 | Added: metadata.xml ChangeLog ffi-0.5.4.ebuild |
4 | Log: |
5 | Initial import of ffi gem for Ruby 1.8 and Ruby 1.9. This will be used by ffi-based extensions, supported by both MRI and JRuby. |
6 | (Portage version: 2.2_rc62/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-ruby/ffi/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>ruby</herd> |
20 | </pkgmetadata> |
21 | |
22 | |
23 | |
24 | 1.1 dev-ruby/ffi/ChangeLog |
25 | |
26 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.1&view=markup |
27 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.1&content-type=text/plain |
28 | |
29 | Index: ChangeLog |
30 | =================================================================== |
31 | # ChangeLog for dev-ruby/ffi |
32 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
33 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.1 2010/01/31 14:35:47 flameeyes Exp $ |
34 | |
35 | *ffi-0.5.4 (31 Jan 2010) |
36 | |
37 | 31 Jan 2010; Diego E. Pettenò <flameeyes@g.o> +ffi-0.5.4.ebuild, |
38 | +files/ffi-0.5.4-rakefile.patch, +metadata.xml: |
39 | Initial import of ffi gem for Ruby 1.8 and Ruby 1.9. This will be used by |
40 | ffi-based extensions, supported by both MRI and JRuby. |
41 | |
42 | |
43 | |
44 | |
45 | 1.1 dev-ruby/ffi/ffi-0.5.4.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ffi-0.5.4.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ffi/ffi-0.5.4.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: ffi-0.5.4.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2010 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-0.5.4.ebuild,v 1.1 2010/01/31 14:35:47 flameeyes Exp $ |
55 | |
56 | EAPI=2 |
57 | |
58 | # jruby → unneeded, this is part of the standard JRuby distribution, |
59 | # and would just install a dummy |
60 | USE_RUBY="ruby18 ruby19" |
61 | |
62 | RUBY_FAKEGEM_TASK_TEST="spec" |
63 | |
64 | RUBY_FAKEGEM_TASK_DOC="doc:rdoc" |
65 | RUBY_FAKEGEM_DOCDIR="doc" |
66 | RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" |
67 | |
68 | inherit ruby-fakegem |
69 | |
70 | DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" |
71 | HOMEPAGE="http://wiki.github.com/ffi/ffi" |
72 | |
73 | SRC_URI="http://github.com/ffi/ffi/tarball/0.5.4 -> ${PN}-git-${PV}.tgz" |
74 | |
75 | S="${WORKDIR}/ffi-ffi-57b5d81" |
76 | |
77 | IUSE="" |
78 | LICENSE="BSD" |
79 | SLOT="0" |
80 | KEYWORDS="~amd64" |
81 | |
82 | all_ruby_prepare() { |
83 | epatch "${FILESDIR}"/${P}-rakefile.patch |
84 | } |
85 | |
86 | each_ruby_compile() { |
87 | ${RUBY} -S rake compile || die "compile failed" |
88 | } |
89 | |
90 | all_ruby_install() { |
91 | all_fakegem_install |
92 | |
93 | docinto examples |
94 | dodoc samples/* || die |
95 | } |