# -*- 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
PortGroup           select 1.0

name                edps
version             1.6.0
revision        1
categories          science
license             MIT
supported_archs     noarch
platforms           darwin

maintainers         eso.org:usd-help

description         EDPS data processing system
long_description    EDPS is a system to automatically organise data from ESO instruments \
                    for pipeline processing and running the pipeline on these data.

homepage            https://www.eso.org/sci/software/edps.html

master_sites        https://ftp.eso.org/pub/dfs/pipelines/libraries/edps
checksums           rmd160 89e75ad5283673bc5d027ff9139064e8520f5b46 \
                    sha256 9c2eecc4c1b622b3741ca2f4215142c22774dea256379eae436a1813ed582f72

# Workaround to ensure that each version of macOS produces a different
# binary and they don't clash in the package pool
platforms       darwin


# Generate a single package edps that uses the python 3.13 stack
python.default_version   312
python.pep517       yes
python.pep517_backend   setuptools

depends_run-append  \
                    port:py${python.default_version}-jinja2 \
                    port:py${python.default_version}-tinydb \
                    port:py${python.default_version}-frozendict \
                    port:py${python.default_version}-networkx \
                    port:py${python.default_version}-requests \
                    port:py${python.default_version}-pydantic \
                    port:py${python.default_version}-uvicorn \
                    port:py${python.default_version}-fastapi \
                    port:py${python.default_version}-psutil \
                    port:py${python.default_version}-astropy

