You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
63 lines
2.3 KiB
Tcl
63 lines
2.3 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
PortGroup select 1.0
|
|
|
|
name py-ipython
|
|
version 8.31.0
|
|
revision 0
|
|
categories-append devel science
|
|
license BSD
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
maintainers {aronnax @lpsinger} {stromnov @stromnov} openmaintainer
|
|
|
|
description An enhanced interactive Python shell.
|
|
long_description {*}${description}
|
|
|
|
homepage https://ipython.org/
|
|
|
|
checksums rmd160 e04bb5b1b8865532707c7b8cb31d536e179265b3 \
|
|
sha256 b6a2274606bec6166405ff05e54932ed6e5cfecaca1fc05f2cacde7bb074d70b \
|
|
size 5501011
|
|
|
|
if {${name} ne ${subport}} {
|
|
set python_major [string index ${python.version} 0]
|
|
|
|
depends_run-append port:ipython_select \
|
|
port:ipython${python_major}_select
|
|
|
|
depends_lib-append port:py${python.version}-decorator \
|
|
port:py${python.version}-jedi \
|
|
port:py${python.version}-matplotlib-inline \
|
|
port:py${python.version}-pexpect \
|
|
port:py${python.version}-prompt_toolkit \
|
|
port:py${python.version}-pygments \
|
|
port:py${python.version}-stack_data \
|
|
port:py${python.version}-traitlets
|
|
|
|
if {${python.version} < 311} {
|
|
depends_lib-append port:py${python.version}-exceptiongroup
|
|
}
|
|
if {${python.version} < 312} {
|
|
depends_lib-append port:py${python.version}-typing_extensions
|
|
}
|
|
|
|
select.entries [list ipython py${python.version}-ipython py${python.version}-ipython] \
|
|
[list ipython${python_major} py${python.version}-ipython py${python.version}-ipython]
|
|
|
|
notes-append "
|
|
To make this the default IPython or IPython${python_major} (i.e., the version run by\
|
|
the 'ipython' or 'ipython${python_major}' commands), run one or both of:
|
|
|
|
sudo port select --set ipython py${python.version}-ipython
|
|
sudo port select --set ipython${python_major} py${python.version}-ipython
|
|
"
|
|
|
|
livecheck.type none
|
|
}
|