Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 04:55:18 GMT
From:      John Ferrell <jdferrell3@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121855: [new port] devel/py-cfgparse - a Python module for parsing config files
Message-ID:  <200803190455.m2J4tIFm070843@www.freebsd.org>
Resent-Message-ID: <200803190500.m2J503PT062321@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121855
>Category:       ports
>Synopsis:       [new port] devel/py-cfgparse - a Python module for parsing config files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 19 05:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     John Ferrell
>Release:        7.0-RELEASE
>Organization:
>Environment:
FreeBSD fbsd.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Mon Mar 10 18:30:02 EDT 2008     root@fbsd.local:/usr/obj/usr/src/sys/JDF  i386
>Description:
Attached is a shar of a new port, py-cfgparse.  cfgparse is Python module for parsing configuration files.  

This is my first port.  I tested the port with 'portlint' and 'port test', so hopefully everything is in order.  Please let me know if there is anything I need to fix.

Thanks,
John

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/devel/py-cfgparse
#	/usr/ports/devel/py-cfgparse/pkg-plist
#	/usr/ports/devel/py-cfgparse/pkg-descr
#	/usr/ports/devel/py-cfgparse/distinfo
#	/usr/ports/devel/py-cfgparse/Makefile
#
echo c - /usr/ports/devel/py-cfgparse
mkdir -p /usr/ports/devel/py-cfgparse > /dev/null 2>&1
echo x - /usr/ports/devel/py-cfgparse/pkg-plist
sed 's/^X//' >/usr/ports/devel/py-cfgparse/pkg-plist << 'END-of-/usr/ports/devel/py-cfgparse/pkg-plist'
X%%PYTHON_SITELIBDIR%%/cfgparse.py
X%%PYTHON_SITELIBDIR%%/cfgparse.pyc
X%%PYTHON_SITELIBDIR%%/cfgparse.pyo
X%%DOCSDIR%%/about.html
X%%DOCSDIR%%/blank.png
X%%DOCSDIR%%/cfgparse-adding-files.html
X%%DOCSDIR%%/cfgparse-adding-options.html
X%%DOCSDIR%%/cfgparse-cmd-line-coop.html
X%%DOCSDIR%%/cfgparse-coop-files.html
X%%DOCSDIR%%/cfgparse-coop-help.html
X%%DOCSDIR%%/cfgparse-coop-keys.html
X%%DOCSDIR%%/cfgparse-coop-option.html
X%%DOCSDIR%%/cfgparse-create-parser.html
X%%DOCSDIR%%/cfgparse-default-keys.html
X%%DOCSDIR%%/cfgparse-env-keys.html
X%%DOCSDIR%%/cfgparse-groups.html
X%%DOCSDIR%%/cfgparse-help-notes.html
X%%DOCSDIR%%/cfgparse-keys.html
X%%DOCSDIR%%/cfgparse-option-check.html
X%%DOCSDIR%%/cfgparse-option-help.html
X%%DOCSDIR%%/cfgparse-option-name.html
X%%DOCSDIR%%/cfgparse-option-type.html
X%%DOCSDIR%%/cfgparse-parsing.html
X%%DOCSDIR%%/cfgparse-printing-help.html
X%%DOCSDIR%%/cfgparse-python.html
X%%DOCSDIR%%/cfgparse-round-trip-set-option.html
X%%DOCSDIR%%/cfgparse-round-trip-set.html
X%%DOCSDIR%%/cfgparse-round-trip-write.html
X%%DOCSDIR%%/cfgparse-section-keys.html
X%%DOCSDIR%%/cfgparse-sections.html
X%%DOCSDIR%%/cfgparse-text-sub.html
X%%DOCSDIR%%/cfgparse.css
X%%DOCSDIR%%/cfgparse.html
X%%DOCSDIR%%/contents.png
X%%DOCSDIR%%/index.html
X%%DOCSDIR%%/index.png
X%%DOCSDIR%%/modules.png
X%%DOCSDIR%%/next.png
X%%DOCSDIR%%/node1.html
X%%DOCSDIR%%/node10.html
X%%DOCSDIR%%/node18.html
X%%DOCSDIR%%/node2.html
X%%DOCSDIR%%/node22.html
X%%DOCSDIR%%/node23.html
X%%DOCSDIR%%/node24.html
X%%DOCSDIR%%/node28.html
X%%DOCSDIR%%/node33.html
X%%DOCSDIR%%/node36.html
X%%DOCSDIR%%/previous.png
X%%DOCSDIR%%/pyfav.png
X%%DOCSDIR%%/up.png
X@dirrm %%DOCSDIR%%
END-of-/usr/ports/devel/py-cfgparse/pkg-plist
echo x - /usr/ports/devel/py-cfgparse/pkg-descr
sed 's/^X//' >/usr/ports/devel/py-cfgparse/pkg-descr << 'END-of-/usr/ports/devel/py-cfgparse/pkg-descr'
Xcfgparse is Python module for parsing configuration files.  
X
XWWW: http://cfgparse.sourceforge.net/
END-of-/usr/ports/devel/py-cfgparse/pkg-descr
echo x - /usr/ports/devel/py-cfgparse/distinfo
sed 's/^X//' >/usr/ports/devel/py-cfgparse/distinfo << 'END-of-/usr/ports/devel/py-cfgparse/distinfo'
XMD5 (cfgparse-v01_02.tar.gz) = 9add1b0bbf828f7c7383407cdeefea94
XSHA256 (cfgparse-v01_02.tar.gz) = 59189e3886be58f344c2b85956ff97089aaa546f7a342bd26144ed94c991a61c
XSIZE (cfgparse-v01_02.tar.gz) = 128803
END-of-/usr/ports/devel/py-cfgparse/distinfo
echo x - /usr/ports/devel/py-cfgparse/Makefile
sed 's/^X//' >/usr/ports/devel/py-cfgparse/Makefile << 'END-of-/usr/ports/devel/py-cfgparse/Makefile'
X# New ports collection makefile for:	cfgparse
X# Date created:		March 18, 2008
X# Whom:			John Ferrell
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cfgparse
XPORTVERSION=	1.2
XCATEGORIES=	devel python
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	cfgparse
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	cfgparse-v01_02
X
XMAINTAINER=	jdferrell3@yahoo.com
XCOMMENT=	Python module for parsing configuration files
X
XUSE_PYTHON=	2.3+
XUSE_PYDISTUTILS=yes
XPYDISTUTILS_PKGNAME=	cfgparse
XPYDISTUTILS_EGGINFO=	${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-v01_02-${PYTHON_VERSION:S/thon//}.egg-info
X
XDOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/docs/cfgparse/* ${DOCSDIR}
X.endif
X
XPLIST_SUB=	PYTHONVER=${PYTHON_VERSION:S/python//}
X
X.include <bsd.port.mk>
END-of-/usr/ports/devel/py-cfgparse/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803190455.m2J4tIFm070843>