# -*- 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.0.0
revision            0
categories-append   math
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     27 34 35 36

maintainers         stromnov openmaintainer

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

homepage            http://mpmath.org
master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}

distname            ${python.rootname}-${version}

checksums           rmd160  89440e75bf0b33b125314bf60d92c5d4279c123b \
                    sha256  04d14803b6875fe6d69e6dccea87d5ae5599802e4b1df7997bddd2024001050c

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

    livecheck.type      none
}