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/narray: ChangeLog narray-0.6.0.9.ebuild
Date: Fri, 30 May 2014 07:02:50
Message-Id: 20140530070246.D6AAF2004E@flycatcher.gentoo.org
1 graaff 14/05/30 07:02:46
2
3 Modified: ChangeLog
4 Added: narray-0.6.0.9.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.67 dev-ruby/narray/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/narray/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/narray/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/narray/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 24 May 2014 10:11:42 -0000 1.66
24 +++ ChangeLog 30 May 2014 07:02:46 -0000 1.67
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/narray
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v 1.66 2014/05/24 10:11:42 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/ChangeLog,v 1.67 2014/05/30 07:02:46 graaff Exp $
30 +
31 +*narray-0.6.0.9 (30 May 2014)
32 +
33 + 30 May 2014; Hans de Graaff <graaff@g.o> +narray-0.6.0.9.ebuild:
34 + Version bump.
35
36 24 May 2014; Agostino Sarubbo <ago@g.o> narray-0.6.0.8-r1.ebuild:
37 Stable for x86, wrt bug #506290
38
39
40
41 1.1 dev-ruby/narray/narray-0.6.0.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/narray/narray-0.6.0.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/narray/narray-0.6.0.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: narray-0.6.0.9.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/narray/narray-0.6.0.9.ebuild,v 1.1 2014/05/30 07:02:46 graaff Exp $
51
52 EAPI=5
53
54 # jruby → native extension
55 USE_RUBY="ruby19 ruby20 ruby21"
56
57 RUBY_FAKEGEM_TASK_TEST=""
58 RUBY_FAKEGEM_TASK_DOC=""
59
60 RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md README.ja.md SPEC.en.txt SPEC.ja.txt"
61
62 RUBY_FAKEGEM_VERSION="${PV/_p/.}"
63
64 inherit multilib ruby-fakegem
65
66 DESCRIPTION="Numerical N-dimensional Array class"
67 HOMEPAGE="http://www.ir.isas.ac.jp/~masa/ruby/index-e.html"
68 SRC_URI="https://github.com/masa16/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
69
70 LICENSE="Ruby"
71 SLOT="0"
72 KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~x86"
73
74 IUSE=""
75
76 all_ruby_prepare() {
77 # the tests aren't really written to be a testsuite, so the
78 # failure cases will literally fail; ignore all of those and
79 # instead expect that the rest won't fail.
80 sed -i -e '/[fF]ollowing will fail/,$ s:^:#:' \
81 -e '/next will fail/,$ s:^:#:' \
82 test/*.rb || die "sed failed"
83 }
84
85 each_ruby_configure() {
86 ${RUBY} extconf.rb || die "extconf.rb failed"
87 }
88
89 each_ruby_compile() {
90 emake V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
91 cp -l ${PN}$(get_modname) ${PN}.h ${PN}_config.h lib/ || die "copy of ${PN}$(get_modname) failed"
92 }
93
94 each_ruby_test() {
95 for unit in test/*; do
96 # Skip over the FFTW test because it needs a package we don't
97 # have in tree.
98 [[ ${unit} == test/testfftw.rb ]] && continue
99
100 ${RUBY} -Ilib ${unit} || die "test ${unit} failed"
101 done
102 }