Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pandas: pandas-0.13.1.ebuild pandas-0.14.0.ebuild ChangeLog
Date: Tue, 24 Jun 2014 00:37:27
Message-Id: 20140624003717.B522F2004E@flycatcher.gentoo.org
1 idella4 14/06/24 00:37:17
2
3 Modified: pandas-0.13.1.ebuild ChangeLog
4 Added: pandas-0.14.0.ebuild
5 Log:
6 drop py2.6, update test phase
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.2 dev-python/pandas/pandas-0.13.1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.13.1.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.13.1.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.13.1.ebuild?r1=1.1&r2=1.2
16
17 Index: pandas-0.13.1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.13.1.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- pandas-0.13.1.ebuild 21 Feb 2014 12:04:19 -0000 1.1
24 +++ pandas-0.13.1.ebuild 24 Jun 2014 00:37:17 -0000 1.2
25 @@ -1,10 +1,10 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.13.1.ebuild,v 1.1 2014/02/21 12:04:19 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.13.1.ebuild,v 1.2 2014/06/24 00:37:17 idella4 Exp $
30
31 EAPI=5
32
33 -PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
34 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
35
36 inherit distutils-r1 virtualx
37
38
39
40
41 1.24 dev-python/pandas/ChangeLog
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?rev=1.24&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?rev=1.24&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?r1=1.23&r2=1.24
46
47 Index: ChangeLog
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v
50 retrieving revision 1.23
51 retrieving revision 1.24
52 diff -u -r1.23 -r1.24
53 --- ChangeLog 21 Feb 2014 12:04:19 -0000 1.23
54 +++ ChangeLog 24 Jun 2014 00:37:17 -0000 1.24
55 @@ -1,6 +1,12 @@
56 # ChangeLog for dev-python/pandas
57 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.23 2014/02/21 12:04:19 jlec Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.24 2014/06/24 00:37:17 idella4 Exp $
60 +
61 +*pandas-0.14.0 (24 Jun 2014)
62 +
63 + 24 Jun 2014; Ian Delaney <idella4@g.o> +pandas-0.14.0.ebuild,
64 + pandas-0.13.1.ebuild:
65 + drop py2.6, update test phase
66
67 *pandas-0.13.1 (21 Feb 2014)
68
69
70
71
72 1.1 dev-python/pandas/pandas-0.14.0.ebuild
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.14.0.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.14.0.ebuild?rev=1.1&content-type=text/plain
76
77 Index: pandas-0.14.0.ebuild
78 ===================================================================
79 # Copyright 1999-2014 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.14.0.ebuild,v 1.1 2014/06/24 00:37:17 idella4 Exp $
82
83 EAPI=5
84
85 PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
86
87 inherit distutils-r1 virtualx
88
89 DESCRIPTION="Powerful data structures for data analysis and statistics"
90 HOMEPAGE="http://pandas.sourceforge.net/"
91 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
92
93 SLOT="0"
94 LICENSE="BSD"
95 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
96 IUSE="doc examples excel html test R"
97
98 REQUIRED_USE="
99 excel? ( !python_targets_python3_2 )
100 doc? ( !python_targets_python3_2 )
101 R? ( !python_targets_python3_2 )"
102
103 CDEPEND="
104 dev-python/numpy[${PYTHON_USEDEP}]
105 >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]"
106 DEPEND="${CDEPEND}
107 doc? (
108 dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
109 dev-python/ipython[${PYTHON_USEDEP}]
110 dev-python/html5lib[${PYTHON_USEDEP}]
111 dev-python/lxml[${PYTHON_USEDEP}]
112 dev-python/matplotlib[${PYTHON_USEDEP}]
113 >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
114 dev-python/pytables[${PYTHON_USEDEP}]
115 dev-python/pytz[${PYTHON_USEDEP}]
116 dev-python/rpy[$(python_gen_usedep 'python2_7')]
117 sci-libs/scipy[${PYTHON_USEDEP}]
118 >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
119 dev-python/xlrd[$(python_gen_usedep 'python2*')]
120 dev-python/xlwt[$(python_gen_usedep 'python2*')]
121 sci-libs/scikits_timeseries[$(python_gen_usedep 'python2*')]
122 x11-misc/xclip
123 )
124 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
125 # dev-python/statsmodels invokes a circular dep
126 # hence rm from doc? ( ), again
127 RDEPEND="${CDEPEND}
128 dev-python/numexpr[${PYTHON_USEDEP}]
129 dev-python/bottleneck[${PYTHON_USEDEP}]
130 dev-python/matplotlib[${PYTHON_USEDEP}]
131 dev-python/pytables[${PYTHON_USEDEP}]
132 dev-python/pytz[${PYTHON_USEDEP}]
133 sci-libs/scipy[${PYTHON_USEDEP}]
134 excel? (
135 >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
136 dev-python/xlrd[$(python_gen_usedep 'python2*')]
137 dev-python/xlwt[$(python_gen_usedep 'python2*')]
138 )
139 html? (
140 dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
141 || (
142 dev-python/lxml[${PYTHON_USEDEP}]
143 dev-python/html5lib[${PYTHON_USEDEP}] )
144 )
145 R? ( dev-python/rpy[$(python_gen_usedep 'python2_7')] )"
146
147 python_prepare_all() {
148 if use doc; then
149 # Prevent un-needed download during build
150 sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' \
151 -e "s:^ 'statsmodels:# 'statsmodels:" \
152 -e "s:^ 'python:# 'python:" \
153 -e "s:^}:#}:" \
154 -i doc/source/conf.py || die
155 fi
156 distutils-r1_python_prepare_all
157 }
158
159 python_compile_all() {
160 # To build docs the need be located in $BUILD_DIR,
161 # else PYTHONPATH points to unusable modules.
162 if use doc; then
163 cd "${BUILD_DIR}"/lib || die
164 cp -ar "${S}"/doc . && cd doc || die
165 LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
166 fi
167 }
168
169 src_test() {
170 local DISTUTILS_NO_PARALLEL_BUILD=1
171 distutils-r1_src_test
172 }
173
174 python_test() {
175 pushd "${BUILD_DIR}"/lib > /dev/null
176 PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
177 VIRTUALX_COMMAND="nosetests --verbosity=3 pandas" \
178 virtualmake || die
179 popd > /dev/null
180 }
181
182 python_install_all() {
183 if use doc; then
184 dohtml -r "${BUILD_DIR}"/lib/doc/build/html/*
185 einfo "An initial build of docs is absent of references to statsmodels"
186 einfo "due to circular dependency. To have them included, emerge"
187 einfo "statsmodels next and re-emerge pandas with USE doc"
188 fi
189
190 use examples && local EXAMPLES=( examples/. )
191 distutils-r1_python_install_all
192 }