pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-ipython Update ipython to 5.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f9fd82695f5
branches:  trunk
changeset: 361614:2f9fd82695f5
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Apr 23 04:50:51 2017 +0000

description:
Update ipython to 5.3.0

IPython 4.0
===========

Released August, 2015

IPython 4.0 is the first major release after the Big Split.
IPython no longer contains the notebook, qtconsole, etc. which have moved to
jupyter <https://jupyter.readthedocs.io>.
IPython subprojects, such as IPython.parallel and widgets have moved to their
own repos as well

IPython 5.0
===========

Released July 7, 2016

New terminal interface
----------------------

IPython 5 features a major upgrade to the terminal interface, bringing live
syntax highlighting as you type, proper multiline editing and multiline paste,
and tab completions that don't clutter up your history.

.. image:: ../_images/ptshell_features.png
    :alt: New terminal interface features
    :align: center
    :target: ../_images/ptshell_features.png

These features are provided by the Python library prompt_toolkit,
which replaces ``readline`` throughout our terminal interface.

Relying on this pure-Python, cross platform module also makes it simpler to
install IPython. We have removed dependencies on ``pyreadline`` for Windows and
``gnureadline`` for Mac.

Backwards incompatible changes
------------------------------

- The ``%install_ext`` magic function, deprecated since 4.0, has now been deleted.
  You can distribute and install extensions as packages on PyPI.
- Callbacks registered while an event is being handled will now only be called
  for subsequent events; previously they could be called for the current event.
  Similarly, callbacks removed while handling an event *will* always get that
  event.
- Integration with pydb has been removed since pydb development has been stopped
  since 2012, and pydb is not installable from PyPI.
- The ``autoedit_syntax`` option has apparently been broken for many years.
  It has been removed.

IPython 5.3
===========

Released on January 29th, 2017. Remarkable changes and fixes:

* Fix a bug in ``set_next_input`` leading to a crash of terminal IPython.
* Always wait for editor inputhook for terminal IPython
* Disable ``_ipython_display_`` in terminal
* Update terminal colors to be more visible by default on windows
* Add Ctrl-Z shortcut (suspend) in terminal debugger
* Indent on new line by looking at the text before the cursor
* Update QtEventloop integration to fix some matplotlib integration issues
* Respect completions display style in terminal debugger
* Add a config option ``TerminalInteractiveShell.extra_open_editor_shortcuts``
  to enable extra shortcuts to open the input in an editor. These are :kbd:`v`
  in vi mode, and :kbd:`C-X C-E` in emacs mode
  The :kbd:`F2` shortcut is always enabled.

diffstat:

 devel/py-ipython/Makefile |    33 +-
 devel/py-ipython/PLIST    |  1880 ++------------------------------------------
 devel/py-ipython/distinfo |    10 +-
 3 files changed, 124 insertions(+), 1799 deletions(-)

diffs (truncated from 2164 to 300 lines):

diff -r 5d4c1a94903b -r 2f9fd82695f5 devel/py-ipython/Makefile
--- a/devel/py-ipython/Makefile Sun Apr 23 04:33:47 2017 +0000
+++ b/devel/py-ipython/Makefile Sun Apr 23 04:50:51 2017 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2017/01/03 13:23:02 jperkin Exp $
+# $NetBSD: Makefile,v 1.19 2017/04/23 04:50:51 markd Exp $
 
-DISTNAME=      ipython-3.2.1
+DISTNAME=      ipython-5.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel lang
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ipython/}
 
@@ -11,27 +10,31 @@
 COMMENT=       Interactive computing environment for Python
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
-DEPENDS+=      ${PYPKGPREFIX}-jsonschema-[0-9]*:../../textproc/py-jsonschema
+.include "../../lang/python/distutils.mk"
+
+.if ${PYPKGPREFIX} == py27
+DEPENDS+=      ${PYPKGPREFIX}-backports.shutil_get_terminal_size-[0-9]*:../../devel/py-backports.shutil_get_terminal_size
+DEPENDS+=      ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
+.endif
+
+DEPENDS+=      ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
 DEPENDS+=      ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
+DEPENDS+=      ${PYPKGPREFIX}-prompt_toolkit>=1.0.4:../../devel/py-prompt_toolkit
+DEPENDS+=      ${PYPKGPREFIX}-setuptools>=18.5:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
-DEPENDS+=      ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline
 DEPENDS+=      ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
