Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/rpy: ChangeLog rpy-1.0.2-r1.ebuild
Date: Wed, 07 May 2008 08:33:05
Message-Id: E1Jtf5C-0003h8-Fv@stork.gentoo.org
1 bicatali 08/05/07 08:33:02
2
3 Modified: ChangeLog
4 Added: rpy-1.0.2-r1.ebuild
5 Log:
6 Patched for R >= 2.7, thanks dawe for his patch (bug #219522)
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.22 dev-python/rpy/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/ChangeLog?rev=1.22&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/ChangeLog?rev=1.22&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/ChangeLog?r1=1.21&r2=1.22
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v
19 retrieving revision 1.21
20 retrieving revision 1.22
21 diff -u -r1.21 -r1.22
22 --- ChangeLog 11 Apr 2008 16:38:39 -0000 1.21
23 +++ ChangeLog 7 May 2008 08:33:02 -0000 1.22
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/rpy
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v 1.21 2008/04/11 16:38:39 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v 1.22 2008/05/07 08:33:02 bicatali Exp $
29 +
30 +*rpy-1.0.2-r1 (07 May 2008)
31 +
32 + 07 May 2008; Sébastien Fabbro <bicatali@g.o>
33 + +files/rpy-1.0.2-rpymodule-R-2.7.patch, +rpy-1.0.2-r1.ebuild:
34 + Patched for R >= 2.7, thanks dawe for his patch (bug #219522)
35
36 *rpy-1.0.2 (11 Apr 2008)
37
38
39
40
41 1.1 dev-python/rpy/rpy-1.0.2-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/rpy-1.0.2-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/rpy-1.0.2-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rpy-1.0.2-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-1.0.2-r1.ebuild,v 1.1 2008/05/07 08:33:02 bicatali Exp $
51
52 inherit distutils eutils
53
54 DESCRIPTION="Python interface to the R Programming Language"
55 HOMEPAGE="http://rpy.sourceforge.net/"
56 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
57
58 LICENSE="GPL-2 LGPL-2.1 MPL-1.1"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ia64 ~x86"
61 IUSE="doc examples"
62
63 RDEPEND=">=dev-lang/R-2.6.1
64 dev-python/numpy"
65 DEPEND="${RDEPEND}
66 doc? ( || ( virtual/tetex dev-texlive/texlive-texinfo ) )"
67
68 src_unpack() {
69 distutils_src_unpack
70 epatch "${FILESDIR}"/${PN}-1.0_rc3-version-detect.patch
71 epatch "${FILESDIR}"/${PN}-testfiles.patch
72 epatch "${FILESDIR}"/${P}-rpymodule-R-2.7.patch
73 # this module should exist only if R was built with USE=lapack
74 if [[ -e /usr/$(get_libdir)/R/modules/lapack.so ]]; then
75 sed -i \
76 -e 's:Rlapack:lapack:g' \
77 setup.py || die "sed in setup.py failed"
78 fi
79 }
80
81 src_test() {
82 cd tests
83 PYTHONPATH=$(ls -d ../build/lib.*) \
84 "${python}" testall.py || die "tests failed"
85 }
86
87 src_install() {
88 distutils_src_install
89
90 if use examples; then
91 insinto /usr/share/doc/${PF}
92 doins -r examples || die
93 fi
94
95 if use doc; then
96 cd doc
97 emake html pdf || die "emake docs failed"
98 dohtml rpy_html/* || die
99 insinto /usr/share/doc/${PF}
100 doins rpy.pdf || die
101 fi
102 }
103
104
105
106 --
107 gentoo-commits@l.g.o mailing list