You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
127 lines
5.1 KiB
Tcl
127 lines
5.1 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 7.4.0
|
|
revision 0
|
|
categories-append devel science
|
|
platforms darwin
|
|
license BSD
|
|
supported_archs noarch
|
|
|
|
python.versions 27 34 35 36 37
|
|
|
|
maintainers {aronnax @lpsinger} {stromnov @stromnov} openmaintainer
|
|
|
|
description An enhanced interactive Python shell.
|
|
long_description ${description}
|
|
|
|
homepage https://ipython.org/
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
|
|
|
|
distname ${python.rootname}-${version}
|
|
|
|
checksums rmd160 b0100bb8995c794d40859facd53e7278e7f0f76f \
|
|
sha256 b038baa489c38f6d853a3cfc4c635b0cda66f2864d136fe8f40c1a6e334e2a6b \
|
|
size 5118138
|
|
|
|
if {${name} ne ${subport}} {
|
|
set python_major [string range ${python.version} 0 end-1]
|
|
|
|
depends_run-append port:ipython_select \
|
|
port:ipython${python_major}_select
|
|
|
|
depends_lib-append port:py${python.version}-appnope \
|
|
port:py${python.version}-backcall \
|
|
port:py${python.version}-decorator \
|
|
port:py${python.version}-jedi \
|
|
port:py${python.version}-pexpect \
|
|
port:py${python.version}-pickleshare \
|
|
port:py${python.version}-prompt_toolkit \
|
|
port:py${python.version}-pygments \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-traitlets
|
|
|
|
if {${python.version} eq 27} {
|
|
version 5.8.0
|
|
revision 0
|
|
distname ${python.rootname}-${version}
|
|
checksums rmd160 8f11c03f31ed7d11d566f13eeda5cdcec8c07105 \
|
|
sha256 4bac649857611baaaf76bc82c173aa542f7486446c335fe1a6c05d0d491c8906 \
|
|
size 4977824
|
|
|
|
depends_lib-append port:py${python.version}-backports-shutil_get_terminal_size \
|
|
port:py${python.version}-pathlib2 \
|
|
port:py${python.version}-gnureadline \
|
|
port:py${python.version}-simplegeneric
|
|
|
|
depends_lib-delete port:py${python.version}-backcall \
|
|
port:py${python.version}-jedi
|
|
|
|
} elseif {${python.version} eq 34} {
|
|
version 6.5.0
|
|
revision 1
|
|
distname ${python.rootname}-${version}
|
|
checksums rmd160 00bca7a24732647ff65feee9c75849aaa827ba39 \
|
|
sha256 b0f2ef9eada4a68ef63ee10b6dde4f35c840035c50fd24265f8052c98947d5a4 \
|
|
size 5084444
|
|
|
|
depends_lib-append port:py${python.version}-typing \
|
|
port:py${python.version}-simplegeneric
|
|
}
|
|
|
|
variant parallel description "Support for parallel computing (deprecated variant)" {
|
|
notes-append "
|
|
To enable support for parallel computing please install py${python.version}-ipyparallel port:
|
|
|
|
sudo port install py${python.version}-ipyparallel
|
|
"
|
|
}
|
|
|
|
variant pyqt4 conflicts pyside description "Support for the Qt console using pyqt4 (deprecated variant)" {
|
|
notes-append "
|
|
To enable support for the Qt console please install py${python.version}-pyqt4 and py${python.version}-qtconsole ports:
|
|
|
|
sudo port install py${python.version}-pyqt4
|
|
sudo port install py${python.version}-qtconsole
|
|
"
|
|
}
|
|
|
|
variant pyside conflicts pyqt4 description "Support for the Qt console using pyside (deprecated variant)" {
|
|
notes-append "
|
|
To enable support for the Qt console please install py${python.version}-pyside and py${python.version}-qtconsole ports:
|
|
|
|
sudo port install py${python.version}-pyside
|
|
sudo port install py${python.version}-qtconsole
|
|
"
|
|
}
|
|
|
|
variant terminal description "Support for the terminal emulation (deprecated variant)" {}
|
|
|
|
variant notebook description "Support for IPython HTML notebook (deprecated variant)" {
|
|
notes-append "
|
|
To enable support for the notebook please install py${python.version}-notebook port:
|
|
|
|
sudo port install py${python.version}-notebook
|
|
"
|
|
}
|
|
|
|
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 "
|
|
Please note that since version 4.0 IPython was refactored and splitted across several packages under new project named Jupyter.
|
|
|
|
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
|
|
}
|