Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/ffi: ffi-1.9.3.ebuild ChangeLog ffi-1.9.1.ebuild ffi-1.9.2.ebuild
Date: Sat, 02 Nov 2013 20:15:51
Message-Id: 20131102201544.62D352004B@flycatcher.gentoo.org
1 mrueg 13/11/02 20:15:44
2
3 Modified: ChangeLog
4 Added: ffi-1.9.3.ebuild
5 Removed: ffi-1.9.1.ebuild ffi-1.9.2.ebuild
6 Log:
7 Version bump. Cleanup old 1.9.x series.
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
10
11 Revision Changes Path
12 1.54 dev-ruby/ffi/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.54&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?rev=1.54&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ChangeLog?r1=1.53&r2=1.54
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v
21 retrieving revision 1.53
22 retrieving revision 1.54
23 diff -u -r1.53 -r1.54
24 --- ChangeLog 30 Oct 2013 05:47:36 -0000 1.53
25 +++ ChangeLog 2 Nov 2013 20:15:43 -0000 1.54
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-ruby/ffi
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.53 2013/10/30 05:47:36 mrueg Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.54 2013/11/02 20:15:43 mrueg Exp $
31 +
32 +*ffi-1.9.3 (02 Nov 2013)
33 +
34 + 02 Nov 2013; Manuel Rüger <mrueg@g.o> +ffi-1.9.3.ebuild,
35 + -ffi-1.9.1.ebuild, -ffi-1.9.2.ebuild:
36 + Version bump. Cleanup old 1.9.x series.
37
38 *ffi-1.9.2 (30 Oct 2013)
39
40
41
42
43 1.1 dev-ruby/ffi/ffi-1.9.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ffi-1.9.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/ffi/ffi-1.9.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ffi-1.9.3.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-1.9.3.ebuild,v 1.1 2013/11/02 20:15:43 mrueg Exp $
53
54 EAPI=5
55
56 # jruby → unneeded, this is part of the standard JRuby distribution, and
57 # would just install a dummy.
58 USE_RUBY="ruby18 ruby19 ruby20"
59
60 RUBY_FAKEGEM_TASK_TEST="specs"
61
62 RUBY_FAKEGEM_TASK_DOC="doc:yard"
63 RUBY_FAKEGEM_DOCDIR="doc"
64 RUBY_FAKEGEM_EXTRADOC="README.md"
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}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
72
73 IUSE=""
74 LICENSE="BSD"
75 SLOT="0"
76 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
77
78 RDEPEND+=" virtual/libffi"
79 DEPEND+=" virtual/libffi"
80
81 ruby_add_bdepend "dev-ruby/rake-compiler dev-ruby/yard
82 test? ( dev-ruby/rspec:2 )"
83
84 ruby_add_rdepend "virtual/ruby-threads"
85
86 all_ruby_prepare() {
87 sed -i -e '/tasks/ s:^:#:' \
88 -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die
89 }
90
91 each_ruby_compile() {
92 ${RUBY} -S rake compile || die "compile failed"
93 ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
94 }
95
96 all_ruby_install() {
97 all_fakegem_install
98
99 docinto examples
100 dodoc samples/*
101 }