# -*- 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-meta
version             0.4.1
revision            0
categories-append   devel
platforms           darwin
license             BSD
supported_archs     noarch

python.versions     26 27

maintainers         stromnov openmaintainer

description         A Pure Python module containing a framework to manipulate \
                    and analyze python ast's and bytecode.

long_description    ${description}

homepage            http://srossross.github.com/Meta
master_sites        http://pypi.python.org/packages/source/m/meta/

distname            meta-${version}

checksums           rmd160  894cd7c3c91b923e7d61b6b485278702566a587e \
                    sha256  58d2c012beea9f2aaea82fbf67d0d6b3124e66c79cbc31829beb2005c3372885

if {${name} ne ${subport}} {
    conflicts           port:py${python.version}-meta-devel

    depends_lib-append  port:py${python.version}-setuptools

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