1 |
bicatali 09/01/23 18:27:38 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rpy-1.0.3.ebuild rpy-2.0.1.ebuild |
5 |
Log: |
6 |
Version bump, now slotted |
7 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.29 dev-python/rpy/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/ChangeLog?rev=1.29&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/ChangeLog?rev=1.29&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/ChangeLog?r1=1.28&r2=1.29 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v |
19 |
retrieving revision 1.28 |
20 |
retrieving revision 1.29 |
21 |
diff -u -r1.28 -r1.29 |
22 |
--- ChangeLog 27 Oct 2008 10:33:45 -0000 1.28 |
23 |
+++ ChangeLog 23 Jan 2009 18:27:38 -0000 1.29 |
24 |
@@ -1,6 +1,13 @@ |
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.28 2008/10/27 10:33:45 bicatali Exp $ |
28 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v 1.29 2009/01/23 18:27:38 bicatali Exp $ |
30 |
+ |
31 |
+*rpy-2.0.1 (23 Jan 2009) |
32 |
+*rpy-1.0.3 (23 Jan 2009) |
33 |
+ |
34 |
+ 23 Jan 2009; Sébastien Fabbro <bicatali@g.o> -files/90rpy, |
35 |
+ +files/rpy-2.0.1-setup.patch, +rpy-1.0.3.ebuild, +rpy-2.0.1.ebuild: |
36 |
+ Version bump, now slotted |
37 |
|
38 |
27 Oct 2008; Sébastien Fabbro <bicatali@g.o> |
39 |
+files/rpy-1.0.2-R28.patch, rpy-1.0.2-r1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-python/rpy/rpy-1.0.3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/rpy-1.0.3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/rpy-1.0.3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: rpy-1.0.3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-1.0.3.ebuild,v 1.1 2009/01/23 18:27:38 bicatali Exp $ |
53 |
|
54 |
inherit distutils eutils |
55 |
|
56 |
DESCRIPTION="Python interface to the R Programming Language" |
57 |
HOMEPAGE="http://rpy.sourceforge.net/" |
58 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2 LGPL-2.1 MPL-1.1" |
61 |
SLOT="1" |
62 |
KEYWORDS="~amd64 ~ia64 ~x86" |
63 |
IUSE="doc examples" |
64 |
|
65 |
RDEPEND="dev-lang/R |
66 |
dev-python/numpy |
67 |
!<=dev-python/rpy-1.0.2-r2" |
68 |
|
69 |
DEPEND="${RDEPEND} |
70 |
doc? ( || ( virtual/texi2dvi ) )" |
71 |
|
72 |
src_unpack() { |
73 |
distutils_src_unpack |
74 |
epatch "${FILESDIR}"/${PN}-1.0_rc3-version-detect.patch |
75 |
epatch "${FILESDIR}"/${PN}-testfiles.patch |
76 |
epatch "${FILESDIR}"/${PN}-1.0.2-R28.patch |
77 |
# this module should exist only if R was built with USE=lapack |
78 |
if [[ ! -e /usr/$(get_libdir)/R/lib/libRlapack.so ]]; then |
79 |
sed -i \ |
80 |
-e 's:Rlapack:lapack:g' \ |
81 |
setup.py || die "sed in setup.py failed" |
82 |
fi |
83 |
} |
84 |
|
85 |
src_test() { |
86 |
cd tests |
87 |
PYTHONPATH=$(ls -d ../build/lib.*) \ |
88 |
"${python}" testall.py || die "tests failed" |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
distutils_src_install |
93 |
|
94 |
if use examples; then |
95 |
insinto /usr/share/doc/${PF} |
96 |
doins -r examples || die |
97 |
fi |
98 |
|
99 |
if use doc; then |
100 |
cd doc |
101 |
emake html pdf || die "emake docs failed" |
102 |
dohtml rpy_html/* || die |
103 |
insinto /usr/share/doc/${PF} |
104 |
doins rpy.pdf || die |
105 |
fi |
106 |
} |
107 |
|
108 |
|
109 |
|
110 |
1.1 dev-python/rpy/rpy-2.0.1.ebuild |
111 |
|
112 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/rpy-2.0.1.ebuild?rev=1.1&view=markup |
113 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/rpy/rpy-2.0.1.ebuild?rev=1.1&content-type=text/plain |
114 |
|
115 |
Index: rpy-2.0.1.ebuild |
116 |
=================================================================== |
117 |
# Copyright 1999-2009 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-2.0.1.ebuild,v 1.1 2009/01/23 18:27:38 bicatali Exp $ |
120 |
|
121 |
EAPI=2 |
122 |
NEED_PYTHON=2.4 |
123 |
inherit distutils eutils |
124 |
|
125 |
SLOT=2 |
126 |
MYPN=${PN}${SLOT} |
127 |
MYP=${MYPN}-${PV} |
128 |
|
129 |
DESCRIPTION="Python interface to the R Programming Language" |
130 |
HOMEPAGE="http://rpy.sourceforge.net/" |
131 |
SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz" |
132 |
|
133 |
LICENSE="GPL-2 LGPL-2.1 MPL-1.1" |
134 |
SLOT="0" |
135 |
KEYWORDS="~amd64 ~ia64 ~x86" |
136 |
IUSE="doc examples" |
137 |
|
138 |
RDEPEND=">=dev-lang/R-2.7 |
139 |
dev-python/numpy |
140 |
!<=dev-python/rpy-1.0.2-r2" |
141 |
DEPEND="${RDEPEND}" |
142 |
|
143 |
PYTHON_MODNAME="${MYPN}" |
144 |
S="${WORKDIR}/${MYP}" |
145 |
|
146 |
src_prepare() { |
147 |
epatch "${FILESDIR}"/${P}-setup.patch |
148 |
} |
149 |
|
150 |
src_test() { |
151 |
cd build/lib* |
152 |
PYTHONPATH=. "${python}" rpy2/tests.py || die "tests failed" |
153 |
} |