1 |
commit: 24a65d2d80ba9f84e009c3c000a0d360e7d93992 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 24 12:10:12 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 24 12:10:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a65d2d |
7 |
|
8 |
dev-python/pandas: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.25 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/pandas/Manifest | 1 + |
14 |
dev-python/pandas/metadata.xml | 1 + |
15 |
dev-python/pandas/pandas-0.17.0.ebuild | 1 + |
16 |
.../{pandas-0.17.0.ebuild => pandas-0.17.1.ebuild} | 113 +++++++++++++-------- |
17 |
4 files changed, 72 insertions(+), 44 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest |
20 |
index e05319e..bb4cfe6 100644 |
21 |
--- a/dev-python/pandas/Manifest |
22 |
+++ b/dev-python/pandas/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST pandas-0.16.2.tar.gz 4931751 SHA256 e01853dfe111f3aea005315573400b7216ddbabbf1f28d482a71217d67ae4f81 SHA512 44874e12a42a01dd7ed88f3f97e954732a534a5e2dc4815ef6203bdb2d88850a607e6631a35ae8fc79f4621a5dfaa34f39bb1c9a0ecfb17da1cf0c10f35ff27b WHIRLPOOL 6f2874ac07b49f4b2aaefdb87375b7c5adb31e3ff60c6b808f3e3467ad82999dd894de884ebbfd64fc7235e875d17ce871b516c96ff71a17310b708597168702 |
25 |
DIST pandas-0.17.0.tar.gz 6508621 SHA256 320d4fdf734b82adebc8fde9d8ca4b05fe155a72b6f7aa95d76242da8748d6a4 SHA512 bae6964e263c7ff6cac722cdfe23081f23c357d9bc39a670b5627bef4630c236a58aa8c0393eae921721bf7049c8e5266b4dea71dd957da5d89dafc14a04797b WHIRLPOOL d654eb2f9ffbfedbde60e4a6e6ce6f54650a8a68b4d20035744aa55111525d6bba4dae2ccbfce65acf71bb200e2e6029c7f6c9bcc9d0c582d808444738baedb1 |
26 |
+DIST pandas-0.17.1.tar.gz 6674479 SHA256 cfd7214a7223703fe6999fbe34837749540efee1c985e6aee9933f30e3f72837 SHA512 9d9f9064585b1f3551625e0c8f4eedaaa1253790c2a5cb28e58e70eb805cc18f9770d793aa748cbd76798488ff60efdd01eb4b21daf5ad8f1dc4d9c050487234 WHIRLPOOL 5238575bd64b8d38db4f9a0ea987a7f78ffd1821e5a22bad65c84c407feca3af6f3b536a0a2f337291aa04e94c86fdb40382dad4ce50f8a33a5e26d655c628c2 |
27 |
|
28 |
diff --git a/dev-python/pandas/metadata.xml b/dev-python/pandas/metadata.xml |
29 |
index f56691d..b78ecc9 100644 |
30 |
--- a/dev-python/pandas/metadata.xml |
31 |
+++ b/dev-python/pandas/metadata.xml |
32 |
@@ -10,6 +10,7 @@ |
33 |
world data analysis in Python. |
34 |
</longdescription> |
35 |
<use> |
36 |
+ <flag name="full-support">Pull all packages to give pandas full support</flag> |
37 |
<flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag> |
38 |
<flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag> |
39 |
<flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag> |
40 |
|
41 |
diff --git a/dev-python/pandas/pandas-0.17.0.ebuild b/dev-python/pandas/pandas-0.17.0.ebuild |
42 |
index a3fd1ca..309b01e 100644 |
43 |
--- a/dev-python/pandas/pandas-0.17.0.ebuild |
44 |
+++ b/dev-python/pandas/pandas-0.17.0.ebuild |
45 |
@@ -111,6 +111,7 @@ python_test() { |
46 |
local test_pandas='not network and not disabled' |
47 |
[[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' |
48 |
pushd "${BUILD_DIR}"/lib > /dev/null |
49 |
+ "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
50 |
VIRTUALX_COMMAND="nosetests" |
51 |
PYTHONPATH=. MPLCONFIGDIR=. \ |
52 |
virtualmake --verbosity=3 -A "${test_pandas}" pandas |
53 |
|
54 |
diff --git a/dev-python/pandas/pandas-0.17.0.ebuild b/dev-python/pandas/pandas-0.17.1.ebuild |
55 |
similarity index 52% |
56 |
copy from dev-python/pandas/pandas-0.17.0.ebuild |
57 |
copy to dev-python/pandas/pandas-0.17.1.ebuild |
58 |
index a3fd1ca..27eb129 100644 |
59 |
--- a/dev-python/pandas/pandas-0.17.0.ebuild |
60 |
+++ b/dev-python/pandas/pandas-0.17.1.ebuild |
61 |
@@ -16,72 +16,86 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
62 |
SLOT="0" |
63 |
LICENSE="BSD" |
64 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
65 |
-IUSE="doc excel html test R" |
66 |
+IUSE="doc -minimal full-support test X" |
67 |
|
68 |
-EXTRA_DEPEND=" |
69 |
+MINIMAL_DEPEND=" |
70 |
+ >dev-python/numpy-1.7[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] |
72 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
73 |
+ !<dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
74 |
+ !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" |
75 |
+RECOMMENDED_DEPEND=" |
76 |
+ dev-python/bottleneck[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/numexpr-2.1[${PYTHON_USEDEP}]" |
78 |
+OPTIONAL_DEPEND=" |
79 |
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
80 |
+ dev-python/blosc[${PYTHON_USEDEP}] |
81 |
+ dev-python/boto[${PYTHON_USEDEP}] |
82 |
>=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)] |
83 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
84 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
85 |
+ || ( dev-python/html5lib[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] ) |
86 |
+ dev-python/httplib2[${PYTHON_USEDEP}] |
87 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
88 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
89 |
+ || ( >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] dev-python/xlsxwriter[${PYTHON_USEDEP}] ) |
90 |
+ >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}] |
91 |
dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)] |
92 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
93 |
+ dev-python/rpy[${PYTHON_USEDEP}] |
94 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
95 |
dev-python/statsmodels[${PYTHON_USEDEP}] |
96 |
- dev-python/sqlalchemy[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}] |
98 |
+ dev-python/xlrd[${PYTHON_USEDEP}] |
99 |
+ dev-python/xlwt[${PYTHON_USEDEP}] |
100 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
101 |
+ X? ( |
102 |
+ || ( |
103 |
+ dev-python/PyQt4[${PYTHON_USEDEP}] |
104 |
+ dev-python/pyside[${PYTHON_USEDEP}] |
105 |
+ dev-python/pygtk[$(python_gen_usedep python2_7)] |
106 |
+ ) |
107 |
+ || ( |
108 |
+ x11-misc/xclip |
109 |
+ x11-misc/xsel |
110 |
+ ) |
111 |
+ ) |
112 |
" |
113 |
-CDEPEND=" |
114 |
- >dev-python/numpy-1.7[${PYTHON_USEDEP}] |
115 |
- >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] |
116 |
- !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" |
117 |
-DEPEND="${CDEPEND} |
118 |
+ |
119 |
+DEPEND="${MINIMAL_DEPEND} |
120 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
121 |
>=dev-python/cython-0.19.1[${PYTHON_USEDEP}] |
122 |
doc? ( |
123 |
dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
124 |
- dev-python/ipython[${PYTHON_USEDEP}] |
125 |
dev-python/html5lib[${PYTHON_USEDEP}] |
126 |
+ dev-python/ipython[${PYTHON_USEDEP}] |
127 |
dev-python/lxml[${PYTHON_USEDEP}] |
128 |
dev-python/matplotlib[${PYTHON_USEDEP}] |
129 |
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
130 |
>=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
131 |
dev-python/pytz[${PYTHON_USEDEP}] |
132 |
dev-python/rpy[${PYTHON_USEDEP}] |
133 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
134 |
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
135 |
dev-python/xlrd[${PYTHON_USEDEP}] |
136 |
dev-python/xlwt[${PYTHON_USEDEP}] |
137 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
138 |
x11-misc/xclip |
139 |
- ) |
140 |
+ ) |
141 |
test? ( |
142 |
- ${EXTRA_DEPEND} |
143 |
+ ${RECOMMENDED_DEPEND} |
144 |
+ ${OPTIONAL_DEPEND} |
145 |
dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
146 |
dev-python/nose[${PYTHON_USEDEP}] |
147 |
+ dev-python/pymysql[${PYTHON_USEDEP}] |
148 |
+ dev-python/psycopg:2[${PYTHON_USEDEP}] |
149 |
x11-misc/xclip |
150 |
x11-misc/xsel |
151 |
- )" |
152 |
+ )" |
153 |
# dev-python/statsmodels invokes a circular dep |
154 |
# hence rm from doc? ( ), again |
155 |
-RDEPEND="${CDEPEND} |
156 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
157 |
- dev-python/bottleneck[${PYTHON_USEDEP}] |
158 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
159 |
- dev-python/pytables[${PYTHON_USEDEP}] |
160 |
- dev-python/pytz[${PYTHON_USEDEP}] |
161 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
162 |
- excel? ( |
163 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
164 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
165 |
- || ( |
166 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
167 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
168 |
- ) |
169 |
- ) |
170 |
- html? ( |
171 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
172 |
- || ( |
173 |
- dev-python/lxml[${PYTHON_USEDEP}] |
174 |
- dev-python/html5lib[${PYTHON_USEDEP}] ) |
175 |
- ) |
176 |
- R? ( dev-python/rpy[${PYTHON_USEDEP}] )" |
177 |
+RDEPEND=" |
178 |
+ ${MINIMAL_DEPEND} |
179 |
+ !minimal? ( ${RECOMMENDED_DEPEND} ) |
180 |
+ full-support? ( ${OPTIONAL_DEPEND} )" |
181 |
|
182 |
-PATCHES=( |
183 |
+_PATCHES=( |
184 |
"${FILESDIR}"/${P}-testfix-backport.patch |
185 |
) |
186 |
|
187 |
@@ -111,6 +125,7 @@ python_test() { |
188 |
local test_pandas='not network and not disabled' |
189 |
[[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' |
190 |
pushd "${BUILD_DIR}"/lib > /dev/null |
191 |
+ "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
192 |
VIRTUALX_COMMAND="nosetests" |
193 |
PYTHONPATH=. MPLCONFIGDIR=. \ |
194 |
virtualmake --verbosity=3 -A "${test_pandas}" pandas |
195 |
@@ -129,9 +144,19 @@ python_install_all() { |
196 |
} |
197 |
|
198 |
pkg_postinst() { |
199 |
- local x |
200 |
- elog "Please install" |
201 |
- for x in ${EXTRA_DEPEND}; do |
202 |
- optfeature "additional functionality" "${x%%[*}" |
203 |
- done |
204 |
+ optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck |
205 |
+ optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" >=dev-python/numexpr-2.1 |
206 |
+ optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup:4 dev-python/html5lib dev-python/lxml |
207 |
+ optfeature "for msgpack compression using ``blosc``" dev-python/blosc |
208 |
+ optfeature "necessary for Amazon S3 access" dev-python/boto |
209 |
+ optfeature "needed for pandas.io.gbq" dev-python/httplib2 dev-python/setuptools dev-python/python-gflags >=dev-python/google-api-python-client-1.2.0 |
210 |
+ optfeature "Template engine for conditional HTML formatting" dev-python/jinja |
211 |
+ optfeature "Plotting support" dev-python/matplotlib |
212 |
+ optfeature "Needed for Excel I/O" >=dev-python/openpyxl-1.6.1 dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt |
213 |
+ optfeature "necessary for HDF5-based storage" >=dev-python/pytables-3.2.1 |
214 |
+ optfeature "R I/O support" dev-python/rpy |
215 |
+ optfeature "Needed for parts of :mod:`pandas.stats`" dev-python/statsmodels |
216 |
+ optfeature "SQL database support" >=dev-python/sqlalchemy-0.8.1 |
217 |
+ optfeature "miscellaneous statistical functions" sci-libs/scipy |
218 |
+ optfeature "necessary to use ~pandas.io.clipboard.read_clipboard support" dev-python/PyQt4 dev-python/pyside dev-python/pygtk x11-misc/xclip x11-misc/xsel |
219 |
} |