# -*- 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-metakernel
version             0.27.5
revision            0
categories-append   devel science
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         A Jupyter/IPython kernel template
long_description    ${description} which includes core magic functions (including \
                    help, command and file path completion, parallel and distributed \
                    processing, downloads, and much more).
platforms           darwin
homepage            https://github.com/Calysto/metakernel

checksums           rmd160  8401df4b562ad3c90bdaf9a6358830211c71285f \
                    sha256  fe1b603ac906f610ebc7086aa5d9c6876c6ab24500883d9eeef34043e34f182b \
                    size    186405

python.versions     27 36 37 38 39

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

foreach {old new} {34 36 35 36} {
    subport py${old}-${python.rootname} "
        replaced_by py${new}-${python.rootname}
        PortGroup obsolete 1.0
    "
}
