# -*- 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
# $Id: Portfile 67230 2010-05-03 06:37:14Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-sympy
version             0.6.6
categories          python math
maintainers         nomaintainer

description         Python module for symbolic mathematics.
long_description \
    SymPy is a Python library for symbolic mathematics. It aims to \
    become a full-featured computer algebra system (CAS) while keeping \
    the code as simple as possible in order to be comprehensible \
    and easily extensible. SymPy is written entirely in Python and does \
    not require any external libraries.

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

checksums           md5     aa7be690a1df7e7415fe968f5e076733 \
                    sha1    aad5f919552a4e3710baee83ef0b2573d1950881 \
                    rmd160  663671a544d47ff25df407a6168affe7b7b89767

post-destroot {
    file delete ${destroot}${prefix}/bin/test ${destroot}${prefix}/bin/doctest
    move ${destroot}${prefix}/bin/isympy \
         ${destroot}${prefix}/bin/isympy${python.branch}
    move ${destroot}${prefix}/share/man/man1/isympy.1 \
         ${destroot}${prefix}/share/man/man1/isympy${python.branch}.1
}

livecheck.regex     "sympy-(\\d+(?:\\.\\d+)*)${extract.suffix}"
