Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-perl/math-pari: ChangeLog math-pari-2.10.806.50.ebuild
Date: Sat, 30 Apr 2011 07:31:17
Message-Id: 20110430073107.2912820054@flycatcher.gentoo.org
1 tove 11/04/30 07:31:07
2
3 Modified: ChangeLog
4 Added: math-pari-2.10.806.50.ebuild
5 Log:
6 [bump] dev-perl/math-pari-2.10.806.50
7
8 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.67 dev-perl/math-pari/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/math-pari/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/math-pari/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/math-pari/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-perl/math-pari/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 24 Apr 2011 15:57:27 -0000 1.66
24 +++ ChangeLog 30 Apr 2011 07:31:07 -0000 1.67
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-perl/math-pari
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/math-pari/ChangeLog,v 1.66 2011/04/24 15:57:27 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/math-pari/ChangeLog,v 1.67 2011/04/30 07:31:07 tove Exp $
30 +
31 +*math-pari-2.10.806.50 (30 Apr 2011)
32 +
33 + 30 Apr 2011; Torsten Veller <tove@g.o> +math-pari-2.10.806.50.ebuild:
34 + Version bump
35
36 24 Apr 2011; Fabian Groffen <grobian@g.o>
37 math-pari-2.01080604-r1.ebuild:
38
39
40
41 1.1 dev-perl/math-pari/math-pari-2.10.806.50.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/math-pari/math-pari-2.10.806.50.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-perl/math-pari/math-pari-2.10.806.50.ebuild?rev=1.1&content-type=text/plain
45
46 Index: math-pari-2.10.806.50.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-perl/math-pari/math-pari-2.10.806.50.ebuild,v 1.1 2011/04/30 07:31:07 tove Exp $
51
52 EAPI=4
53
54 MODULE_AUTHOR=ILYAZ
55 MODULE_SECTION=modules
56 MODULE_VERSION=2.01080605
57 MY_PN=Math-Pari
58 inherit perl-module
59
60 PARI_VER=2.3.5
61
62 DESCRIPTION="Perl interface to PARI"
63 SRC_URI="${SRC_URI}
64 http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-${PARI_VER}.tar.gz"
65
66 LICENSE="|| ( Artistic GPL-2 )"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
69 IUSE=""
70
71 # Math::Pari requires that a copy of the pari source in a parallel
72 # directory to where you build it. It does not need to compile it, but
73 # it does need to be the same version as is installed, hence the hard
74 # DEPEND below
75 RDEPEND="~sci-mathematics/pari-${PARI_VER}"
76 DEPEND="${RDEPEND}"
77
78 S_PARI=${WORKDIR}/pari-${PARI_VER}
79 SRC_TEST=do
80
81 src_prepare() {
82 # On 64-bit hardware, these files are needed in both the 64/ and 32/
83 # directories for the testsuite to pass.
84 cd "${S_PARI}"/src/test/
85 for t in analyz compat ellglobalred elliptic galois graph intnum kernel \
86 linear nfields number objets ploth polyser program qfbsolve rfrac \
87 round4 stark sumiter trans ; do
88 i="in/${t}"
89 o32="32/${t}"
90 o64="64/${t}"
91 [ -f "$i" -a ! -f "$o32" ] && cp -al "$i" "$o32"
92 [ -f "$i" -a ! -f "$o64" ] && cp -al "$i" "$o64"
93 done
94 perl-module_src_prepare
95 }
96
97 src_configure() {
98 # Unfortunately the assembly routines math-pari has for SPARC do not appear
99 # to be working at current. Perl cannot test math-pari or anything that
100 # pulls in the math-pari module as DynaLoader cannot load the resulting
101 # .so files math-pari generates. As such, we have to use the generic
102 # non-machine specific assembly methods here.
103 use sparc && myconf="${myconf} machine=none"
104
105 perl-module_src_configure
106 }