# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-lepl
version             5.1.3
revision            0
categories-append   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  dc5bb15465e38d7748a440e644adbc3a2984a929 \
                    sha256  a8715c709308350ce4afed5d525682656886d38141387ec87d44421da8d41397

python.default_version  27
python.versions     26 27 32

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-setuptools
}

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