# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-construct
version             2.8.16
revision            0
categories-append   devel
platforms           darwin
license             MIT
supported_archs     noarch

python.versions     27 34 35 36

maintainers         dckd.nl:macports openmaintainer

description         python module for parsing and building binary or textual data structures

long_description    \
    Construct is a python library for parsing and building of data structures \
    (binary or textual). It is based on the concept of defining data \
    structures in a declarative manner, rather than procedural code: more \
    complex constructs are composed of a hierarchy of simpler ones.

homepage            http://construct.wikispaces.com/
master_sites        pypi:c/construct/

distname            construct-${version}

checksums           rmd160  2e2ad50091f2bb194ba6ffb2ffdfda908f863d47 \
                    sha256  9a5dbd459e26933bd572389d99c26a0db180b3e2f5fd06950a38b1944cff2548

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

    livecheck.type      none
}