pkgsrc/devel/py-ipython/Makefile

41 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.48 2020/03/03 05:56:20 adam Exp $
DISTNAME= ipython-7.13.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
2016-06-08 19:43:20 +02:00
MASTER_SITES= ${MASTER_SITE_PYPI:=i/ipython/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ipython.org/
COMMENT= Interactive computing environment for Python
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-backcall-[0-9]*:../../devel/py-backcall
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.
2017-04-23 06:50:51 +02:00
DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
DEPENDS+= ${PYPKGPREFIX}-jedi>=0.10:../../editors/py-jedi
DEPENDS+= ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
DEPENDS+= ${PYPKGPREFIX}-pickleshare-[0-9]*:../../databases/py-pickleshare
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
2018-11-21 18:31:50 +01:00
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
2018-01-25 10:28:15 +01:00
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
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.
2017-04-23 06:50:51 +02:00
DEPENDS+= ${PYPKGPREFIX}-traitlets>=4.2:../../devel/py-traitlets
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == Darwin
DEPENDS+= ${PYPKGPREFIX}-appnope-[0-9]*:../../sysutils/py-appnope
.endif
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
Update py-ipython to 3.2.1 IPython 3.2.1 IPython 3.2.1 is a small bugfix release, primarily for cross-site security fixes in the notebook. Users are strongly encouraged to upgrade immediately. There are also a few small unicode and nbconvert-related fixes. IPython 3.2 IPython 3.2 contains important security fixes. Users are strongly encouraged to upgrade immediately. Highlights: - Address cross-site scripting vulnerabilities CVE-2015-4706, CVE-2015-4707 - A security improvement that set the secure attribute to login cookie to prevent them to be sent over http - Revert the face color of matplotlib axes in the inline backend to not be transparent. - Enable mathjax safe mode by default - Fix XSS vulnerability in JSON error messages - Various widget-related fixes IPython 3.1 Released April 3, 2015 The first 3.x bugfix release, with 33 contributors and 344 commits. This primarily includes bugfixes to notebook layout and focus problems. Highlights: - Various focus jumping and scrolling fixes in the notebook. - Various message ordering and widget fixes in the notebook. - Images in markdown and output are confined to the notebook width. An .unconfined CSS class is added to disable this behavior per-image. The resize handle on output images is removed. - Improved ordering of tooltip content for Python functions, putting the signature at the top. - Fix UnicodeErrors when displaying some objects with unicode reprs on Python 2. - Set the kernel’s working directory to the notebook directory when running nbconvert --execute, so that behavior matches the live notebook. - Allow setting custom SSL options for the tornado server with NotebookApp.ssl_options, and protect against POODLE with default settings by disabling SSLv3. - Fix memory leak in the IPython.parallel Controller on Python 3. Release 3.0 Released February 27, 2015 This is a really big release. Over 150 contributors, and almost 6000 commits in a bit under a year. Support for languages other than Python is greatly improved, notebook UI has been significantly redesigned, and a lot of improvement has happened in the experimental interactive widgets. The message protocol and document format have both been updated, while maintaining better compatibility with previous versions than prior updates. The notebook webapp now enables editing of any text file, and even a web-based terminal (on Unix platforms). 3.x will be the last monolithic release of IPython, as the next release cycle will see the growing project split into its Python-specific and language-agnostic components. Language-agnostic projects (notebook, qtconsole, etc.) will move under the umbrella of the new Project Jupyter name, while Python-specific projects (interactive Python shell, Python kernel, IPython.parallel) will remain under IPython, and be split into a few smaller packages. To reflect this, IPython is in a bit of a transition state. The logo on the notebook is now the Jupyter logo. When installing kernels system-wide, they go in a jupyter directory. We are going to do our best to ease this transition for users and developers.
2015-12-15 11:23:03 +01:00
post-install:
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
2018-11-21 18:31:50 +01:00
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}
Update py-ipython to 3.2.1 IPython 3.2.1 IPython 3.2.1 is a small bugfix release, primarily for cross-site security fixes in the notebook. Users are strongly encouraged to upgrade immediately. There are also a few small unicode and nbconvert-related fixes. IPython 3.2 IPython 3.2 contains important security fixes. Users are strongly encouraged to upgrade immediately. Highlights: - Address cross-site scripting vulnerabilities CVE-2015-4706, CVE-2015-4707 - A security improvement that set the secure attribute to login cookie to prevent them to be sent over http - Revert the face color of matplotlib axes in the inline backend to not be transparent. - Enable mathjax safe mode by default - Fix XSS vulnerability in JSON error messages - Various widget-related fixes IPython 3.1 Released April 3, 2015 The first 3.x bugfix release, with 33 contributors and 344 commits. This primarily includes bugfixes to notebook layout and focus problems. Highlights: - Various focus jumping and scrolling fixes in the notebook. - Various message ordering and widget fixes in the notebook. - Images in markdown and output are confined to the notebook width. An .unconfined CSS class is added to disable this behavior per-image. The resize handle on output images is removed. - Improved ordering of tooltip content for Python functions, putting the signature at the top. - Fix UnicodeErrors when displaying some objects with unicode reprs on Python 2. - Set the kernel’s working directory to the notebook directory when running nbconvert --execute, so that behavior matches the live notebook. - Allow setting custom SSL options for the tornado server with NotebookApp.ssl_options, and protect against POODLE with default settings by disabling SSLv3. - Fix memory leak in the IPython.parallel Controller on Python 3. Release 3.0 Released February 27, 2015 This is a really big release. Over 150 contributors, and almost 6000 commits in a bit under a year. Support for languages other than Python is greatly improved, notebook UI has been significantly redesigned, and a lot of improvement has happened in the experimental interactive widgets. The message protocol and document format have both been updated, while maintaining better compatibility with previous versions than prior updates. The notebook webapp now enables editing of any text file, and even a web-based terminal (on Unix platforms). 3.x will be the last monolithic release of IPython, as the next release cycle will see the growing project split into its Python-specific and language-agnostic components. Language-agnostic projects (notebook, qtconsole, etc.) will move under the umbrella of the new Project Jupyter name, while Python-specific projects (interactive Python shell, Python kernel, IPython.parallel) will remain under IPython, and be split into a few smaller packages. To reflect this, IPython is in a bit of a transition state. The logo on the notebook is now the Jupyter logo. When installing kernels system-wide, they go in a jupyter directory. We are going to do our best to ease this transition for users and developers.
2015-12-15 11:23:03 +01:00
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"