# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-construct version 2.00 platforms darwin supported_archs noarch maintainers macfreek.nl:software 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 sourceforge:pyconstruct distname construct-${version}-distro checksums md5 ac374c2fdf6a9351468ad8c149584cf3 \ sha1 ff1e2f7b90f994f037ac22e490a881bc96e47d30 python.versions 24 25 subport py24-construct { # we download the 2.00-py24 "backport" version, since that is backward compatible in # Python 2.4 (and it works fine with Python 2.5 too) distname construct-${version}-distro-py24b checksums md5 783c5584a8ea2b7fb7eeada564687aaa } if {$subport != $name} { use_zip yes worksrcdir construct # nothing to build build {} destroot { xinstall -d ${destroot}${python.pkgd} file copy ${workpath}/construct ${destroot}${python.pkgd} } }