1 |
jlec 13/01/31 13:46:39 |
2 |
|
3 |
Modified: ChangeLog pandas-0.10.0.ebuild |
4 |
Log: |
5 |
dev-python/pandas: Move to new python eclasses; fixes broken test with latest nose # 454828 and sanitizes py deps |
6 |
|
7 |
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 70EB7916) |
8 |
|
9 |
Revision Changes Path |
10 |
1.11 dev-python/pandas/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?rev=1.11&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?rev=1.11&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?r1=1.10&r2=1.11 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v |
19 |
retrieving revision 1.10 |
20 |
retrieving revision 1.11 |
21 |
diff -u -r1.10 -r1.11 |
22 |
--- ChangeLog 16 Jan 2013 15:39:16 -0000 1.10 |
23 |
+++ ChangeLog 31 Jan 2013 13:46:39 -0000 1.11 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for dev-python/pandas |
26 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.10 2013/01/16 15:39:16 jlec Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.11 2013/01/31 13:46:39 jlec Exp $ |
29 |
+ |
30 |
+ 31 Jan 2013; Justin Lecher <jlec@g.o> pandas-0.10.0.ebuild: |
31 |
+ Move to new python eclasses; fixes broken test with latest nose # 454828 and |
32 |
+ sanitizes py deps |
33 |
|
34 |
16 Jan 2013; Justin Lecher <jlec@g.o> -pandas-0.8.1.ebuild, |
35 |
-pandas-0.9.0.ebuild, -pandas-0.9.1.ebuild, pandas-0.10.0.ebuild, |
36 |
|
37 |
|
38 |
|
39 |
1.3 dev-python/pandas/pandas-0.10.0.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.10.0.ebuild?rev=1.3&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.10.0.ebuild?rev=1.3&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.10.0.ebuild?r1=1.2&r2=1.3 |
44 |
|
45 |
Index: pandas-0.10.0.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.10.0.ebuild,v |
48 |
retrieving revision 1.2 |
49 |
retrieving revision 1.3 |
50 |
diff -u -r1.2 -r1.3 |
51 |
--- pandas-0.10.0.ebuild 16 Jan 2013 15:39:16 -0000 1.2 |
52 |
+++ pandas-0.10.0.ebuild 31 Jan 2013 13:46:39 -0000 1.3 |
53 |
@@ -1,38 +1,37 @@ |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.10.0.ebuild,v 1.2 2013/01/16 15:39:16 jlec Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.10.0.ebuild,v 1.3 2013/01/31 13:46:39 jlec Exp $ |
58 |
|
59 |
-EAPI=4 |
60 |
+EAPI=5 |
61 |
|
62 |
-# python cruft |
63 |
-SUPPORT_PYTHON_ABIS="1" |
64 |
-DISTUTILS_SRC_TEST="nosetests" |
65 |
-RESTRICT_PYTHON_ABIS="2.4 2.7-pypy-* *-jython 3.*" |
66 |
+PYTHON_COMPAT=( python{2_6,2_7} ) |
67 |
|
68 |
-inherit distutils |
69 |
+inherit distutils-r1 |
70 |
|
71 |
DESCRIPTION="Powerful data structures for data analysis and statistics" |
72 |
HOMEPAGE="http://pandas.sourceforge.net/" |
73 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
74 |
|
75 |
+SLOT="0" |
76 |
LICENSE="BSD" |
77 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
78 |
-SLOT="0" |
79 |
-IUSE="doc examples excel R" |
80 |
+IUSE="doc examples excel test R" |
81 |
|
82 |
-CDEPEND="dev-python/numpy |
83 |
- >=dev-python/python-dateutil-2.1" |
84 |
+CDEPEND=" |
85 |
+ dev-python/numpy |
86 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}]" |
87 |
DEPEND="${CDEPEND} |
88 |
doc? ( |
89 |
dev-python/ipython |
90 |
dev-python/rpy |
91 |
- dev-python/sphinx |
92 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
93 |
sci-libs/scikits_statsmodels |
94 |
- )" |
95 |
+ ) |
96 |
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )" |
97 |
RDEPEND="${CDEPEND} |
98 |
dev-python/matplotlib |
99 |
dev-python/pytables |
100 |
- dev-python/pytz |
101 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
102 |
sci-libs/scipy |
103 |
excel? ( |
104 |
dev-python/openpyxl |
105 |
@@ -41,24 +40,21 @@ |
106 |
) |
107 |
R? ( dev-python/rpy )" |
108 |
|
109 |
-src_compile() { |
110 |
- distutils_src_compile |
111 |
+python_compile_all() { |
112 |
+ python_export_best |
113 |
if use doc; then |
114 |
cd doc |
115 |
- "$(PYTHON -f)" make.py html || die |
116 |
+ "${PYTHON}" make.py html || die |
117 |
fi |
118 |
} |
119 |
|
120 |
-src_test() { |
121 |
- testing() { |
122 |
- cd "${S}/build-${PYTHON_ABI}"/lib* |
123 |
- PYTHONPATH=. MPLCONFIGDIR=. HOME=. nosetests-"${PYTHON_ABI}" pandas |
124 |
- } |
125 |
- python_execute_function testing |
126 |
+python_test() { |
127 |
+ cd "${BUILD_DIR}"/lib* || die |
128 |
+ PYTHONPATH=. MPLCONFIGDIR=. HOME=. nosetests-"${EPYTHON}" pandas || die |
129 |
} |
130 |
|
131 |
-src_install() { |
132 |
- distutils_src_install |
133 |
+python_install_all() { |
134 |
+ distutils-r1_python_install |
135 |
use doc && dohtml -r doc/build/html |
136 |
if use examples; then |
137 |
insinto /usr/share/doc/${PF} |