diff options
author | 2015-06-28 19:15:11 +0000 | |
---|---|---|
committer | 2015-06-28 19:15:11 +0000 | |
commit | 8dd4a61af237f3a6355016a5ca6c6860de6620fc (patch) | |
tree | bfcc24cc1a0164054cf52d575a40e34bc17aa101 /dev-python | |
parent | Version bump (diff) | |
download | historical-8dd4a61af237f3a6355016a5ca6c6860de6620fc.tar.gz historical-8dd4a61af237f3a6355016a5ca6c6860de6620fc.tar.bz2 historical-8dd4a61af237f3a6355016a5ca6c6860de6620fc.zip |
Drop old
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0xE9402A79B03529A2!
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pandas/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/pandas/Manifest | 26 | ||||
-rw-r--r-- | dev-python/pandas/files/pandas-0.13.1-backport-test-fix.patch | 35 | ||||
-rw-r--r-- | dev-python/pandas/files/pandas-0.15.0-backport-GH8587.patch | 31 | ||||
-rw-r--r-- | dev-python/pandas/files/pandas-0.15.1-datetutil-2.3.patch | 56 | ||||
-rw-r--r-- | dev-python/pandas/files/pandas-0.15.1-enconding.patch | 21 | ||||
-rw-r--r-- | dev-python/pandas/files/pandas-0.15.1-skip-tz-test.patch | 24 | ||||
-rw-r--r-- | dev-python/pandas/files/pandas-0.15.2-zoneinfo.patch | 87 | ||||
-rw-r--r-- | dev-python/pandas/pandas-0.15.2.ebuild | 130 | ||||
-rw-r--r-- | dev-python/pandas/pandas-0.16.0.ebuild | 129 | ||||
-rw-r--r-- | dev-python/pandas/pandas-9999.ebuild | 6 |
11 files changed, 13 insertions, 543 deletions
diff --git a/dev-python/pandas/ChangeLog b/dev-python/pandas/ChangeLog index 242932d2c072..c89e4d5c283a 100644 --- a/dev-python/pandas/ChangeLog +++ b/dev-python/pandas/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-python/pandas # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.52 2015/06/28 10:29:59 zlogene Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/ChangeLog,v 1.53 2015/06/28 19:15:09 jlec Exp $ + + 28 Jun 2015; Justin Lecher <jlec@gentoo.org> + -files/pandas-0.13.1-backport-test-fix.patch, + -files/pandas-0.15.0-backport-GH8587.patch, + -files/pandas-0.15.1-datetutil-2.3.patch, + -files/pandas-0.15.1-enconding.patch, -files/pandas-0.15.1-skip-tz-test.patch, + -files/pandas-0.15.2-zoneinfo.patch, -pandas-0.15.2.ebuild, + -pandas-0.16.0.ebuild, pandas-9999.ebuild: + Drop old 28 Jun 2015; Mikle Kolyada <zlogene@gentoo.org> pandas-0.16.1-r1.ebuild: x86 stable wrt bug #552220 diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest index 8cf8d59f9277..f6e40e7f9865 100644 --- a/dev-python/pandas/Manifest +++ b/dev-python/pandas/Manifest @@ -1,31 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX pandas-0.13.1-backport-test-fix.patch 1113 SHA256 8e4a9c3bcfe43684564e7ade67d4c48bddd7397617184659b9ad93b1c64f8f44 SHA512 0d6e10973da2cafcf458df545ae1aa154bd18cb0128589106d6428ae8fc1ce230c1dc8e5059de7af91246e55415bbd290aa4d71d93558f7bd4fa562cc11f0516 WHIRLPOOL 8be4f75254c527c53777cfa60fdf5703b64090dedd2b16e1a29e70a64f40e64fe80478aa5a32070128bd3969a41e87e56da9c183e4ba3ab4745669c966c703ba -AUX pandas-0.15.0-backport-GH8587.patch 1152 SHA256 25f626106fdbc28ebdb579fea6cca770080a831746aea5b5f721a6e3f3947ff8 SHA512 cc39941dc0562d01ba1ac3ee3a8a4eaf00dced564dc79b3fd9a39d671daa76479cd12f28d08b306ff0c279ecb8df2bddc37b028373b0c487f94398ff04bb9089 WHIRLPOOL e8e333170ad379575a0427201c53c1b1e9fecddc71c90f0ce9c8735c3b5071a702a0a9f33dd2f957cdb09eb69a9c5a70f8f16e9cd27371da33cfaee32c0f731e -AUX pandas-0.15.1-datetutil-2.3.patch 2479 SHA256 1decf8931ffdf98960be30a666884d2c601ea77be86b1fc74112d008ea75f4e3 SHA512 ac9108878b5a1adfd8f55d5803153ec21b1781817953b7677cc304689139a5c1a5f5c0ab95ec8b6df1c2c1621f801658f6e2256a967e4bc35f100ca875b8c87d WHIRLPOOL 6a4bb027ff8f8047cb3bc41fe3eab57bf6d26f69c5a98472ff3be338353e42fae376d3366b0f48bbd2690ea44d9bb11a4f2fe4c63e37e8521382ab8cbfcb54f7 -AUX pandas-0.15.1-enconding.patch 698 SHA256 2a0fa1976617c7f3e707677ccab188f6dc2bc3e9987cc7c8758be83eda885fa0 SHA512 feb1bb7b037df3a826f39130e652137147fd0aafe960c31a26eb23d449d2f1258bbc37bae8408d627ece4188452e6aeecd2d0aa1245000a5aed7b9eee15ff9c5 WHIRLPOOL 727dfe145b4aa89c350f600804d44f29ceb19a2424255f1ac7ce2d4df843a214d360d6e6f2266996911d28ff2436576bc52fe14a2083797e7acdf9cda1bc5b0c -AUX pandas-0.15.1-skip-tz-test.patch 1124 SHA256 b98d7a46e7819ce86004ee92350ec0e0a65cc11e2d94240c147762ca715aa7ea SHA512 73f85e4c4c3f260b7e19adbcec8370783fddf802ccd015293d0b4a972839141983c6d63819314a6acd9cc82bb8da06dcb2358678a9229aa8481db899d945a3b9 WHIRLPOOL 4436a61fa2b00a8ce93aa2eca37e6dca698b0c78938fdbff9d6970815661a6dd201aca50ce11e229d7e6489ece372c3807013b63105a0f6d94690f6e438a5435 -AUX pandas-0.15.2-zoneinfo.patch 4019 SHA256 443dd95173d333fb94783aa2f231172584dac3b2bef5a404788111382bf3f6a3 SHA512 fa628525fac2380a93f3b5afe1e0c193be6204bfc5a061df231fdd69481ca606518304f05ace6d2c78170ba1f665e1348a345c6d84824a7702138f0423261eb4 WHIRLPOOL d29a5e29add765bb35d47273bc46e39730154cf331b3f1cfdd854237fc6bcedefd725fa9dd44ae3d52f4e56777947d4251d2c10252a6a623b186e4bb0b3fbafc AUX pandas-0.16.1-zoneinfo.patch 5498 SHA256 a0021988e58e7d2394e9b438d09ef45b97d0c401c5bc8d9f4f98afd5758f62bb SHA512 ff565818a5c44fb3ebc7297a13407838904c23258211851e7abe2e974dd8a459fd75427e6cddf5bce6d50c0e7f53ad96654a93c4f58f1cd341310d30c8bc8bad WHIRLPOOL 3e4e5205ebbb55e21c557abca7aeeddad636cde88e3988534d916081306a5cfeba7d305ef9b0360dfe63d35beb5406a05a555c99c828d47d7a73d7d069bc0ff7 AUX pandas-9999-zoneinfo.patch 5124 SHA256 7b0e7f6d8f0c8f45e2b3768f48a65c5c92426d3dc9dd148e1924b79eac5639a5 SHA512 f2627feb4972b4196990bdc4276f99bdb8ffed119e8a620df62a5f81a59b2c10e6e5188907312fc2f4366bbd3c2773eb517ba618bb07d1f9f622ff983264a4e1 WHIRLPOOL afe679bd6b9bfc3205d442bd76dd441aeee206d841a2ce76a80b088ad2a8256ae392ec6e0ba97e95d003b30e93057e9be9bf73bbb1129df76878f417cf9c2b48 -DIST pandas-0.15.2.tar.gz 4575541 SHA256 4a1ded49c77e109e2d5d078248f1f809962d81b508541c702d25a369af27ba17 SHA512 cc7e9c4baf7b3cce7793ea75d6c5e76f6238961f40b5045b209b046d5338762c1815b2bf62e39a56ae6c3a2d1a07ab6c7f8c5a769f9086913e573507a3ba1c41 WHIRLPOOL 0a277169d45148cd66c2f3e2cd402bcfd3dc44db2b73a05055e163b1e5f9afe817acbdf2b978112999b6cc877b5f31dbaf3990bd050cf8f1726a189c70f678d0 -DIST pandas-0.16.0.tar.gz 4771233 SHA256 4013de6f8796ca9d2871218861823bd9878a8dfacd26e08ccf9afdd01bbad9f1 SHA512 2375adc08e5129d591b2cce173a5dd5a86f94fa17fec862580af1f735da0a973fd0040d8405bf3bfd24c258630e2d2e2419f719abc3ee63dda59df43b8929e41 WHIRLPOOL cae6e600476156d26dca685d759568ab198bf34653dca6caa5dfda659346f84ebb32503ce689d91e83c2ab2798dd9855c21683cb6d88a4d03f39db0cbca2716d DIST pandas-0.16.1.tar.gz 4959316 SHA256 570d243f8cb068bf780461b9225d2e7bef7c90aa10d43cf908fe541fc92df8b6 SHA512 273b600cf32001aaa08fb99790b9fcd989845c1de524c76ed42d26807b6751fc7a08e702134ef359ecb13b7de79eede4efe1be1f96aa23d0e2fbd8ab59cec630 WHIRLPOOL 858c10799998711c928ed587c7a7d060346b930b3a8df9d7c0d1fa9916a990344e92443005be1c85a8b0728412591777156fe81a7caf20556d4051c7b7693a84 DIST pandas-0.16.2.tar.gz 4931751 SHA256 e01853dfe111f3aea005315573400b7216ddbabbf1f28d482a71217d67ae4f81 SHA512 44874e12a42a01dd7ed88f3f97e954732a534a5e2dc4815ef6203bdb2d88850a607e6631a35ae8fc79f4621a5dfaa34f39bb1c9a0ecfb17da1cf0c10f35ff27b WHIRLPOOL 6f2874ac07b49f4b2aaefdb87375b7c5adb31e3ff60c6b808f3e3467ad82999dd894de884ebbfd64fc7235e875d17ce871b516c96ff71a17310b708597168702 -EBUILD pandas-0.15.2.ebuild 3955 SHA256 423730d54409465afa53f89f0074c8e0859d6c162f4fa06cb39e9034d212f1ff SHA512 1c2ebe8a01dd3aeeb315b7669f14274567f0d5e32c447c104ac72ef7c7ce281d81ea8d803d8b3a3f6d92c58969d83fa0b34a50cd6d305ee2b417478cff20cf42 WHIRLPOOL 0018b3e76c96fb92dae1c03ab3430e0cab231ab546b9de9980162523b0ff32f8b75785532841cfcb560e190f71b3ccb8793d494af3d984dd185a3f3d723843f8 -EBUILD pandas-0.16.0.ebuild 3909 SHA256 3667d4cd8487c273ec1fcb24854a701357e19e96e7b0b574bdcfcea7b5f5a5ab SHA512 29465dd2b0deb8ff0ef254d8cf3a451f5cc28b28004cdc499f4c92b7287e47547725bc5f54233589cf4a44eafda259491a80bc4f3953748055c98a46af481089 WHIRLPOOL 2866c81432dde27f7be2f4551069dd53436c6c79d69ae0ba1cd45ed719e144192f91fe359a38990b0e4cf0596c84a44a448477a3c783eaa29ffab4c5387dff07 EBUILD pandas-0.16.1-r1.ebuild 3951 SHA256 f0d5150f9573450903374596bd955506becf6157387542e88a6df2d3d1e77be8 SHA512 05e877ecf99c59ec937690a8208dc8b012b7a1c8e7661e586f5ddddd936d2f2976fb84621187faa3681675c153a78ddcb0cf72b6c73c1311c1613fc7bd32ab7f WHIRLPOOL ddcf9965db0e8b304a93e92ffbf76e68edf66d5d2598a3bd2931070aac44a4ae5864d14eb0b8f007ca38698f4992747b43a92d268aa86ed974989ac7287bf8b5 EBUILD pandas-0.16.2.ebuild 3913 SHA256 ae6419edb49d4313f9fea12e2cbb0c1364c4dc5ac8f3968f03fa60ae002a24db SHA512 d5957e2e01403fea4519c308ea2840e58263290091549ac7da9788674f034ccf0c5036ac35026791c6e391c494735e26ca5cb9920b7d4746697af7bc26cb98ad WHIRLPOOL bb65bc7eb446298802a1373010cf7982f927e90575da11e0ebe123efefd95244aa3e4098c4312529539ceb970e411b69a38a954655c829d486cc4d32664770fd -EBUILD pandas-9999.ebuild 3884 SHA256 06fc64ce1ed949d479af4a0e5726f63db791b7db3a1874dee5e5327306a11978 SHA512 7a4b1b8d97341f2f8d9091a787b9208a8e3972153bc62e3c7a7326319defba7582ae5ab9b8f12e2eb4bb1d0274ffe0bd9d28383ae0b0432f03afcd5448095c05 WHIRLPOOL d011810f82e7ef1924aeb4007775b839fe8d361e315fb1c010800907f5f217e2d54686e0ed763ce487273718b68e9abd098221b94b8f5e136a21a557429f535b -MISC ChangeLog 8285 SHA256 0472efa911d52bddfae905a068c328131472eea08156f822942ae29fa3db8cb8 SHA512 43662f47ce7b10287f1a05f82c4ef9a59362ba9a4aa94266df3750a6d15f18d4c2e353fab517e2f8d8a62b5a2165ad2012c61c14e7007fbc9d594c41896c8ca3 WHIRLPOOL 493a3ce19fd23f76760c1624def78f18c20de923a7026fe06afc05d64ef1ad017955dca2a4277d9031e70c292017c5aa824ed3c282a45fbf0cc14392f653f35f +EBUILD pandas-9999.ebuild 3836 SHA256 4841df8c100bbb96a93fd2822758c743a8a579292662cc4cf5586d5d6cc99b69 SHA512 41bc19f959b43faec8b30df34590a74754291452d599a3982820aeb3d30ae1a6de0ee1c0f9e043e65adbf15b43bbf0f2fce8d829b5e4b0df29996ca14495aac1 WHIRLPOOL f5d44cbc6eccfd58494c7799bae3eefc05775e2966f177e1f0cb7019668c9a55bbcd19108c9af4c3d1cea55f8d7940acde31a52a53c5347f7d30431d0d1aabd8 +MISC ChangeLog 8667 SHA256 0b6fbf66afcca35c0ae10af356f41f5b4479378e8340ddcb50223521fb4951ef SHA512 81f7be4d4e762d04035ebf7feb88c4cf645b816e255410c65596ef940347572e002d3de0543876ceda9ca8681e99575537d7f382e2dba807f59589c5e25e7aff WHIRLPOOL 7863f8073b2db25dbe8a76360fee1ab5f38de09d917829a47789203f03251074b3e1ad14757c2f151ba6e88fec69f7d238e1f90c738aad66cd3781d01d0cff08 MISC metadata.xml 889 SHA256 51b2b0eb0f69bb79e5c93561fd4586a35f4d69f9f59475eff64afbac3d76e908 SHA512 1c265ddf64486f6a469936b6a43eb68b6b6c46efe010fd237ddbd16ba1af59d4817b266942cec95bbde92c7d01795de95893dd851815978f8133241afbf2efb8 WHIRLPOOL b34af1861bff3d7eb9ac4fcf648b2c7d0ff0c23ce99fb1190e7603876f09a9338e8d4e5a9c0536e8f5a026ddf669cd7197a9fda3b50adf8aa3e39540fc99e153 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iJwEAQEIAAYFAlWPzCQACgkQG9wOWsQutdaiTgP9FukO9LrMaXZ4sXLR+joMB2hQ -ilX9CJHINr5lVGjnmAtwjpsXPR5mLaFp1VX03Cb+D3UZmC16ZHLuv5nEUnPV5WkF -5veBCikie/c3dxn0MX22iAy+wfDb3LG9PQsqjRSqMjs5cpWA1o20zqKa6IhVbcWl -BWcyQvrQ34XYeqHo7TU= -=Ovp8 ------END PGP SIGNATURE----- diff --git a/dev-python/pandas/files/pandas-0.13.1-backport-test-fix.patch b/dev-python/pandas/files/pandas-0.13.1-backport-test-fix.patch deleted file mode 100644 index f9c8282919f2..000000000000 --- a/dev-python/pandas/files/pandas-0.13.1-backport-test-fix.patch +++ /dev/null @@ -1,35 +0,0 @@ -From a2c99fd78e0e924555b1fc86dd628073132ebccf Mon Sep 17 00:00:00 2001 -From: jreback <jeff@reback.net> -Date: Tue, 18 Feb 2014 11:51:27 -0500 -Subject: [PATCH] TST: disable odd test_data/test_fred tests failing, maybe a - data revision? - ---- - pandas/io/tests/test_data.py | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/pandas/io/tests/test_data.py b/pandas/io/tests/test_data.py -index a044b38..641687a 100644 ---- a/pandas/io/tests/test_data.py -+++ b/pandas/io/tests/test_data.py -@@ -418,6 +418,8 @@ def test_fred_nan(self): - - @network - def test_fred_parts(self): -+ raise nose.SkipTest('buggy as of 2/18/14; maybe a data revision?') -+ - start = datetime(2010, 1, 1) - end = datetime(2013, 1, 27) - df = web.get_data_fred("CPIAUCSL", start, end) -@@ -444,6 +446,8 @@ def test_invalid_series(self): - - @network - def test_fred_multi(self): -+ raise nose.SkipTest('buggy as of 2/18/14; maybe a data revision?') -+ - names = ['CPIAUCSL', 'CPALTT01USQ661S', 'CPILFESL'] - start = datetime(2010, 1, 1) - end = datetime(2013, 1, 27) --- -1.8.5.1 - diff --git a/dev-python/pandas/files/pandas-0.15.0-backport-GH8587.patch b/dev-python/pandas/files/pandas-0.15.0-backport-GH8587.patch deleted file mode 100644 index d6c60bccbcc3..000000000000 --- a/dev-python/pandas/files/pandas-0.15.0-backport-GH8587.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 403f38da35ab04d3997f61db3c98134fe02910d3 Mon Sep 17 00:00:00 2001 -From: pallav-fdsi <pallav@fielddiagnostics.com> -Date: Sun, 19 Oct 2014 20:49:21 -0400 -Subject: [PATCH] BUG: invalid import checking in gbq (GH8587) - ---- - pandas/io/gbq.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py -index abb743d..20c1e9f 100644 ---- a/pandas/io/gbq.py -+++ b/pandas/io/gbq.py -@@ -43,7 +43,7 @@ - _GOOGLE_API_CLIENT_INSTALLED=True - _GOOGLE_API_CLIENT_VERSION = pkg_resources.get_distribution('google-api-python-client').version - -- if LooseVersion(_GOOGLE_API_CLIENT_VERSION >= '1.2.0'): -+ if LooseVersion(_GOOGLE_API_CLIENT_VERSION) >= '1.2.0': - _GOOGLE_API_CLIENT_VALID_VERSION = True - - except ImportError: -@@ -56,7 +56,7 @@ - - _GOOGLE_FLAGS_VERSION = pkg_resources.get_distribution('python-gflags').version - -- if LooseVersion(_GOOGLE_FLAGS_VERSION >= '2.0.0'): -+ if LooseVersion(_GOOGLE_FLAGS_VERSION) >= '2.0': - _GOOGLE_FLAGS_VALID_VERSION = True - - except ImportError: diff --git a/dev-python/pandas/files/pandas-0.15.1-datetutil-2.3.patch b/dev-python/pandas/files/pandas-0.15.1-datetutil-2.3.patch deleted file mode 100644 index 4e3d3b02d54e..000000000000 --- a/dev-python/pandas/files/pandas-0.15.1-datetutil-2.3.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 4e4640f4a96525dd08461c9e80857c4f71552e37 Mon Sep 17 00:00:00 2001 -From: jreback <jeff@reback.net> -Date: Sun, 7 Dec 2014 14:56:35 -0500 -Subject: [PATCH] COMPAT: dateutil fixups for 2.3 (GH9021, GH8639) - ---- - pandas/tseries/tests/test_period.py | 4 ++-- - pandas/tslib.pyx | 8 ++++++-- - 2 files changed, 8 insertions(+), 4 deletions(-) - -diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py -index 1fd2d7b..cf82733 100644 ---- a/pandas/tseries/tests/test_period.py -+++ b/pandas/tseries/tests/test_period.py -@@ -104,12 +104,12 @@ def test_timestamp_tz_arg_dateutil(self): - import dateutil - from pandas.tslib import maybe_get_tz - p = Period('1/1/2005', freq='M').to_timestamp(tz=maybe_get_tz('dateutil/Europe/Brussels')) -- self.assertEqual(p.tz, dateutil.tz.gettz('Europe/Brussels')) -+ self.assertEqual(p.tz, dateutil.zoneinfo.gettz('Europe/Brussels')) - - def test_timestamp_tz_arg_dateutil_from_string(self): - import dateutil - p = Period('1/1/2005', freq='M').to_timestamp(tz='dateutil/Europe/Brussels') -- self.assertEqual(p.tz, dateutil.tz.gettz('Europe/Brussels')) -+ self.assertEqual(p.tz, dateutil.zoneinfo.gettz('Europe/Brussels')) - - def test_timestamp_nat_tz(self): - t = Period('NaT', freq='M').to_timestamp() -diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx -index b9ccb76..1976eee 100644 ---- a/pandas/tslib.pyx -+++ b/pandas/tslib.pyx -@@ -37,8 +37,12 @@ cimport cython - - from datetime import timedelta, datetime - from datetime import time as datetime_time -+ -+# dateutil compat - from dateutil.tz import (tzoffset, tzlocal as _dateutil_tzlocal, tzfile as _dateutil_tzfile, -- tzutc as _dateutil_tzutc, gettz as _dateutil_gettz) -+ tzutc as _dateutil_tzutc) -+from dateutil.zoneinfo import gettz as _dateutil_gettz -+ - from pytz.tzinfo import BaseTzInfo as _pytz_BaseTzInfo - from pandas.compat import parse_date, string_types, PY3, iteritems - -@@ -1258,7 +1262,7 @@ cpdef inline object maybe_get_tz(object tz): - if isinstance(tz, string_types): - if tz.startswith('dateutil/'): - zone = tz[9:] -- tz = _dateutil_gettz(tz[9:]) -+ tz = _dateutil_gettz(zone) - # On Python 3 on Windows, the filename is not always set correctly. - if isinstance(tz, _dateutil_tzfile) and '.tar.gz' in tz._filename: - tz._filename = zone diff --git a/dev-python/pandas/files/pandas-0.15.1-enconding.patch b/dev-python/pandas/files/pandas-0.15.1-enconding.patch deleted file mode 100644 index 2f6ba73298c9..000000000000 --- a/dev-python/pandas/files/pandas-0.15.1-enconding.patch +++ /dev/null @@ -1,21 +0,0 @@ -From c4bcc2054bfd2f89b640bea0c9a109b0184d6710 Mon Sep 17 00:00:00 2001 -From: Francesc Via <f@gaxan.com> -Date: Sat, 29 Nov 2014 16:44:09 +0000 -Subject: [PATCH] BUG: moving the utf encoding line to the first line (before - from __future ..) - ---- - pandas/tests/test_format.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py -index 3e85347..ba3daf1 100644 ---- a/pandas/tests/test_format.py -+++ b/pandas/tests/test_format.py -@@ -1,5 +1,5 @@ --from __future__ import print_function - # -*- coding: utf-8 -*- -+from __future__ import print_function - import re - - from pandas.compat import range, zip, lrange, StringIO, PY3, lzip, u diff --git a/dev-python/pandas/files/pandas-0.15.1-skip-tz-test.patch b/dev-python/pandas/files/pandas-0.15.1-skip-tz-test.patch deleted file mode 100644 index 2226a12fc69f..000000000000 --- a/dev-python/pandas/files/pandas-0.15.1-skip-tz-test.patch +++ /dev/null @@ -1,24 +0,0 @@ - pandas/tseries/tests/test_timezones.py | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/pandas/tseries/tests/test_timezones.py b/pandas/tseries/tests/test_timezones.py -index 9fbdb71..62db007 100644 ---- a/pandas/tseries/tests/test_timezones.py -+++ b/pandas/tseries/tests/test_timezones.py -@@ -599,11 +599,12 @@ class TestTimeZoneSupportPytz(tm.TestCase): - self.assertTrue(self.cmptz(result.index.tz, self.tz('US/Eastern'))) - - def test_string_index_alias_tz_aware(self): -- rng = date_range('1/1/2000', periods=10, tz=self.tzstr('US/Eastern')) -- ts = Series(np.random.randn(len(rng)), index=rng) -+ raise nose.SkipTest("https://github.com/pydata/pandas/issues/8639") -+ #rng = date_range('1/1/2000', periods=10, tz=self.tzstr('US/Eastern')) -+ #ts = Series(np.random.randn(len(rng)), index=rng) - -- result = ts['1/3/2000'] -- self.assertAlmostEqual(result, ts[2]) -+ #result = ts['1/3/2000'] -+ #self.assertAlmostEqual(result, ts[2]) - - def test_fixed_offset(self): - dates = [datetime(2000, 1, 1, tzinfo=fixed_off), diff --git a/dev-python/pandas/files/pandas-0.15.2-zoneinfo.patch b/dev-python/pandas/files/pandas-0.15.2-zoneinfo.patch deleted file mode 100644 index f04f76d61c2a..000000000000 --- a/dev-python/pandas/files/pandas-0.15.2-zoneinfo.patch +++ /dev/null @@ -1,87 +0,0 @@ - pandas/tests/test_series.py | 2 +- - pandas/tseries/tests/test_daterange.py | 2 +- - pandas/tseries/tests/test_period.py | 4 ++-- - pandas/tseries/tests/test_timeseries.py | 4 ++-- - pandas/tslib.pyx | 2 +- - 5 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/pandas/tests/test_series.py b/pandas/tests/test_series.py -index c0daeb7..b930b39 100644 ---- a/pandas/tests/test_series.py -+++ b/pandas/tests/test_series.py -@@ -5021,7 +5021,7 @@ class TestSeries(tm.TestCase, CheckNameIntegration): - def test_getitem_setitem_datetime_tz_dateutil(self): - tm._skip_if_no_dateutil(); - from dateutil.tz import tzutc -- from dateutil.zoneinfo import gettz -+ from dateutil.tz import gettz - tz = lambda x: tzutc() if x == 'UTC' else gettz(x) # handle special case for utc in dateutil - - from pandas import date_range -diff --git a/pandas/tseries/tests/test_daterange.py b/pandas/tseries/tests/test_daterange.py -index d568a75..91019ee 100644 ---- a/pandas/tseries/tests/test_daterange.py -+++ b/pandas/tseries/tests/test_daterange.py -@@ -441,7 +441,7 @@ class TestDateRange(tm.TestCase): - def test_month_range_union_tz_dateutil(self): - _skip_if_windows_python_3() - tm._skip_if_no_dateutil() -- from dateutil.zoneinfo import gettz as timezone -+ from dateutil.tz import gettz as timezone - tz = timezone('US/Eastern') - - early_start = datetime(2011, 1, 1) -diff --git a/pandas/tseries/tests/test_period.py b/pandas/tseries/tests/test_period.py -index cf82733..1fd2d7b 100644 ---- a/pandas/tseries/tests/test_period.py -+++ b/pandas/tseries/tests/test_period.py -@@ -104,12 +104,12 @@ class TestPeriodProperties(tm.TestCase): - import dateutil - from pandas.tslib import maybe_get_tz - p = Period('1/1/2005', freq='M').to_timestamp(tz=maybe_get_tz('dateutil/Europe/Brussels')) -- self.assertEqual(p.tz, dateutil.zoneinfo.gettz('Europe/Brussels')) -+ self.assertEqual(p.tz, dateutil.tz.gettz('Europe/Brussels')) - - def test_timestamp_tz_arg_dateutil_from_string(self): - import dateutil - p = Period('1/1/2005', freq='M').to_timestamp(tz='dateutil/Europe/Brussels') -- self.assertEqual(p.tz, dateutil.zoneinfo.gettz('Europe/Brussels')) -+ self.assertEqual(p.tz, dateutil.tz.gettz('Europe/Brussels')) - - def test_timestamp_nat_tz(self): - t = Period('NaT', freq='M').to_timestamp() -diff --git a/pandas/tseries/tests/test_timeseries.py b/pandas/tseries/tests/test_timeseries.py -index 9b8200e..7a428fd 100644 ---- a/pandas/tseries/tests/test_timeseries.py -+++ b/pandas/tseries/tests/test_timeseries.py -@@ -419,7 +419,7 @@ class TestTimeSeries(tm.TestCase): - tm._skip_if_no_dateutil() - import dateutil - rng = date_range('20090415', '20090519', -- tz=dateutil.zoneinfo.gettz('US/Eastern')) -+ tz=dateutil.tz.gettz('US/Eastern')) - - stamp = rng[0] - dtval = stamp.to_pydatetime() -@@ -1797,7 +1797,7 @@ class TestTimeSeries(tm.TestCase): - def test_append_concat_tz_dateutil(self): - # GH 2938 - tm._skip_if_no_dateutil() -- from dateutil.zoneinfo import gettz as timezone -+ from dateutil.tz import gettz as timezone - - rng = date_range('5/8/2012 1:45', periods=10, freq='5T', - tz='dateutil/US/Eastern') -diff --git a/pandas/tslib.pyx b/pandas/tslib.pyx -index e3e18b9..76f5746 100644 ---- a/pandas/tslib.pyx -+++ b/pandas/tslib.pyx -@@ -41,7 +41,7 @@ from datetime import time as datetime_time - # dateutil compat - from dateutil.tz import (tzoffset, tzlocal as _dateutil_tzlocal, tzfile as _dateutil_tzfile, - tzutc as _dateutil_tzutc) --from dateutil.zoneinfo import gettz as _dateutil_gettz -+from dateutil.tz import gettz as _dateutil_gettz - - from pytz.tzinfo import BaseTzInfo as _pytz_BaseTzInfo - from pandas.compat import parse_date, string_types, PY3, iteritems diff --git a/dev-python/pandas/pandas-0.15.2.ebuild b/dev-python/pandas/pandas-0.15.2.ebuild deleted file mode 100644 index 2033a6bbc83e..000000000000 --- a/dev-python/pandas/pandas-0.15.2.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.15.2.ebuild,v 1.5 2015/04/07 10:10:31 jlec Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4} ) - -inherit distutils-r1 eutils flag-o-matic virtualx - -DESCRIPTION="Powerful data structures for data analysis and statistics" -HOMEPAGE="http://pandas.pydata.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="doc examples excel html test R" - -EXTRA_DEPEND=" - >=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)] - dev-python/openpyxl[${PYTHON_USEDEP}] - dev-python/pymysql[${PYTHON_USEDEP}] - dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)] - dev-python/psycopg:2[${PYTHON_USEDEP}] - dev-python/statsmodels[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/xlsxwriter[${PYTHON_USEDEP}] - " -CDEPEND=" - >dev-python/numpy-1.7[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] - !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" -DEPEND="${CDEPEND} - doc? ( - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] - dev-python/openpyxl[${PYTHON_USEDEP}] - >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/rpy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] - dev-python/xlrd[$(python_gen_usedep 'python2_7')] - dev-python/xlwt[$(python_gen_usedep 'python2_7')] - x11-misc/xclip - ) - test? ( - ${EXTRA_DEPEND} - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - )" -# dev-python/statsmodels invokes a circular dep -# hence rm from doc? ( ), again -RDEPEND="${CDEPEND} - >=dev-python/numexpr-2.1[${PYTHON_USEDEP}] - dev-python/bottleneck[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pytables[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - excel? ( - >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] - dev-python/xlrd[$(python_gen_usedep 'python2_7')] - dev-python/xlwt[$(python_gen_usedep 'python2_7')] - ) - html? ( - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - || ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] ) - ) - R? ( dev-python/rpy[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}"/${P}-zoneinfo.patch -) - -python_prepare_all() { - # Prevent un-needed download during build - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - # To build docs the need be located in $BUILD_DIR, - # else PYTHONPATH points to unusable modules. - if use doc; then - cd "${BUILD_DIR}"/lib || die - cp -ar "${S}"/doc . && cd doc || die - LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die - fi -} - -python_test() { - local test_pandas='not network and not disabled' - [[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' - pushd "${BUILD_DIR}"/lib > /dev/null - VIRTUALX_COMMAND="nosetests" - PYTHONPATH=. MPLCONFIGDIR=. HOME=. \ - virtualmake --verbosity=3 -A "${test_pandas}" pandas - popd > /dev/null -} - -python_install_all() { - if use doc; then - dodoc -r "${BUILD_DIR}"/lib/doc/build/html - einfo "An initial build of docs is absent of references to statsmodels" - einfo "due to circular dependency. To have them included, emerge" - einfo "statsmodels next and re-emerge pandas with USE doc" - fi - - use examples && local EXAMPLES=( examples/. ) - distutils-r1_python_install_all -} - -pkg_postinst() { - local x - elog "Please install" - for x in ${EXTRA_DEPEND}; do - optfeature "additional functionality" "${x%%[*}" - done -} diff --git a/dev-python/pandas/pandas-0.16.0.ebuild b/dev-python/pandas/pandas-0.16.0.ebuild deleted file mode 100644 index 1f956379ed73..000000000000 --- a/dev-python/pandas/pandas-0.16.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.16.0.ebuild,v 1.2 2015/04/15 06:34:24 jlec Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4} ) - -inherit distutils-r1 eutils flag-o-matic virtualx - -DESCRIPTION="Powerful data structures for data analysis and statistics" -HOMEPAGE="http://pandas.pydata.org/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc excel html test R" - -EXTRA_DEPEND=" - >=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)] - dev-python/openpyxl[${PYTHON_USEDEP}] - dev-python/pymysql[${PYTHON_USEDEP}] - dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)] - dev-python/psycopg:2[${PYTHON_USEDEP}] - dev-python/statsmodels[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/xlsxwriter[${PYTHON_USEDEP}] - " -CDEPEND=" - >dev-python/numpy-1.7[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] - !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" -DEPEND="${CDEPEND} - doc? ( - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] - dev-python/openpyxl[${PYTHON_USEDEP}] - >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/rpy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] - dev-python/xlrd[$(python_gen_usedep 'python2_7')] - dev-python/xlwt[$(python_gen_usedep 'python2_7')] - x11-misc/xclip - ) - test? ( - ${EXTRA_DEPEND} - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - x11-misc/xclip - x11-misc/xsel - )" -# dev-python/statsmodels invokes a circular dep -# hence rm from doc? ( ), again -RDEPEND="${CDEPEND} - >=dev-python/numexpr-2.1[${PYTHON_USEDEP}] - dev-python/bottleneck[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pytables[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - excel? ( - >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] - dev-python/xlrd[$(python_gen_usedep 'python2_7')] - dev-python/xlwt[$(python_gen_usedep 'python2_7')] - ) - html? ( - dev-python/beautifulsoup:4[${PYTHON_USEDEP}] - || ( - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/html5lib[${PYTHON_USEDEP}] ) - ) - R? ( dev-python/rpy[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.15.2-zoneinfo.patch -) - -python_prepare_all() { - # Prevent un-needed download during build - sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die - - distutils-r1_python_prepare_all -} - -python_compile_all() { - # To build docs the need be located in $BUILD_DIR, - # else PYTHONPATH points to unusable modules. - if use doc; then - cd "${BUILD_DIR}"/lib || die - cp -ar "${S}"/doc . && cd doc || die - LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die - fi -} - -python_test() { - local test_pandas='not network and not disabled' - [[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' - pushd "${BUILD_DIR}"/lib > /dev/null - VIRTUALX_COMMAND="nosetests" - PYTHONPATH=. MPLCONFIGDIR=. HOME=. \ - virtualmake --verbosity=3 -A "${test_pandas}" pandas - popd > /dev/null -} - -python_install_all() { - if use doc; then - dodoc -r "${BUILD_DIR}"/lib/doc/build/html - einfo "An initial build of docs is absent of references to statsmodels" - einfo "due to circular dependency. To have them included, emerge" - einfo "statsmodels next and re-emerge pandas with USE doc" - fi - - distutils-r1_python_install_all -} - -pkg_postinst() { - local x - elog "Please install" - for x in ${EXTRA_DEPEND}; do - optfeature "additional functionality" "${x%%[*}" - done -} diff --git a/dev-python/pandas/pandas-9999.ebuild b/dev-python/pandas/pandas-9999.ebuild index 10ef12fd2ff2..65b3e73cae90 100644 --- a/dev-python/pandas/pandas-9999.ebuild +++ b/dev-python/pandas/pandas-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-9999.ebuild,v 1.13 2015/05/15 11:30:51 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-9999.ebuild,v 1.14 2015/06/28 19:15:09 jlec Exp $ EAPI=5 @@ -79,10 +79,6 @@ RDEPEND="${CDEPEND} ) R? ( dev-python/rpy[${PYTHON_USEDEP}] )" -PATCHES=( - "${FILESDIR}"/${P}-zoneinfo.patch -) - python_prepare_all() { # Prevent un-needed download during build sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die |