# $Id: Portfile 54285 2009-07-24 14:10:35Z arthurk@macports.org $

PortSystem          1.0
PortGroup           python26 1.0
name                py26-markdown
version             2.0.1
categories-append   textproc
maintainers         openmaintainer arthurk
description         Python implementation of Markdown
long_description    ${description}

platforms           darwin

homepage            http://www.freewisdom.org/projects/python-markdown/
master_sites        http://pypi.python.org/packages/source/M/Markdown/
distname            Markdown-${version}

checksums           md5     bfdb2171faeb410d6099653da90b9bf7 \
                    sha1    5cd8485a29ee2185470e356a08fad9d1fdec8211 \
                    rmd160  dcf9e8f54073c0193279c0eea2afd3959a8e8e9e

post-destroot {
    ln -s ${python.prefix}/bin/markdown.py \
        ${destroot}${prefix}/bin/markdown.py-${python.branch}
}

livecheck.check     regex
livecheck.url       http://pypi.python.org/pypi/Markdown
livecheck.regex     "Markdown (\[1-9\]+\.\[0-9\]+)"
