# -*- 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 93044 2012-05-14 12:32:02Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-lepl
version             5.1.2
revision            0
categories          python devel
license             MPL
platforms           darwin
supported_archs     noarch

maintainers         stromnov openmaintainer

description         A Parser Library for Python 2.6+.

long_description    \
        LEPL is a recursive descent parser, written in Python, \
        which has a a friendly, easy-to-use syntax.

homepage            http://pypi.python.org/pypi/LEPL/
master_sites        http://pypi.python.org/packages/source/L/LEPL/
distname            LEPL-${version}

checksums           rmd160  aeb463453b96a3fde2b402a39e50b72e9dc08030 \
                    sha256  b604d9823f7a71441e1a6e124c3dc4081c5ed4597d9d8715768346de6096faae

python.default_version  27
python.versions     26 27

if {$subport != $name} {
    depends_build   port:py${python.version}-distribute
}

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "LEPL-(\\d+(?:\\.\\d+)*)${extract.suffix}"
