Import py-iniparse, needed by tortoisehg. ok landry@.

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.
This commit is contained in:
rpointel 2012-03-27 18:19:39 +00:00
parent f5306d1874
commit 5378eba718
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/03/27 18:19:39 rpointel Exp $
COMMENT = INI parser for Python
MODPY_EGG_VERSION = 0.4
DISTNAME = iniparse-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = http://code.google.com/p/iniparse/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=i/iniparse/}
MODULES = lang/python
REGRESS_DEPENDS = lang/python/${MODPY_VERSION},-tests
do-regress:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${MODPY_BIN} runtests.py
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (iniparse-0.4.tar.gz) = Xlc+npcz2XYjiBzpu+Xspg==
RMD160 (iniparse-0.4.tar.gz) = 9Mte3ANeeHrOpCin0hND2Yb4X1w=
SHA1 (iniparse-0.4.tar.gz) = Kyr4oZ8+XCEsJ9fFJM10j6CzhlA=
SHA256 (iniparse-0.4.tar.gz) = q8HuEtLPslBhCQctbCHkC2x1o/6QqckkMn2AvA2ZwFQ=
SIZE (iniparse-0.4.tar.gz) = 31278

View File

@ -0,0 +1,4 @@
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.

View File

@ -0,0 +1,20 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/03/27 18:19:39 rpointel Exp $
lib/python${MODPY_VERSION}/site-packages/iniparse/
lib/python${MODPY_VERSION}/site-packages/iniparse-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/iniparse/__init__.py
lib/python${MODPY_VERSION}/site-packages/iniparse/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/iniparse/compat.py
lib/python${MODPY_VERSION}/site-packages/iniparse/compat.pyc
lib/python${MODPY_VERSION}/site-packages/iniparse/config.py
lib/python${MODPY_VERSION}/site-packages/iniparse/config.pyc
lib/python${MODPY_VERSION}/site-packages/iniparse/ini.py
lib/python${MODPY_VERSION}/site-packages/iniparse/ini.pyc
lib/python${MODPY_VERSION}/site-packages/iniparse/utils.py
lib/python${MODPY_VERSION}/site-packages/iniparse/utils.pyc
share/doc/iniparse-${MODPY_EGG_VERSION}/
share/doc/iniparse-${MODPY_EGG_VERSION}/Changelog
share/doc/iniparse-${MODPY_EGG_VERSION}/LICENSE
share/doc/iniparse-${MODPY_EGG_VERSION}/LICENSE-PSF
share/doc/iniparse-${MODPY_EGG_VERSION}/README
share/doc/iniparse-${MODPY_EGG_VERSION}/index.html
share/doc/iniparse-${MODPY_EGG_VERSION}/style.css