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.9.1.ebuild
Date: Tue, 29 Oct 2013 15:56:03
Message-Id: 20131029155555.BA2AF20047@flycatcher.gentoo.org
1 graaff 13/10/29 15:55:55
2
3 Modified: ChangeLog
4 Added: ffi-1.9.1.ebuild
5 Log:
6 Version bump. Add ruby20. Drop ree18. Drop alpha,ia64,ppc64,sparc keywords for bug 465948.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.52 dev-ruby/ffi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.52&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.52&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?r1=1.51&r2=1.52
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v
20 retrieving revision 1.51
21 retrieving revision 1.52
22 diff -u -r1.51 -r1.52
23 --- ChangeLog 20 Oct 2013 22:25:17 -0000 1.51
24 +++ ChangeLog 29 Oct 2013 15:55:55 -0000 1.52
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/ffi
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.51 2013/10/20 22:25:17 chainsaw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.52 2013/10/29 15:55:55 graaff Exp $
30 +
31 +*ffi-1.9.1 (29 Oct 2013)
32 +
33 + 29 Oct 2013; Hans de Graaff <graaff@g.o> +ffi-1.9.1.ebuild:
34 + Version bump. Add ruby20. Drop ree18. Drop alpha,ia64,ppc64,sparc keywords
35 + for bug 465948.
36
37 20 Oct 2013; Tony Vroon <chainsaw@g.o> ffi-1.4.0.ebuild:
38 Marked stable on AMD64 based on arch testing by Elijah "Armageddon" El
39
40
41
42 1.1 dev-ruby/ffi/ffi-1.9.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ffi-1.9.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ffi-1.9.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ffi-1.9.1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 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.9.1.ebuild,v 1.1 2013/10/29 15:55:55 graaff Exp $
52
53 EAPI=5
54
55 # jruby → unneeded, this is part of the standard JRuby distribution, and
56 # would just install a dummy.
57 USE_RUBY="ruby18 ruby19 ruby20"
58
59 RUBY_FAKEGEM_TASK_TEST="specs"
60
61 RUBY_FAKEGEM_TASK_DOC="doc:yard"
62 RUBY_FAKEGEM_DOCDIR="doc"
63 RUBY_FAKEGEM_EXTRADOC="README.md"
64
65 inherit ruby-fakegem
66
67 DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
68 HOMEPAGE="http://wiki.github.com/ffi/ffi"
69
70 SRC_URI="http://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
71
72 IUSE=""
73 LICENSE="LGPL-3"
74 SLOT="0"
75 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
76
77 RDEPEND="${RDEPEND} virtual/libffi"
78 DEPEND="${DEPEND} virtual/libffi"
79
80 ruby_add_bdepend "dev-ruby/rake-compiler dev-ruby/yard
81 test? ( dev-ruby/rspec:2 )"
82
83 ruby_add_rdepend "virtual/ruby-threads"
84
85 all_ruby_prepare() {
86 sed -i -e '/tasks/ s:^:#:' \
87 -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die
88 }
89
90 each_ruby_compile() {
91 ${RUBY} -S rake compile || die "compile failed"
92 ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
93 }
94
95 all_ruby_install() {
96 all_fakegem_install
97
98 docinto examples
99 dodoc samples/*
100 }