You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
44 lines
1.5 KiB
Tcl
44 lines
1.5 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-notebook
|
|
version 7.1.2
|
|
revision 0
|
|
categories-append devel science
|
|
license BSD
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
python.versions 310 311 312 313 314
|
|
python.pep517_backend hatch
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description Web-based notebook environment for interactive computing.
|
|
long_description {*}${description}
|
|
|
|
homepage https://jupyter.org
|
|
|
|
checksums rmd160 f9801f0fc63a6addb9bd1421e1d01141d06d25f5 \
|
|
sha256 efc2c80043909e0faa17fce9e9b37c059c03af0ec99a4d4db84cb21d9d2e936a \
|
|
size 4897634
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-hatch-jupyter-builder
|
|
|
|
depends_lib-append port:py${python.version}-jupyter_server \
|
|
port:py${python.version}-jupyterlab \
|
|
port:py${python.version}-jupyterlab_server \
|
|
port:py${python.version}-notebook_shim \
|
|
port:py${python.version}-tornado
|
|
|
|
patchfiles-append patch-pyproject.toml.diff
|
|
|
|
post-patch {
|
|
reinplace "s|@@PYTHON_BRANCH@@|${python.branch}|g" ${worksrcpath}/pyproject.toml
|
|
}
|
|
}
|