# -*- 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-submitit
version             1.5.4
revision            0

categories-append   devel science
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {pguyot @pguyot} openmaintainer

description         Lightweight tool for submitting Python functions \
                    for computation within a Slurm cluster

long_description    Submitit is a lightweight tool for submitting \
                    Python functions for computation within a Slurm \
                    cluster. It can also run locally for development \
                    and debugging.

homepage            https://github.com/facebookincubator/submitit

checksums           rmd160  9474fe95d4ea83c479caa68007c55f2213a4efc2 \
                    sha256  7100848bd1cdda79c7196e54ee830793ae75fd7adde0c5bef738d72360a07508 \
                    size    81538

python.versions     313 314

python.pep517_backend   flit

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