# -*- 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-ipyparallel
version             8.7.0
revision            0
categories-append   devel science
license             BSD
supported_archs     noarch
platforms           {darwin any}

python.versions     310 311 312
python.pep517_backend   hatch

maintainers         {stromnov @stromnov} openmaintainer

description         Interactive Parallel Computing with IPython.
long_description    {*}${description}

homepage            https://ipython.org/

checksums           rmd160  6b4e4aeb71dc26057108fea71af9ed8a9a0bc47d \
                    sha256  403c0971ae56c2b6a39ffe8f35f31c7fd170ce127924629459cdd7f7a0b4e7c3 \
                    size    6798726

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-jupyterlab

    depends_lib-append  port:py${python.version}-entrypoints \
                        port:py${python.version}-decorator \
                        port:py${python.version}-zmq \
                        port:py${python.version}-traitlets \
                        port:py${python.version}-ipython \
                        port:py${python.version}-jupyter_client \
                        port:py${python.version}-ipykernel \
                        port:py${python.version}-tornado \
                        port:py${python.version}-psutil \
                        port:py${python.version}-dateutil \
                        port:py${python.version}-tqdm

    patchfiles-append   patch-pyproject.toml.diff
}