-DEPENDS+=      ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado
-DEPENDS+=      ${PYPKGPREFIX}-zmq>=14.0.1:../../net/py-zmq
+DEPENDS+=      ${PYPKGPREFIX}-pickleshare-[0-9]*:../../databases/py-pickleshare
+DEPENDS+=      ${PYPKGPREFIX}-simplegeneric>0.8:../../devel/py-simplegeneric
+DEPENDS+=      ${PYPKGPREFIX}-traitlets>=4.2:../../devel/py-traitlets
 
 USE_LANGUAGES= # none
 
 REPLACE_PYTHON=        */*/*.py */*/*/*.py
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/iptest ${DESTDIR}${PREFIX}/bin/iptest${PYVERSSUFFIX} || ${TRUE}
-       for f in ipcluster ipcontroller ipengine ipython; do \
-               ${MV} ${DESTDIR}${PREFIX}/bin/$$f ${DESTDIR}${PREFIX}/bin/$${f}${PYVERSSUFFIX} || ${TRUE}; \
-               ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$${f}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/$${f}${PYVERSSUFFIX}.1 || ${TRUE}; \
-       done
+       ${MV} ${DESTDIR}${PREFIX}/bin/iptest ${DESTDIR}${PREFIX}/bin/iptest${PYVERSSUFFIX}
+       ${MV} ${DESTDIR}${PREFIX}/bin/ipython ${DESTDIR}${PREFIX}/bin/ipython${PYVERSSUFFIX}
+       ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ipython.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ipython${PYVERSSUFFIX}.1
 
-.include "../../lang/python/distutils.mk"
 .include "../../lang/python/application.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5d4c1a94903b -r 2f9fd82695f5 devel/py-ipython/PLIST
--- a/devel/py-ipython/PLIST    Sun Apr 23 04:33:47 2017 +0000
+++ b/devel/py-ipython/PLIST    Sun Apr 23 04:50:51 2017 +0000
@@ -1,13 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2015/12/15 10:23:03 markd Exp $
-${PLIST.py2x}bin/ipcluster2
-${PLIST.py3x}bin/ipcluster3
-bin/ipcluster${PYVERSSUFFIX}
-${PLIST.py2x}bin/ipcontroller2
-${PLIST.py3x}bin/ipcontroller3
-bin/ipcontroller${PYVERSSUFFIX}
-${PLIST.py2x}bin/ipengine2
-${PLIST.py3x}bin/ipengine3
-bin/ipengine${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.6 2017/04/23 04:50:51 markd Exp $
 ${PLIST.py2x}bin/iptest2
 ${PLIST.py3x}bin/iptest3
 bin/iptest${PYVERSSUFFIX}
@@ -20,50 +11,9 @@
 ${PYSITELIB}/IPython/__main__.py
 ${PYSITELIB}/IPython/__main__.pyc
 ${PYSITELIB}/IPython/__main__.pyo
-${PYSITELIB}/IPython/config/__init__.py
-${PYSITELIB}/IPython/config/__init__.pyc
-${PYSITELIB}/IPython/config/__init__.pyo
-${PYSITELIB}/IPython/config/application.py
-${PYSITELIB}/IPython/config/application.pyc
-${PYSITELIB}/IPython/config/application.pyo
-${PYSITELIB}/IPython/config/configurable.py
-${PYSITELIB}/IPython/config/configurable.pyc
-${PYSITELIB}/IPython/config/configurable.pyo
-${PYSITELIB}/IPython/config/loader.py
-${PYSITELIB}/IPython/config/loader.pyc
-${PYSITELIB}/IPython/config/loader.pyo
-${PYSITELIB}/IPython/config/manager.py
-${PYSITELIB}/IPython/config/manager.pyc
-${PYSITELIB}/IPython/config/manager.pyo
-${PYSITELIB}/IPython/config/profile/README
-${PYSITELIB}/IPython/config/profile/README_STARTUP
-${PYSITELIB}/IPython/config/profile/__init__.py
-${PYSITELIB}/IPython/config/profile/__init__.pyc
-${PYSITELIB}/IPython/config/profile/__init__.pyo
-${PYSITELIB}/IPython/config/profile/cluster/ipython_config.py
-${PYSITELIB}/IPython/config/profile/cluster/ipython_config.pyc
-${PYSITELIB}/IPython/config/profile/cluster/ipython_config.pyo
-${PYSITELIB}/IPython/config/profile/math/ipython_config.py
-${PYSITELIB}/IPython/config/profile/math/ipython_config.pyc
-${PYSITELIB}/IPython/config/profile/math/ipython_config.pyo
-${PYSITELIB}/IPython/config/profile/pysh/ipython_config.py
-${PYSITELIB}/IPython/config/profile/pysh/ipython_config.pyc
-${PYSITELIB}/IPython/config/profile/pysh/ipython_config.pyo
-${PYSITELIB}/IPython/config/profile/sympy/ipython_config.py
-${PYSITELIB}/IPython/config/profile/sympy/ipython_config.pyc
-${PYSITELIB}/IPython/config/profile/sympy/ipython_config.pyo
-${PYSITELIB}/IPython/config/tests/__init__.py
-${PYSITELIB}/IPython/config/tests/__init__.pyc
-${PYSITELIB}/IPython/config/tests/__init__.pyo
-${PYSITELIB}/IPython/config/tests/test_application.py
-${PYSITELIB}/IPython/config/tests/test_application.pyc
-${PYSITELIB}/IPython/config/tests/test_application.pyo
-${PYSITELIB}/IPython/config/tests/test_configurable.py
-${PYSITELIB}/IPython/config/tests/test_configurable.pyc
-${PYSITELIB}/IPython/config/tests/test_configurable.pyo
-${PYSITELIB}/IPython/config/tests/test_loader.py
-${PYSITELIB}/IPython/config/tests/test_loader.pyc
-${PYSITELIB}/IPython/config/tests/test_loader.pyo
+${PYSITELIB}/IPython/config.py
+${PYSITELIB}/IPython/config.pyc
+${PYSITELIB}/IPython/config.pyo
 ${PYSITELIB}/IPython/consoleapp.py
 ${PYSITELIB}/IPython/consoleapp.pyc
 ${PYSITELIB}/IPython/consoleapp.pyo
@@ -175,9 +125,6 @@
 ${PYSITELIB}/IPython/core/magics/config.py
 ${PYSITELIB}/IPython/core/magics/config.pyc
 ${PYSITELIB}/IPython/core/magics/config.pyo
-${PYSITELIB}/IPython/core/magics/deprecated.py
-${PYSITELIB}/IPython/core/magics/deprecated.pyc
-${PYSITELIB}/IPython/core/magics/deprecated.pyo
 ${PYSITELIB}/IPython/core/magics/display.py
 ${PYSITELIB}/IPython/core/magics/display.pyc
 ${PYSITELIB}/IPython/core/magics/display.pyo
@@ -220,6 +167,7 @@
 ${PYSITELIB}/IPython/core/prefilter.py
 ${PYSITELIB}/IPython/core/prefilter.pyc
 ${PYSITELIB}/IPython/core/prefilter.pyo
+${PYSITELIB}/IPython/core/profile/README_STARTUP
 ${PYSITELIB}/IPython/core/profileapp.py
 ${PYSITELIB}/IPython/core/profileapp.pyc
 ${PYSITELIB}/IPython/core/profileapp.pyo
@@ -249,9 +197,12 @@
 ${PYSITELIB}/IPython/core/tests/__init__.py
 ${PYSITELIB}/IPython/core/tests/__init__.pyc
 ${PYSITELIB}/IPython/core/tests/__init__.pyo
-${PYSITELIB}/IPython/core/tests/daft_extension.py
-${PYSITELIB}/IPython/core/tests/daft_extension.pyc
-${PYSITELIB}/IPython/core/tests/daft_extension.pyo
+${PYSITELIB}/IPython/core/tests/bad_all.py
+${PYSITELIB}/IPython/core/tests/bad_all.pyc
+${PYSITELIB}/IPython/core/tests/bad_all.pyo
+${PYSITELIB}/IPython/core/tests/daft_extension/daft_extension.py
+${PYSITELIB}/IPython/core/tests/daft_extension/daft_extension.pyc
+${PYSITELIB}/IPython/core/tests/daft_extension/daft_extension.pyo
 ${PYSITELIB}/IPython/core/tests/nonascii.py
 ${PYSITELIB}/IPython/core/tests/nonascii.pyc
 ${PYSITELIB}/IPython/core/tests/nonascii.pyo
@@ -294,6 +245,9 @@
 ${PYSITELIB}/IPython/core/tests/test_display.py
 ${PYSITELIB}/IPython/core/tests/test_display.pyc
 ${PYSITELIB}/IPython/core/tests/test_display.pyo
+${PYSITELIB}/IPython/core/tests/test_displayhook.py
+${PYSITELIB}/IPython/core/tests/test_displayhook.pyc
+${PYSITELIB}/IPython/core/tests/test_displayhook.pyo
 ${PYSITELIB}/IPython/core/tests/test_events.py
 ${PYSITELIB}/IPython/core/tests/test_events.pyc
 ${PYSITELIB}/IPython/core/tests/test_events.pyo
@@ -345,6 +299,9 @@
 ${PYSITELIB}/IPython/core/tests/test_page.py
 ${PYSITELIB}/IPython/core/tests/test_page.pyc
 ${PYSITELIB}/IPython/core/tests/test_page.pyo
+${PYSITELIB}/IPython/core/tests/test_paths.py
+${PYSITELIB}/IPython/core/tests/test_paths.pyc
+${PYSITELIB}/IPython/core/tests/test_paths.pyo
 ${PYSITELIB}/IPython/core/tests/test_prefilter.py
 ${PYSITELIB}/IPython/core/tests/test_prefilter.pyc
 ${PYSITELIB}/IPython/core/tests/test_prefilter.pyo
@@ -387,9 +344,6 @@
 ${PYSITELIB}/IPython/extensions/cythonmagic.py
 ${PYSITELIB}/IPython/extensions/cythonmagic.pyc
 ${PYSITELIB}/IPython/extensions/cythonmagic.pyo
-${PYSITELIB}/IPython/extensions/parallelmagic.py
-${PYSITELIB}/IPython/extensions/parallelmagic.pyc
-${PYSITELIB}/IPython/extensions/parallelmagic.pyo
 ${PYSITELIB}/IPython/extensions/rmagic.py
 ${PYSITELIB}/IPython/extensions/rmagic.pyc
 ${PYSITELIB}/IPython/extensions/rmagic.pyo
@@ -411,21 +365,6 @@
 ${PYSITELIB}/IPython/external/__init__.py
 ${PYSITELIB}/IPython/external/__init__.pyc
 ${PYSITELIB}/IPython/external/__init__.pyo
-${PYSITELIB}/IPython/external/appnope/__init__.py
-${PYSITELIB}/IPython/external/appnope/__init__.pyc
-${PYSITELIB}/IPython/external/appnope/__init__.pyo
-${PYSITELIB}/IPython/external/appnope/_dummy.py
-${PYSITELIB}/IPython/external/appnope/_dummy.pyc
-${PYSITELIB}/IPython/external/appnope/_dummy.pyo
-${PYSITELIB}/IPython/external/appnope/_nope.py
-${PYSITELIB}/IPython/external/appnope/_nope.pyc
-${PYSITELIB}/IPython/external/appnope/_nope.pyo
-${PYSITELIB}/IPython/external/decorator/__init__.py
-${PYSITELIB}/IPython/external/decorator/__init__.pyc
-${PYSITELIB}/IPython/external/decorator/__init__.pyo
-${PYSITELIB}/IPython/external/decorator/_decorator.py
-${PYSITELIB}/IPython/external/decorator/_decorator.pyc
-${PYSITELIB}/IPython/external/decorator/_decorator.pyo
 ${PYSITELIB}/IPython/external/decorators/__init__.py
 ${PYSITELIB}/IPython/external/decorators/__init__.pyc
 ${PYSITELIB}/IPython/external/decorators/__init__.pyo
@@ -441,726 +380,18 @@
 ${PYSITELIB}/IPython/external/mathjax.py
 ${PYSITELIB}/IPython/external/mathjax.pyc
 ${PYSITELIB}/IPython/external/mathjax.pyo
-${PYSITELIB}/IPython/external/path/__init__.py
-${PYSITELIB}/IPython/external/path/__init__.pyc
-${PYSITELIB}/IPython/external/path/__init__.pyo
-${PYSITELIB}/IPython/external/path/_path.py
-${PYSITELIB}/IPython/external/path/_path.pyc
-${PYSITELIB}/IPython/external/path/_path.pyo
-${PYSITELIB}/IPython/external/pexpect/__init__.py
-${PYSITELIB}/IPython/external/pexpect/__init__.pyc
-${PYSITELIB}/IPython/external/pexpect/__init__.pyo
-${PYSITELIB}/IPython/external/pexpect/_pexpect.py
-${PYSITELIB}/IPython/external/pexpect/_pexpect.pyc
-${PYSITELIB}/IPython/external/pexpect/_pexpect.pyo
-${PYSITELIB}/IPython/external/qt.py
-${PYSITELIB}/IPython/external/qt.pyc
-${PYSITELIB}/IPython/external/qt.pyo
 ${PYSITELIB}/IPython/external/qt_for_kernel.py
 ${PYSITELIB}/IPython/external/qt_for_kernel.pyc
 ${PYSITELIB}/IPython/external/qt_for_kernel.pyo
 ${PYSITELIB}/IPython/external/qt_loaders.py
 ${PYSITELIB}/IPython/external/qt_loaders.pyc
 ${PYSITELIB}/IPython/external/qt_loaders.pyo
-${PYSITELIB}/IPython/external/simplegeneric/__init__.py
-${PYSITELIB}/IPython/external/simplegeneric/__init__.pyc
-${PYSITELIB}/IPython/external/simplegeneric/__init__.pyo
-${PYSITELIB}/IPython/external/simplegeneric/_simplegeneric.py
-${PYSITELIB}/IPython/external/simplegeneric/_simplegeneric.pyc
-${PYSITELIB}/IPython/external/simplegeneric/_simplegeneric.pyo
 ${PYSITELIB}/IPython/frontend.py
 ${PYSITELIB}/IPython/frontend.pyc
 ${PYSITELIB}/IPython/frontend.pyo
-${PYSITELIB}/IPython/html/__init__.py
-${PYSITELIB}/IPython/html/__init__.pyc
-${PYSITELIB}/IPython/html/__init__.pyo
-${PYSITELIB}/IPython/html/__main__.py
-${PYSITELIB}/IPython/html/__main__.pyc
-${PYSITELIB}/IPython/html/__main__.pyo
-${PYSITELIB}/IPython/html/allow76.py
-${PYSITELIB}/IPython/html/allow76.pyc
-${PYSITELIB}/IPython/html/allow76.pyo
-${PYSITELIB}/IPython/html/auth/__init__.py
-${PYSITELIB}/IPython/html/auth/__init__.pyc
-${PYSITELIB}/IPython/html/auth/__init__.pyo
-${PYSITELIB}/IPython/html/auth/login.py
-${PYSITELIB}/IPython/html/auth/login.pyc
-${PYSITELIB}/IPython/html/auth/login.pyo
-${PYSITELIB}/IPython/html/auth/logout.py
-${PYSITELIB}/IPython/html/auth/logout.pyc
-${PYSITELIB}/IPython/html/auth/logout.pyo
-${PYSITELIB}/IPython/html/base/__init__.py
-${PYSITELIB}/IPython/html/base/__init__.pyc
-${PYSITELIB}/IPython/html/base/__init__.pyo
-${PYSITELIB}/IPython/html/base/handlers.py
-${PYSITELIB}/IPython/html/base/handlers.pyc
-${PYSITELIB}/IPython/html/base/handlers.pyo
-${PYSITELIB}/IPython/html/base/zmqhandlers.py
-${PYSITELIB}/IPython/html/base/zmqhandlers.pyc
-${PYSITELIB}/IPython/html/base/zmqhandlers.pyo
-${PYSITELIB}/IPython/html/edit/__init__.py
-${PYSITELIB}/IPython/html/edit/__init__.pyc
-${PYSITELIB}/IPython/html/edit/__init__.pyo
-${PYSITELIB}/IPython/html/edit/handlers.py
-${PYSITELIB}/IPython/html/edit/handlers.pyc
-${PYSITELIB}/IPython/html/edit/handlers.pyo
-${PYSITELIB}/IPython/html/files/__init__.py
-${PYSITELIB}/IPython/html/files/__init__.pyc
-${PYSITELIB}/IPython/html/files/__init__.pyo
-${PYSITELIB}/IPython/html/files/handlers.py
-${PYSITELIB}/IPython/html/files/handlers.pyc
-${PYSITELIB}/IPython/html/files/handlers.pyo
-${PYSITELIB}/IPython/html/kernelspecs/__init__.py
-${PYSITELIB}/IPython/html/kernelspecs/__init__.pyc
-${PYSITELIB}/IPython/html/kernelspecs/__init__.pyo
-${PYSITELIB}/IPython/html/kernelspecs/handlers.py
-${PYSITELIB}/IPython/html/kernelspecs/handlers.pyc
-${PYSITELIB}/IPython/html/kernelspecs/handlers.pyo
-${PYSITELIB}/IPython/html/log.py
-${PYSITELIB}/IPython/html/log.pyc
-${PYSITELIB}/IPython/html/log.pyo
-${PYSITELIB}/IPython/html/nbconvert/__init__.py
-${PYSITELIB}/IPython/html/nbconvert/__init__.pyc



Home | Main Index | Thread Index | Old Index