# -*- 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 65869 2010-04-02 10:12:01Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-sympy
version             0.6.7
categories          python math
maintainers         stromnov openmaintainer

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     d73e0a5a128f38f930d566110f4b668b \
                    sha1    b50b1a256269df02b19c74c8a1491b5e42d6f26b \
                    rmd160  8184b697f7d371d17f35c9a80bd020ae887bb7e3

post-destroot {
    ln -s ${python.prefix}/share/man/man1/isympy.1 \
          ${destroot}${prefix}/share/man/man1/isympy${python.branch}.1
}

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