pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-iniparse



Module Name:    pkgsrc
Committed By:   rodent
Date:           Fri Jan  3 03:49:00 UTC 2014

Added Files:
        pkgsrc/textproc/py-iniparse: DESCR Makefile PLIST distinfo

Log Message:
Import py27-iniparse-0.4 as textproc/py-iniparse.

iniparse is a INI parser for Python which is:

 * Compatiable with ConfigParser: Backward compatible implementations of
   ConfigParser, RawConfigParser, and SafeConfigParser are included that are API
   compatible with the Python standard library. They pass all the unit tests
   included with Python;

 * Preserves structure of INI files: Order of sections & options, indentation,
   comments, and blank lines are preserved as far as possible when data is
   updated;

 * More convenient: Values can be accessed using dotted notation
   (cfg.user.name), or using container syntax (cfg['user']['name']);

It is very useful for config files that are updated both by users and by
programs, since it is very disorienting for a user to have her config file
completely rearranged whenever a program changes it. iniparse also allows making
the order of entries in a config file significant, which is desirable in
applications like image galleries.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-iniparse/DESCR \
    pkgsrc/textproc/py-iniparse/Makefile pkgsrc/textproc/py-iniparse/PLIST \
    pkgsrc/textproc/py-iniparse/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index