2020-03-03 06:56:20 +01:00
|
|
|
# $NetBSD: Makefile,v 1.48 2020/03/03 05:56:20 adam Exp $
|
2012-01-29 14:22:51 +01:00
|
|
|
|
2020-03-03 06:56:20 +01:00
|
|
|
DISTNAME= ipython-7.13.0
|
2012-01-29 14:22:51 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2017-10-16 20:03:49 +02:00
|
|
|
CATEGORIES= devel python
|
2016-06-08 19:43:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=i/ipython/}
|
2012-01-29 14:22:51 +01:00
|
|
|
|
2013-10-26 14:15:59 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://ipython.org/
|
2012-01-29 14:22:51 +01:00
|
|
|
COMMENT= Interactive computing environment for Python
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
2018-04-03 13:15:21 +02:00
|
|
|
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
|
2017-10-16 20:03:49 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-jedi>=0.10:../../editors/py-jedi
|
2012-01-29 14:22:51 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
|
2017-10-16 20:03:49 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pickleshare-[0-9]*:../../databases/py-pickleshare
|
2018-11-21 18:31:50 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-prompt_toolkit>=2.0.0:../../devel/py-prompt_toolkit2
|
2015-06-12 13:12:19 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
|
2017-10-16 20:03:49 +02:00
|
|
|
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
|
2020-03-03 06:56:20 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == Darwin
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-appnope-[0-9]*:../../sysutils/py-appnope
|
|
|
|
.endif
|
2012-01-29 14:22:51 +01:00
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
2017-10-16 20:03:49 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
2012-01-29 14:22:51 +01:00
|
|
|
|
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:
|
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
|
|
|
|
2017-10-16 20:03:49 +02:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2012-01-29 14:22:51 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|