# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-iniparse
version			0.4
platforms		darwin
supported_archs	noarch
license			PSF MIT
maintainers		afb openmaintainer
description		Python Module for Accessing and Modifying Configuration Data in INI files
long_description	iniparse is an INI parser for Python which is API compatible \
with the standard library's ConfigParser, preserves structure of INI \
files (order of sections & options, indentation, comments, and blank \
lines are preserved when data is updated), and is more convenient to \
use.

homepage		http://code.google.com/p/iniparse/
master_sites		googlecode:iniparse
distname		iniparse-${version}

checksums           rmd160  f4cb5edc035e787acea428a7d21343d986f85f5c \
                    sha256  abc1ee12d2cfb2506109072d6c21e40b6c75a3fe90a9c924327d80bc0d99c054

python.versions 24 25 26 27

if {${name} ne ${subport}} {
    post-destroot {
        eval move [glob ${destroot}${python.prefix}/share/doc/iniparse-${version}/*] \
            ${destroot}${prefix}/share/doc/${subport}
    }
    livecheck.type  none
} else {
    livecheck.regex iniparse-(\[0-9.\]+)${extract.suffix}
}
