# $Id: Portfile 92083 2012-04-17 17:32:21Z jmr@macports.org $

PortSystem 1.0
PortGroup python 1.0

name			py-iniparse
version			0.3.1
platforms		darwin
supported_archs	noarch
categories		python
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		http://iniparse.googlecode.com/files/
distname		iniparse-${version}
checksums		md5     94adcf1cf01e2a537491a18f2e9b7a7a \
			sha1    9d390e3c50ad21fcf045d91319a4adfc37540e90 \
			rmd160  d703c0c2e86134496778e0e0362ac5bc15c0cc38

python.versions 24 25 26 27

if {$subport != $name} {
    post-destroot {
        eval move [glob ${destroot}${python.prefix}/share/doc/iniparse-${version}/*] \
            ${destroot}${prefix}/share/doc/${subport}
    }
}
