Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 3 commits
  • 8 files changed
  • 0 commit comments
  • 2 contributors
Commits on Jan 07, 2013
bad Update pandas to 0.10.0.
pkgsrc change: depend on math/py-pytables.

Changes since 0.9.1:

* Delimited file parsing engine rewritten to use a fraction of memory while
  being 40%+ faster.
- Much-improved Unicode handling via the encoding option.
- Column filtering (usecols)
- Dtype specification (dtype argument)
- Ability to specify strings to be recognized as True/False
- Ability to yield NumPy record arrays (as_recarray)
- High performance delim_whitespace option
- Decimal format (e.g. European format) specification
- Easier CSV dialect options: escapechar, lineterminator, quotechar, etc.
- More robust handling of many exceptional kinds of files observed in the wild

* API changes
- Deprecated DataFrame BINOP TimeSeries special case behavior
- Altered resample default behavior
- Infinity and negative infinity are no longer treated as NA by isnull and
  notnull.
- Methods with the inplace option now all return None instead of the calling
  object.
- pandas.merge no longer sorts the group keys (sort=False) by default.
- The default column names for a file with no header have been changed.
- Values like 'Yes' and 'No' are not interpreted as boolean by default.
- The file parsers will not recognize non-string values arising from a
  converter function as NA.
- Calling fillna on Series or DataFrame with no arguments is no longer valid
  code.
- Series.apply will now operate on a returned value from the applied function.
- New API functions for working with pandas options.

* New features
- Wide DataFrame Printing.
- Updated PyTables Support.

* Enhancements
- added ability to hierarchical keys.
- added mixed-dtype support!
- performance improvments on table writing.
- support for arbitrarily indexed dimensions.
- SparseSeries now has a density property.

* Bug fixes
- added Term method of specifying where conditions.
- del store['df'] now call store.remove('df') for store deletion.
- deleting of consecutive rows is much faster than before.
- in_itemsize parameter can be specified in table creation to force a minimum
  size for indexing columns.
- indexing support via create_table_index (requires PyTables >= 2.3)
- appending on a store would fail if the table was not first created via put.
- fixed issue with missing attributes after loading a pickled dataframe.
- minor change to select and remove: require a table ONLY if where is also
  provided.

* Compatibility
- 0.10 of HDFStore is backwards compatible for reading tables created
  in a prior version of pandas, however, query terms using the prior
  (undocumented) methodology are unsupported.

