1SUMMARY="An INI parser for Python" 2DESCRIPTION="iniparse is a INI parser for Python which is: 3* Compatiable with ConfigParser: Backward compatible implementations of \ 4ConfigParser, RawConfigParser, and SafeConfigParser are included that are \ 5API-compatible with the Python standard library. They pass all the unit tests \ 6included with Python. 7* Preserves structure of INI files: Order of sections & options, indentation, \ 8comments, and blank lines are preserved as far as possible when data is updated. 9* More convenient: Values can be accessed using dotted notation \ 10(cfg.user.name), or using container syntax (cfg['user']['name']). 11* It is very useful for config files that are updated both by users and by \ 12programs, since it is very disorienting for a user to have her config file \ 13completely rearranged whenever a program changes it. iniparse also allows \ 14making the order of entries in a config file significant, which is desirable \ 15in applications like image galleries." 16HOMEPAGE="http://code.google.com/p/iniparse/ 17 https://github.com/candlepin/python-iniparse" 18COPYRIGHT="2001-2008 Python Software Foundation 19 2004-2009 Paramjit Oberoi 20 2007 Tim Lauridsen" 21LICENSE="MIT 22 Python" 23REVISION="1" 24SOURCE_URI="https://github.com/candlepin/python-iniparse/archive/refs/tags/$portVersion.tar.gz" 25CHECKSUM_SHA256="3861300307519ee9b87aa8314e610261749b9562ee3fadccfe79e37b9e821109" 26SOURCE_DIR="python-iniparse-$portVersion" 27 28ARCHITECTURES="any" 29 30PROVIDES=" 31 iniparse = $portVersion 32 " 33REQUIRES=" 34 haiku 35 cmd:python3 36 " 37 38BUILD_REQUIRES=" 39 haiku_devel 40 " 41BUILD_PREREQUIRES=" 42 cmd:python3 43 setuptools_python310 44 " 45 46BUILD() 47{ 48 python3 setup.py build 49} 50 51INSTALL() 52{ 53 python3 setup.py install \ 54 --prefix=$prefix 55 56 mkdir -p $docDir 57 cp -r html $docDir 58} 59