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