pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-ipython py-ipython: updated to 7.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e782382019e4
branches:  trunk
changeset: 315327:e782382019e4
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 21 17:31:50 2018 +0000

description:
py-ipython: updated to 7.1.1

IPython 7.1.0

IPython 7.1.0 is the first minor release after 7.0.0 and mostly bring fixes to new feature, internal refactor and regressions that happen during the 6.x->7.x transition. It also bring Compatibility 
with Python 3.7.1, as were unwillingly relying on a bug in CPython.

New Core Dev:
We welcome Jonathan Slenders to the commiters. Jonathan has done a fantastic work on Prompt toolkit, and we?d like to recognise his impact by giving him commit rights.

Notables Changes
Major update of ?latex to unicode? tab completion map (see below)

Notable New Features:
Restore functionality and documentation of the sphinx directive, which is now stricter (fail on error by default), gained configuration options, have a brand new documentation page IPython Sphinx 
Directive, which need some cleanup. It is also now tested so we hope to have less regressions.
IPython.display.Video now supports width and height arguments, allowing a custom width and height to be set instead of using the video?s width and height.
Warn when using HTML('<iframe>') instead of IFrame
Allow Dynamic switching of editing mode between vi/emacs and show normal/input mode in prompt when using vi. Use %config TerminalInteractiveShell.editing_mode = 'vi' or %config 
TerminalInteractiveShell.editing_mode = 'emacs' to dynamically spwitch

Notable Fixes:
Fix entering of multi-line block in terminal IPython, and various crashes in the new input transformation machinery
Fix moving through generator stack in ipdb
Magics arguments now support quoting.
Re-add rprint and rprinte aliases.
Remove implicit dependency to ipython_genutils
Make nonlocal raise SyntaxError instead of silently failing in async mode.
Fix mishandling of magics and = ! assignment just after a dedent in nested code blocks
Fix instructions for custom shortcuts

Notable Internals improvements:
Use of os.scandir (Python 3 only) to speedup some file system operations.
use perf_counter instead of clock for more precise timing result with %time

diffstat:

 devel/py-ipython/ALTERNATIVES |   5 +++--
 devel/py-ipython/Makefile     |  17 +++++++++--------
 devel/py-ipython/PLIST        |  29 ++++++++++++++++++++++-------
 devel/py-ipython/distinfo     |  10 +++++-----
 4 files changed, 39 insertions(+), 22 deletions(-)

diffs (150 lines):

diff -r a80cc3a94b17 -r e782382019e4 devel/py-ipython/ALTERNATIVES
--- a/devel/py-ipython/ALTERNATIVES     Wed Nov 21 17:26:46 2018 +0000
+++ b/devel/py-ipython/ALTERNATIVES     Wed Nov 21 17:31:50 2018 +0000
@@ -1,2 +1,3 @@
-bin/iptest @PREFIX@/bin/iptest@PYVERSSUFFIX@
-bin/ipython @PREFIX@/bin/ipython@PYVERSSUFFIX@
+bin/iptest @PREFIX@/bin/iptest-@PYVERSSUFFIX@
+bin/ipython @PREFIX@/bin/ipython-@PYVERSSUFFIX@
+man/man1/ipython.1 @PREFIX@/man/man1/ipython-@PYVERSSUFFIX@.1
diff -r a80cc3a94b17 -r e782382019e4 devel/py-ipython/Makefile
--- a/devel/py-ipython/Makefile Wed Nov 21 17:26:46 2018 +0000
+++ b/devel/py-ipython/Makefile Wed Nov 21 17:31:50 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2018/08/02 14:06:23 adam Exp $
+# $NetBSD: Makefile,v 1.31 2018/11/21 17:31:50 adam Exp $
 
-DISTNAME=      ipython-6.5.0
+DISTNAME=      ipython-7.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ipython/}
@@ -15,7 +15,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-jedi>=0.10:../../editors/py-jedi
 DEPENDS+=      ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
 DEPENDS+=      ${PYPKGPREFIX}-pickleshare-[0-9]*:../../databases/py-pickleshare
-DEPENDS+=      ${PYPKGPREFIX}-prompt_toolkit>=1.0.15:../../devel/py-prompt_toolkit
+DEPENDS+=      ${PYPKGPREFIX}-prompt_toolkit>=2.0.0:../../devel/py-prompt_toolkit2
 DEPENDS+=      ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
 DEPENDS+=      ${PYPKGPREFIX}-setuptools>=18.5:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-simplegeneric>0.8:../../devel/py-simplegeneric
