# $Id: Portfile 106887 2013-06-10 10:07:32Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-mpmath
version             0.17
revision            1
categories-append   math
license             BSD
maintainers         nomaintainer
description         Arbitrary-precision floating-point library for Python
long_description \
   Mpmath is a pure-Python library for arbitrary-precision floating-point \
   arithmetic that implements an extensive set of mathematical functions.

platforms           darwin
supported_archs     noarch

homepage            http://code.google.com/p/mpmath/
master_sites        googlecode:mpmath
distname            mpmath-${version}

checksums           md5     e27af3a77bc39c8745d5d1c09a8247ac \
                    sha1    c5bd806308c96d1d93a6b437995a09e5ab0e9331 \
                    rmd160  bfdbab090820cc7e28a9f3cff9ed8dcd24eacaff

python.versions     25 26 27

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