Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pandas: ChangeLog metadata.xml pandas-0.13.0.ebuild
Date: Wed, 22 Jan 2014 07:59:12
Message-Id: 20140122075904.A4D7C2004B@flycatcher.gentoo.org
1 jlec 14/01/22 07:59:04
2
3 Modified: ChangeLog metadata.xml
4 Added: pandas-0.13.0.ebuild
5 Log:
6 dev-python/pandas: Version Bump, #498856
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.21 dev-python/pandas/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?rev=1.21&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?rev=1.21&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/ChangeLog?r1=1.20&r2=1.21
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v
20 retrieving revision 1.20
21 retrieving revision 1.21
22 diff -u -r1.20 -r1.21
23 --- ChangeLog 27 Oct 2013 08:05:32 -0000 1.20
24 +++ ChangeLog 22 Jan 2014 07:59:04 -0000 1.21
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/pandas
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.20 2013/10/27 08:05:32 mgorny Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.21 2014/01/22 07:59:04 jlec Exp $
31 +
32 +*pandas-0.13.0 (22 Jan 2014)
33 +
34 + 22 Jan 2014; Justin Lecher <jlec@g.o> +pandas-0.13.0.ebuild,
35 + metadata.xml:
36 + Version Bump, #498856
37
38 27 Oct 2013; Michał Górny <mgorny@g.o> pandas-0.12.0.ebuild:
39 Remove redundant python_export_best (done by the eclass).
40
41
42
43 1.6 dev-python/pandas/metadata.xml
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/metadata.xml?rev=1.6&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/metadata.xml?rev=1.6&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/metadata.xml?r1=1.5&r2=1.6
48
49 Index: metadata.xml
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/dev-python/pandas/metadata.xml,v
52 retrieving revision 1.5
53 retrieving revision 1.6
54 diff -u -r1.5 -r1.6
55 --- metadata.xml 8 Aug 2013 18:08:49 -0000 1.5
56 +++ metadata.xml 22 Jan 2014 07:59:04 -0000 1.6
57 @@ -1,17 +1,17 @@
58 <?xml version="1.0" encoding="UTF-8"?>
59 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
60 <pkgmetadata>
61 -<herd>sci</herd>
62 -<longdescription lang="en">
63 + <herd>sci</herd>
64 + <longdescription lang="en">
65 Pandas is a Python package providing fast, flexible, and expressive
66 data structures designed to make working with "relational" or
67 "labeled" data both easy and intuitive. It aims to be the
68 fundamental high-level building block for doing practical, real
69 world data analysis in Python.
70 </longdescription>
71 -<use>
72 - <flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag>
73 - <flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag>
74 - <flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag>
75 -</use>
76 + <use>
77 + <flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag>
78 + <flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag>
79 + <flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag>
80 + </use>
81 </pkgmetadata>
82
83
84
85 1.1 dev-python/pandas/pandas-0.13.0.ebuild
86
87 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.13.0.ebuild?rev=1.1&view=markup
88 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/pandas-0.13.0.ebuild?rev=1.1&content-type=text/plain
89
90 Index: pandas-0.13.0.ebuild
91 ===================================================================
92 # Copyright 1999-2014 Gentoo Foundation
93 # Distributed under the terms of the GNU General Public License v2
94 # $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.13.0.ebuild,v 1.1 2014/01/22 07:59:04 jlec Exp $
95
96 EAPI=5
97
98 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
99
100 inherit distutils-r1 virtualx
101
102 DESCRIPTION="Powerful data structures for data analysis and statistics"
103 HOMEPAGE="http://pandas.sourceforge.net/"
104 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
105
106 SLOT="0"
107 LICENSE="BSD"
108 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
109 IUSE="doc examples excel html test R"
110
111 REQUIRED_USE="
112 excel? ( !python_targets_python3_2 )
113 doc? ( !python_targets_python3_2 )
114 R? ( !python_targets_python3_2 )
115 "
116
117 CDEPEND="
118 dev-python/numpy[${PYTHON_USEDEP}]
119 dev-python/python-dateutil[${PYTHON_USEDEP}]"
120 DEPEND="${CDEPEND}
121 doc? (
122 dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
123 dev-python/ipython[${PYTHON_USEDEP}]
124 dev-python/html5lib[${PYTHON_USEDEP}]
125 dev-python/lxml[${PYTHON_USEDEP}]
126 dev-python/matplotlib[${PYTHON_USEDEP}]
127 >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
128 dev-python/pytables[${PYTHON_USEDEP}]
129 dev-python/pytz[${PYTHON_USEDEP}]
130 dev-python/rpy[$(python_gen_usedep 'python2_7')]
131 sci-libs/scipy[${PYTHON_USEDEP}]
132 dev-python/sphinx[${PYTHON_USEDEP}]
133 dev-python/xlrd[$(python_gen_usedep 'python2*')]
134 dev-python/xlwt[$(python_gen_usedep 'python2*')]
135 sci-libs/scikits_timeseries[$(python_gen_usedep 'python2*')]
136 x11-misc/xclip )
137 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
138 # dev-python/statsmodels invokes a circular dep
139 # hence rm from doc? ( ), again
140 RDEPEND="${CDEPEND}
141 dev-python/numexpr[${PYTHON_USEDEP}]
142 dev-python/bottleneck[${PYTHON_USEDEP}]
143 dev-python/matplotlib[${PYTHON_USEDEP}]
144 dev-python/pytables[${PYTHON_USEDEP}]
145 dev-python/pytz[${PYTHON_USEDEP}]
146 sci-libs/scipy[${PYTHON_USEDEP}]
147 excel? (
148 >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
149 dev-python/xlrd[$(python_gen_usedep 'python2*')]
150 dev-python/xlwt[$(python_gen_usedep 'python2*')]
151 )
152 html? (
153 dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
154 || ( dev-python/lxml[${PYTHON_USEDEP}]
155 dev-python/html5lib[${PYTHON_USEDEP}] )
156 )
157 R? ( dev-python/rpy[$(python_gen_usedep 'python2_7')] )"
158
159 python_prepare_all() {
160 if use doc; then
161 # Prevent un-needed download during build
162 sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' \
163 -e "s:^ 'statsmodels:# 'statsmodels:" \
164 -e "s:^ 'python:# 'python:" \
165 -e "s:^}:#}:" \
166 -i doc/source/conf.py || die
167 fi
168 distutils-r1_python_prepare_all
169 }
170
171 python_compile_all() {
172 # To build docs the need be located in $BUILD_DIR,
173 # else PYTHONPATH points to unusable modules.
174 if use doc; then
175 cd "${BUILD_DIR}"/lib || die
176 cp -ar "${S}"/doc . && cd doc || die
177 LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
178 fi
179 }
180
181 python_test() {
182 # test can't survive py2.6, alternately patch to skip under unittest2
183 if [[ ${EPYTHON} == "python2.6" ]]; then
184 rm $(find "${BUILD_DIR}" -name test_array.py) || die
185 fi
186 cd "${BUILD_DIR}"/lib || die
187 PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
188 VIRTUALX_COMMAND="nosetests --verbosity=3 pandas" \
189 virtualmake || die
190 }
191
192 python_install_all() {
193 if use doc; then
194 cd "${BUILD_DIR}"/lib || die
195 dohtml -r doc/build/html/*
196 einfo "An initial build of docs is absent of references to statsmodels"
197 einfo "due to circular dependency. To have them included, emerge"
198 einfo "statsmodels next and re-emerge pandas with USE doc"
199 fi
200
201 if use examples; then
202 # example python modules not to be compressed
203 docompress -x /usr/share/doc/${PF}/examples
204 insinto /usr/share/doc/${PF}
205 doins -r "${S}"/examples
206 fi
207 distutils-r1_python_install_all
208 }