@@ -27,15 +27,16 @@
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-.if "${PYPKGPREFIX}" == "py34"
+.if ${_PYTHON_VERSION} == 34
 DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
 .endif
 
 post-install:
-       cd ${DESTDIR}${PREFIX} && ${RM} bin/iptest3 bin/ipython3 && \
-       ${MV} bin/iptest bin/iptest${PYVERSSUFFIX} && \
-       ${MV} bin/ipython bin/ipython${PYVERSSUFFIX} && \
-       ${MV} ${PKGMANDIR}/man1/ipython.1 ${PKGMANDIR}/man1/ipython${PYVERSSUFFIX}.1 || ${TRUE}
+       cd ${DESTDIR}${PREFIX} && \
+       ${RM} bin/iptest3 bin/ipython3 && \
+       ${MV} bin/iptest bin/iptest-${PYVERSSUFFIX} && \
+       ${MV} bin/ipython bin/ipython-${PYVERSSUFFIX} && \
+       ${MV} ${PKGMANDIR}/man1/ipython.1 ${PKGMANDIR}/man1/ipython-${PYVERSSUFFIX}.1 || ${TRUE}
 
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a80cc3a94b17 -r e782382019e4 devel/py-ipython/PLIST
--- a/devel/py-ipython/PLIST    Wed Nov 21 17:26:46 2018 +0000
+++ b/devel/py-ipython/PLIST    Wed Nov 21 17:31:50 2018 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.9 2017/12/13 08:58:03 adam Exp $
-bin/iptest${PYVERSSUFFIX}
-bin/ipython${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.10 2018/11/21 17:31:50 adam Exp $
+bin/iptest-${PYVERSSUFFIX}
+bin/ipython-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/IPython/__init__.py
 ${PYSITELIB}/IPython/__init__.pyc
@@ -23,6 +23,9 @@
 ${PYSITELIB}/IPython/core/application.py
 ${PYSITELIB}/IPython/core/application.pyc
 ${PYSITELIB}/IPython/core/application.pyo
+${PYSITELIB}/IPython/core/async_helpers.py
+${PYSITELIB}/IPython/core/async_helpers.pyc
+${PYSITELIB}/IPython/core/async_helpers.pyo
 ${PYSITELIB}/IPython/core/autocall.py
 ${PYSITELIB}/IPython/core/autocall.pyc
 ${PYSITELIB}/IPython/core/autocall.pyo
@@ -89,6 +92,9 @@
 ${PYSITELIB}/IPython/core/inputtransformer.py
 ${PYSITELIB}/IPython/core/inputtransformer.pyc
 ${PYSITELIB}/IPython/core/inputtransformer.pyo
+${PYSITELIB}/IPython/core/inputtransformer2.py
+${PYSITELIB}/IPython/core/inputtransformer2.pyc
+${PYSITELIB}/IPython/core/inputtransformer2.pyo
 ${PYSITELIB}/IPython/core/interactiveshell.py
 ${PYSITELIB}/IPython/core/interactiveshell.pyc
 ${PYSITELIB}/IPython/core/interactiveshell.pyo
@@ -221,6 +227,9 @@
 ${PYSITELIB}/IPython/core/tests/test_application.py
 ${PYSITELIB}/IPython/core/tests/test_application.pyc
 ${PYSITELIB}/IPython/core/tests/test_application.pyo
+${PYSITELIB}/IPython/core/tests/test_async_helpers.py
+${PYSITELIB}/IPython/core/tests/test_async_helpers.pyc
+${PYSITELIB}/IPython/core/tests/test_async_helpers.pyo
 ${PYSITELIB}/IPython/core/tests/test_autocall.py
 ${PYSITELIB}/IPython/core/tests/test_autocall.pyc
 ${PYSITELIB}/IPython/core/tests/test_autocall.pyo
@@ -269,6 +278,12 @@
 ${PYSITELIB}/IPython/core/tests/test_inputtransformer.py
 ${PYSITELIB}/IPython/core/tests/test_inputtransformer.pyc
 ${PYSITELIB}/IPython/core/tests/test_inputtransformer.pyo
+${PYSITELIB}/IPython/core/tests/test_inputtransformer2.py
+${PYSITELIB}/IPython/core/tests/test_inputtransformer2.pyc
+${PYSITELIB}/IPython/core/tests/test_inputtransformer2.pyo
+${PYSITELIB}/IPython/core/tests/test_inputtransformer2_line.py
+${PYSITELIB}/IPython/core/tests/test_inputtransformer2_line.pyc
+${PYSITELIB}/IPython/core/tests/test_inputtransformer2_line.pyo
 ${PYSITELIB}/IPython/core/tests/test_interactiveshell.py
 ${PYSITELIB}/IPython/core/tests/test_interactiveshell.pyc
 ${PYSITELIB}/IPython/core/tests/test_interactiveshell.pyo
@@ -615,6 +630,9 @@
 ${PYSITELIB}/IPython/terminal/tests/__init__.py
 ${PYSITELIB}/IPython/terminal/tests/__init__.pyc
 ${PYSITELIB}/IPython/terminal/tests/__init__.pyo
+${PYSITELIB}/IPython/terminal/tests/test_debug_magic.py
+${PYSITELIB}/IPython/terminal/tests/test_debug_magic.pyc
+${PYSITELIB}/IPython/terminal/tests/test_debug_magic.pyo
 ${PYSITELIB}/IPython/terminal/tests/test_embed.py
 ${PYSITELIB}/IPython/terminal/tests/test_embed.pyc
 ${PYSITELIB}/IPython/terminal/tests/test_embed.pyo
@@ -877,9 +895,6 @@
 ${PYSITELIB}/IPython/utils/timing.py
 ${PYSITELIB}/IPython/utils/timing.pyc
 ${PYSITELIB}/IPython/utils/timing.pyo
-${PYSITELIB}/IPython/utils/tokenize2.py
-${PYSITELIB}/IPython/utils/tokenize2.pyc
-${PYSITELIB}/IPython/utils/tokenize2.pyo
 ${PYSITELIB}/IPython/utils/tokenutil.py
 ${PYSITELIB}/IPython/utils/tokenutil.pyc
 ${PYSITELIB}/IPython/utils/tokenutil.pyo
@@ -898,4 +913,4 @@
 ${PYSITELIB}/IPython/utils/wildcard.py
 ${PYSITELIB}/IPython/utils/wildcard.pyc
 ${PYSITELIB}/IPython/utils/wildcard.pyo
-man/man1/ipython${PYVERSSUFFIX}.1
+man/man1/ipython-${PYVERSSUFFIX}.1
diff -r a80cc3a94b17 -r e782382019e4 devel/py-ipython/distinfo
--- a/devel/py-ipython/distinfo Wed Nov 21 17:26:46 2018 +0000
+++ b/devel/py-ipython/distinfo Wed Nov 21 17:31:50 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.11 2018/08/02 14:06:23 adam Exp $
+$NetBSD: distinfo,v 1.12 2018/11/21 17:31:50 adam Exp $
 
-SHA1 (ipython-6.5.0.tar.gz) = b525bc4ac057fb8f5c36e255e7b49a8c7cd0e8d7
-RMD160 (ipython-6.5.0.tar.gz) = 00bca7a24732647ff65feee9c75849aaa827ba39
-SHA512 (ipython-6.5.0.tar.gz) = 88d2d5688c5caeca288520118c289397ac2225569108fad2139aedea66d44b50d1789ce2550f580624f1c1709422bf40e6c4a401f2afa29449f6785e7dcf1ec3
-Size (ipython-6.5.0.tar.gz) = 5084444 bytes
+SHA1 (ipython-7.1.1.tar.gz) = 6831d67857cabe2cbd720cab309d0c26aa234b83
+RMD160 (ipython-7.1.1.tar.gz) = 84345166ba00ee638d1fcc22c6d1a9aa5879bc0f
+SHA512 (ipython-7.1.1.tar.gz) = 180c799a65381aeae85b9efb29660b3f8e69e7b140b24794c92dca67ce6c480966eb2761f4fbf617da623f9232cbd2c03498cfee192d010d7e351ecf7ffde38c
+Size (ipython-7.1.1.tar.gz) = 5112249 bytes
 SHA1 (patch-setupbase.py) = 8cd647afb3f26f19f5b8d872af7835b73615b324



Home | Main Index | Thread Index | Old Index