# -*- 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.5.7
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 3ff2336003fa763103dd87f7b0310c22f242ce28 \
                    sha256 4065853e7f3c37d378cb69be532c47ef616ac0023c103b817745b15cea509f24

# 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.11 stack
python.default_version   311
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