* N Dimensional Panels (Experimental)
7384203
bad Note update of math/py-pandas to 0.10.0. a6b8083
Commits on Jan 08, 2013
marino x11/xfce4-terminal: PR#46926 PR#45448 Fix 100% CPU usage
Patch provided by Dave Tyson has multiple confirmations that it fixes
the issue of 100% CPU usage simply from opening terminal window.
10b0539
View
3 doc/CHANGES-2013
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2013,v 1.100 2013/01/07 21:58:35 kleink Exp $
+$NetBSD: CHANGES-2013,v 1.101 2013/01/07 23:20:55 bad Exp $
Changes to the packages collection and infrastructure in 2013:
@@ -130,3 +130,4 @@ Changes to the packages collection and infrastructure in 2013:
Added www/py-flask-wtf version 0.8.2 [kleink 2013-01-07]
Updated security/gnupg to 1.4.13nb1 [wiz 2013-01-07]
Added www/py-flask-admin version 1.0.4 [kleink 2013-01-07]
+ Updated math/py-pandas to 0.10.0 [bad 2013-01-08]
View
5 math/py-pandas/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2012/11/22 00:15:13 bad Exp $
+# $NetBSD: Makefile,v 1.2 2013/01/07 23:18:35 bad Exp $
-DISTNAME= pandas-0.9.1
+DISTNAME= pandas-0.10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math graphics python
MASTER_SITES= http://pypi.python.org/packages/source/p/pandas/
@@ -13,6 +13,7 @@ LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-dateutil>=1.5:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-pytz>=1.5:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-scipy>=0.7:../../math/py-scipy
+DEPENDS+= ${PYPKGPREFIX}-pytables>=2.2:../../math/py-pytables
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
View
49 math/py-pandas/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2012/11/22 00:15:13 bad Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/01/07 23:18:35 bad Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,9 +8,9 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pandas/__init__.py
${PYSITELIB}/pandas/__init__.pyc
${PYSITELIB}/pandas/__init__.pyo
-${PYSITELIB}/pandas/_algos.so
-${PYSITELIB}/pandas/_period.so
+${PYSITELIB}/pandas/_parser.so
${PYSITELIB}/pandas/_sparse.so
+${PYSITELIB}/pandas/algos.so
${PYSITELIB}/pandas/compat/__init__.py
${PYSITELIB}/pandas/compat/__init__.pyc
${PYSITELIB}/pandas/compat/__init__.pyo
@@ -32,6 +32,12 @@ ${PYSITELIB}/pandas/core/categorical.pyo
${PYSITELIB}/pandas/core/common.py
${PYSITELIB}/pandas/core/common.pyc
${PYSITELIB}/pandas/core/common.pyo
+${PYSITELIB}/pandas/core/config.py
+${PYSITELIB}/pandas/core/config.pyc
+${PYSITELIB}/pandas/core/config.pyo
+${PYSITELIB}/pandas/core/config_init.py
+${PYSITELIB}/pandas/core/config_init.pyc
+${PYSITELIB}/pandas/core/config_init.pyo
${PYSITELIB}/pandas/core/daterange.py
${PYSITELIB}/pandas/core/daterange.pyc
${PYSITELIB}/pandas/core/daterange.pyo
@@ -71,6 +77,12 @@ ${PYSITELIB}/pandas/core/nanops.pyo
${PYSITELIB}/pandas/core/panel.py
${PYSITELIB}/pandas/core/panel.pyc
${PYSITELIB}/pandas/core/panel.pyo
+${PYSITELIB}/pandas/core/panel4d.py
+${PYSITELIB}/pandas/core/panel4d.pyc
+${PYSITELIB}/pandas/core/panel4d.pyo
+${PYSITELIB}/pandas/core/panelnd.py
+${PYSITELIB}/pandas/core/panelnd.pyc
+${PYSITELIB}/pandas/core/panelnd.pyo
${PYSITELIB}/pandas/core/reshape.py
${PYSITELIB}/pandas/core/reshape.pyc
${PYSITELIB}/pandas/core/reshape.pyo
@@ -83,18 +95,26 @@ ${PYSITELIB}/pandas/core/sparse.pyo
${PYSITELIB}/pandas/core/strings.py
${PYSITELIB}/pandas/core/strings.pyc
${PYSITELIB}/pandas/core/strings.pyo
+${PYSITELIB}/pandas/hashtable.so
+${PYSITELIB}/pandas/index.so
${PYSITELIB}/pandas/info.py
${PYSITELIB}/pandas/info.pyc
${PYSITELIB}/pandas/info.pyo
${PYSITELIB}/pandas/io/__init__.py
${PYSITELIB}/pandas/io/__init__.pyc
${PYSITELIB}/pandas/io/__init__.pyo
+${PYSITELIB}/pandas/io/auth.py
+${PYSITELIB}/pandas/io/auth.pyc
+${PYSITELIB}/pandas/io/auth.pyo
${PYSITELIB}/pandas/io/data.py
${PYSITELIB}/pandas/io/data.pyc
${PYSITELIB}/pandas/io/data.pyo
${PYSITELIB}/pandas/io/date_converters.py
${PYSITELIB}/pandas/io/date_converters.pyc
${PYSITELIB}/pandas/io/date_converters.pyo
+${PYSITELIB}/pandas/io/ga.py
+${PYSITELIB}/pandas/io/ga.pyc
+${PYSITELIB}/pandas/io/ga.pyo
${PYSITELIB}/pandas/io/parsers.py
${PYSITELIB}/pandas/io/parsers.pyc
${PYSITELIB}/pandas/io/parsers.pyo
@@ -108,6 +128,8 @@ ${PYSITELIB}/pandas/io/tests/__init__.py
${PYSITELIB}/pandas/io/tests/__init__.pyc
${PYSITELIB}/pandas/io/tests/__init__.pyo
${PYSITELIB}/pandas/io/tests/legacy.h5
+${PYSITELIB}/pandas/io/tests/legacy_table.h5
+${PYSITELIB}/pandas/io/tests/rossi_small.csv
${PYSITELIB}/pandas/io/tests/salary.table
${PYSITELIB}/pandas/io/tests/test.xls
${PYSITELIB}/pandas/io/tests/test.xlsx
@@ -115,9 +137,18 @@ ${PYSITELIB}/pandas/io/tests/test1.csv
${PYSITELIB}/pandas/io/tests/test2.csv
${PYSITELIB}/pandas/io/tests/test2.xls
${PYSITELIB}/pandas/io/tests/test3.xls
+${PYSITELIB}/pandas/io/tests/test_cparser.py
+${PYSITELIB}/pandas/io/tests/test_cparser.pyc
+${PYSITELIB}/pandas/io/tests/test_cparser.pyo
${PYSITELIB}/pandas/io/tests/test_date_converters.py
${PYSITELIB}/pandas/io/tests/test_date_converters.pyc
${PYSITELIB}/pandas/io/tests/test_date_converters.pyo
+${PYSITELIB}/pandas/io/tests/test_excel.py
+${PYSITELIB}/pandas/io/tests/test_excel.pyc
+${PYSITELIB}/pandas/io/tests/test_excel.pyo
+${PYSITELIB}/pandas/io/tests/test_ga.py
+${PYSITELIB}/pandas/io/tests/test_ga.pyc
+${PYSITELIB}/pandas/io/tests/test_ga.pyo
${PYSITELIB}/pandas/io/tests/test_parsers.py
${PYSITELIB}/pandas/io/tests/test_parsers.pyc
${PYSITELIB}/pandas/io/tests/test_parsers.pyo
@@ -127,9 +158,11 @@ ${PYSITELIB}/pandas/io/tests/test_pytables.pyo
${PYSITELIB}/pandas/io/tests/test_sql.py
${PYSITELIB}/pandas/io/tests/test_sql.pyc
${PYSITELIB}/pandas/io/tests/test_sql.pyo
+${PYSITELIB}/pandas/io/tests/test_utf16.csv
${PYSITELIB}/pandas/io/tests/test_yahoo.py
${PYSITELIB}/pandas/io/tests/test_yahoo.pyc
${PYSITELIB}/pandas/io/tests/test_yahoo.pyo
+${PYSITELIB}/pandas/io/tests/utf16_ex.txt
${PYSITELIB}/pandas/lib.so
${PYSITELIB}/pandas/rpy/__init__.py
${PYSITELIB}/pandas/rpy/__init__.pyc
@@ -255,6 +288,9 @@ ${PYSITELIB}/pandas/tests/test_algos.pyo
${PYSITELIB}/pandas/tests/test_common.py
${PYSITELIB}/pandas/tests/test_common.pyc
${PYSITELIB}/pandas/tests/test_common.pyo
+${PYSITELIB}/pandas/tests/test_config.py
+${PYSITELIB}/pandas/tests/test_config.pyc
+${PYSITELIB}/pandas/tests/test_config.pyo
${PYSITELIB}/pandas/tests/test_factor.py
${PYSITELIB}/pandas/tests/test_factor.pyc
${PYSITELIB}/pandas/tests/test_factor.pyo
@@ -285,6 +321,12 @@ ${PYSITELIB}/pandas/tests/test_ndframe.pyo
${PYSITELIB}/pandas/tests/test_panel.py
${PYSITELIB}/pandas/tests/test_panel.pyc
${PYSITELIB}/pandas/tests/test_panel.pyo
+${PYSITELIB}/pandas/tests/test_panel4d.py
+${PYSITELIB}/pandas/tests/test_panel4d.pyc
+${PYSITELIB}/pandas/tests/test_panel4d.pyo
+${PYSITELIB}/pandas/tests/test_panelnd.py
+${PYSITELIB}/pandas/tests/test_panelnd.pyc
+${PYSITELIB}/pandas/tests/test_panelnd.pyo
${PYSITELIB}/pandas/tests/test_reshape.py
${PYSITELIB}/pandas/tests/test_reshape.pyc
${PYSITELIB}/pandas/tests/test_reshape.pyo
@@ -413,6 +455,7 @@ ${PYSITELIB}/pandas/tseries/tools.pyo
${PYSITELIB}/pandas/tseries/util.py
${PYSITELIB}/pandas/tseries/util.pyc
${PYSITELIB}/pandas/tseries/util.pyo
+${PYSITELIB}/pandas/tslib.so
${PYSITELIB}/pandas/util/__init__.py
${PYSITELIB}/pandas/util/__init__.pyc
${PYSITELIB}/pandas/util/__init__.pyo
View
9 math/py-pandas/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1 2012/11/22 00:15:13 bad Exp $
+$NetBSD: distinfo,v 1.2 2013/01/07 23:18:35 bad Exp $
-SHA1 (pandas-0.9.1.tar.gz) = 296e5bb0c08e01805112b7bc66edf6402fab2b75
-RMD160 (pandas-0.9.1.tar.gz) = 4e0c1682803535e1b1557cbb0763f4e70cc3227d
-Size (pandas-0.9.1.tar.gz) = 2284689 bytes
-SHA1 (patch-pandas-src-tseries.c) = 00a2971e1070932b2af3ca05fc5bdb700a28ac4b
+SHA1 (pandas-0.10.0.tar.gz) = 92fb8e996910e63f5583640404a124c83ce73ab4
+RMD160 (pandas-0.10.0.tar.gz) = da485444ba0b10979ed7ebecdbd2e184d123e0ca
+Size (pandas-0.10.0.tar.gz) = 2842342 bytes
View
22 math/py-pandas/patches/patch-pandas-src-tseries.c
@@ -1,22 +0,0 @@
-$NetBSD: patch-pandas-src-tseries.c,v 1.1 2012/11/22 00:15:13 bad Exp $
-
---- pandas/src/tseries.c.orig 2012-11-15 00:20:20.000000000 +0000
-+++ pandas/src/tseries.c 2012-11-20 22:58:37.000000000 +0000
-@@ -151203,7 +151203,7 @@
- * cdef int64_t _NS_UPPER_BOUND = -9223372036854775807LL
- *
- */
-- __pyx_v_6pandas_3lib__NS_LOWER_BOUND = -9223285636854775809;
-+ __pyx_v_6pandas_3lib__NS_LOWER_BOUND = -9223285636854775809LL;
-
- /* "/home/wesm/code/pandas/pandas/src/datetime.pyx":665
- *
-@@ -151212,7 +151212,7 @@
- *
- * cdef inline _check_dts_bounds(int64_t value, pandas_datetimestruct *dts):
- */
-- __pyx_v_6pandas_3lib__NS_UPPER_BOUND = -9223372036854775807;
-+ __pyx_v_6pandas_3lib__NS_UPPER_BOUND = -9223372036854775807LL;
-
- /* "/home/wesm/code/pandas/pandas/src/datetime.pyx":745
- * raise ValueError('Unable to parse %s' % str(val))
View
4 x11/xfce4-terminal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2012/10/29 05:07:10 asau Exp $
+# $NetBSD: Makefile,v 1.28 2013/01/08 01:23:18 marino Exp $
.include "../../meta-pkgs/xfce4/Makefile.common"
@@ -6,7 +6,7 @@ XFCE4_VERSION= 0.4.2
DISTNAME= Terminal-${XFCE4_VERSION}
PKGNAME= xfce4-terminal-${XFCE4_VERSION}
-PKGREVISION= 13
+PKGREVISION= 14
CATEGORIES= x11
COMMENT= Xfce terminal emulator
View
3 x11/xfce4-terminal/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2009/11/29 22:16:34 snj Exp $
+$NetBSD: distinfo,v 1.7 2013/01/08 01:23:19 marino Exp $
SHA1 (Terminal-0.4.2.tar.bz2) = bf4510e331284d7f68ba193fe1d6f2e57b7815bb
RMD160 (Terminal-0.4.2.tar.bz2) = 8e6364673d6b0d8eddfd59f3f82d3944fca45684
Size (Terminal-0.4.2.tar.bz2) = 1981158 bytes
+SHA1 (patch-terminal_terminal-screen.c) = dcfa62798ea47e26ed65df031c09991f24d4fa7c
View
78 x11/xfce4-terminal/patches/patch-terminal_terminal-screen.c
@@ -0,0 +1,78 @@
+$NetBSD: patch-terminal_terminal-screen.c,v 1.1 2013/01/08 01:23:19 marino Exp $
+
+Fix for 100% CPU usage on XFce4 Terminal (Dave Tyson)
+PR# pkg/45448
+PR# pkg/46926
+
+--- terminal/terminal-screen.c.orig 2009-10-06 15:07:01.000000000 +0000
++++ terminal/terminal-screen.c
+@@ -87,6 +87,7 @@ static gboolean terminal_screen_get_ch
+ GError **error);
+ static gchar **terminal_screen_get_child_environment (TerminalScreen *screen);
+ static void terminal_screen_update_background (TerminalScreen *screen);
++static void terminal_screen_update_background_fast (TerminalScreen *screen);
+ static void terminal_screen_update_binding_backspace (TerminalScreen *screen);
+ static void terminal_screen_update_binding_delete (TerminalScreen *screen);
+ static void terminal_screen_update_colors (TerminalScreen *screen);
+@@ -132,6 +133,8 @@ struct _TerminalScreen
+ GtkWidget *scrollbar;
+ GtkWidget *tab_label;
+
++ gulong background_signal_id;
++
+ GPid pid;
+ gchar *working_directory;
+
+@@ -231,7 +234,6 @@ terminal_screen_init (TerminalScreen *sc
+ "signal::context-menu", G_CALLBACK (terminal_screen_vte_get_context_menu), screen,
+ "signal::selection-changed", G_CALLBACK (terminal_screen_vte_selection_changed), screen,
+ "signal::window-title-changed", G_CALLBACK (terminal_screen_vte_window_title_changed), screen,
+- "swapped-signal::size-allocate", G_CALLBACK (terminal_screen_timer_background), screen,
+ "swapped-signal::style-set", G_CALLBACK (terminal_screen_update_colors), screen,
+ NULL);
+ gtk_box_pack_start (GTK_BOX (screen), screen->terminal, TRUE, TRUE, 0);
+@@ -573,6 +575,18 @@ terminal_screen_get_child_environment (T
+
+
+ static void
++terminal_screen_update_background_fast (TerminalScreen *screen)
++{
++ if (G_UNLIKELY (screen->background_timer_id == 0))
++ {
++ screen->background_timer_id = g_idle_add_full (G_PRIORITY_LOW, terminal_screen_timer_background,
++ screen, terminal_screen_timer_background_destroy);
++ }
++}
++
++
++
++static void
+ terminal_screen_update_background (TerminalScreen *screen)
+ {
+ if (G_UNLIKELY (screen->background_timer_id != 0))
+@@ -1015,9 +1029,25 @@ terminal_screen_timer_background (gpoint
+ if (G_LIKELY (image != NULL))
+ g_object_unref (G_OBJECT (image));
+ g_object_unref (G_OBJECT (loader));
++
++ /* refresh background on size changes */
++ if (screen->background_signal_id == 0)
++ {
++ screen->background_signal_id =
++ g_signal_connect_swapped (G_OBJECT (screen->terminal), "size-allocate",
++ G_CALLBACK (terminal_screen_update_background_fast), screen);
++ }
+ }
+ else
+ {
++ /* stop updating on size changes */
++ if (screen->background_signal_id != 0)
++ {
++ g_signal_handler_disconnect (G_OBJECT (screen->terminal), screen->background_signal_id);
++ screen->background_signal_id = 0;
++ }
++
++ /* WARNING: the causes a resize too! */
+ vte_terminal_set_background_image (VTE_TERMINAL (screen->terminal), NULL);
+ }
+

No commit comments for this range

Something went wrong with that request. Please try again.