# $Id: Portfile 87583 2011-11-26 22:50:44Z blb@macports.org $

PortSystem          1.0
PortGroup           python27 1.0
name                py27-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        http://mpmath.googlecode.com/files/
distname            mpmath-${version}

checksums           md5     e27af3a77bc39c8745d5d1c09a8247ac \
                    sha1    c5bd806308c96d1d93a6b437995a09e5ab0e9331 \
                    rmd160  bfdbab090820cc7e28a9f3cff9ed8dcd24eacaff

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

livecheck.type      regex
livecheck.url       http://code.google.com/p/mpmath/downloads/list
livecheck.regex     {mpmath-([0-9.]+)\.tar\.gz}

