# -*- 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-mpmath
version             1.3.0
revision            0
categories-append   math
platforms           {darwin any}
license             BSD
supported_archs     noarch

python.versions     39 310 311 312 313 314

maintainers         {stromnov @stromnov} openmaintainer

description         Arbitrary-precision floating-point library for Python
long_description    {*}${description}

homepage            https://mpmath.org

checksums           rmd160  1d60ca5f090a927edb32e2380c48b9dbee475bc0 \
                    sha256  7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f \
                    size    508106

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -d ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 0644 -W ${worksrcpath} LICENSE \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
