# -*- 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-pacal
python.rootname     PaCal
version             1.6.1
license             GPL-3+
maintainers         {adfernandes @adfernandes} openmaintainer
description         PaCAL - ProbAbilistic CALculator
long_description    What is PaCAL? PaCAL is a Python package which allows you to perform \
                    arithmetic on random variables just like you do with ordinary program \
                    variables. The variables can follow practically any distribution.
homepage            http://pacal.sourceforge.net/index.html

checksums           rmd160  2df0abd5ec1fff7244b783f107aaeb3d3cac3a18 \
                    sha256  6ad0ac60a73c5e8a05eac467d346134e5d18624f0dcc40bf2fc3c85e1aa34aa3 \
                    size    179419

python.versions     310 311 312

if {${name} ne ${subport}} {

    depends_lib-append  port:py${python.version}-numpy \
                        port:py${python.version}-matplotlib \
                        port:py${python.version}-sympy \
                        port:py${python.version}-scipy

    depends_build-append port:py${python.version}-cython

}
