Files
macports-ports/python/py-qtconsole/Portfile
T
2024-12-20 10:00:06 -06:00

47 lines
1.7 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
name py-qtconsole
version 5.6.1
revision 0
categories-append devel
license BSD
supported_archs noarch
platforms {darwin any}
python.versions 39 310 311 312 313
maintainers {stromnov @stromnov} openmaintainer
description Jupyter QtConsole
long_description {*}${description}
homepage https://jupyter.org
checksums rmd160 e9a17984a506af5d3ad7176bf7e42af526c314b9 \
sha256 5cad1c7e6c75d3ef8143857fd2ed28062b4b92b933c2cc328252d18a9cfd0be5 \
size 435808
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-traitlets \
port:py${python.version}-jupyter_core \
port:py${python.version}-jupyter_client \
port:py${python.version}-pygments \
port:py${python.version}-ipykernel \
port:py${python.version}-qtpy \
port:py${python.version}-zmq
# Note: depends on one of py-pyqt4, py-pyqt5 or py-pyside (first available at runtime)
notes-append "Please do not forget to install one of Qt backends: py${python.version}-pyside, py${python.version}-pyqt5 or py${python.version}-pyqt4."
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} CONTRIBUTING.md LICENSE \
README.md ${destroot}${docdir}
}
}