[MacPorts] #42075: update py-chaco and related enthought ports
#42075: update py-chaco and related enthought ports -------------------------+------------------------------------------------- Reporter: jjstickel@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: maintainer | Port: py-chaco py-enable py-blockcanvas haspatch | py-etsdevtools py-scimath -------------------------+------------------------------------------------- Patches to update py-chaco, py-enable, py-blockcanvas, py-etsdevtools, and py-scimath to current release versions will be attached. Documentation for these are sparse, but from what I can tell, wx or qt4 is needed as a backend for py-enable (similar to py-pyface). I have copied over the relevant variant lines from the py-pyface portfile. As wx is still not working well, pyqt4 or pyside are currently the options. Also, it seems that the existing patches are not longer needed. I have tested basic functionality by importing the modules in a python shell and plotting something via chaco. -- Ticket URL: <https://trac.macports.org/ticket/42075> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by mojca@…): May I suggest using `wxwidgets` as the variant name rather than `wx`? In case that support for version 2.8 is needed we could have both `wxgtk28` and `wxwidgets30`, but if it's feasible to fix the problems, it might be easier to fix the problems than to keep the wxWidgets' legacy around. -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by jjstickel@…): Replying to [comment:1 mojca@…]:
May I suggest using `wxwidgets` as the variant name rather than `wx`?
In case that support for version 2.8 is needed we could have both `wxgtk28` and `wxwidgets30`, but if it's feasible to fix the problems, it might be easier to fix the problems than to keep the wxWidgets' legacy around.
Sure, wxwidgets can be used for the variant name. At this point, my thought is to just leave it commented out. If there are no bug reports or complaints, I would like to remove the wxwidgets variant entirely at some point in the future. -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by mojca@…): You don't need to do it now, but next time please at least manually change {{{ --- /opt/local/var/macports/sources/leatherman.nrel.gov/macports/release/tarballs_current/ports/python /py-enable/Portfile 2013-12-05 02:00:38.000000000 -0700 +++ python/py-enable/Portfile 2014-01-09 10:23:59.000000000 -0700 }}} into {{{ --- Portfile.orig +++ Portfile }}} or something similar to make it more straightforward to apply the patch. Alternatively you could checkout the port from SVN repository, modify it and run `svn diff`. For example: {{{ svn co --depth=empty https://svn.macports.org/repository/macports/trunk/dports/ macports cd macports svn co --depth=empty python cd python svn co py-enable svn co py-chaco ... cd py-enable # do the necessary changes svn diff }}} -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by mojca@…): Did you try py-enable with wxWidgets at all? I'm asking because it doesn't seem that the port is able to find an existing wxWidgets installation at all. -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by mojca@…): `py-enable` committed in r115805. (PS: I added the `wxWidgets` PortGroup which doesn't do anything if you don't ask for anything, but this way it is a lot easier to find all the `wxWidgets` dependents. If you decide to avoid the option altogether, please remove that PortGroup as well. I also added the link to the two relevant tickets.) -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by mojca@…): `py-chaco` committed in r115807. -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by mojca@…): `py-scimath` committed in r115808. It is complaining about the deprecated api (warning only), but I guess you are aware of that? {{{ clang++: scimath/interpolate/_interpolate.cpp In file included from scimath/interpolate/_interpolate.cpp:5: In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/include/numpy/arrayobject.h:4: In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/include/numpy/ndarrayobject.h:17: In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/include/numpy/ndarraytypes.h:1760: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ scimath/interpolate/_interpolate.cpp:13:30: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] static char *kwlist[] = {"x","y","new_x","new_y", NULL}; ^ scimath/interpolate/_interpolate.cpp:13:34: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] static char *kwlist[] = {"x","y","new_x","new_y", NULL}; ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by mojca@…): `py-etsvdevtools` committed in r115810. -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: 2.2.1 Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by mojca@…): `py-blockcanvas` committed in r115811. -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: closed Component: ports | Milestone: Resolution: fixed | Version: Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Changes (by mojca@…): * status: new => closed * version: 2.2.1 => * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#42075: update py-chaco and related enthought ports -------------------------------------------------+------------------------- Reporter: jjstickel@… | Owner: macports- Type: update | tickets@… Priority: Normal | Status: closed Component: ports | Milestone: Resolution: fixed | Version: Port: py-chaco py-enable py-blockcanvas | Keywords: maintainer py-etsdevtools py-scimath | haspatch -------------------------------------------------+------------------------- Comment (by jjstickel@…): Replying to [comment:5 mojca@…]:
Did you try py-enable with wxWidgets at all?
I'm asking because it doesn't seem that the port is able to find an existing wxWidgets installation at all.
It worked for me today with wxpython-3.0. -- Ticket URL: <https://trac.macports.org/ticket/42075#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts