Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2004 14:24:37 -0700 (PDT)
From:      Tim Daneliuk <tconfpy@tundraware.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/65941: New Port: devel/py-tconfpy
Message-ID:  <200404242124.i3OLObNv037482@www.freebsd.org>
Resent-Message-ID: <200404242130.i3OLUO5p098887@freefall.freebsd.org>

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

>Number:         65941
>Category:       ports
>Synopsis:       New Port: devel/py-tconfpy
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 24 14:30:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tim Daneliuk
>Release:        4.10-Beta
>Organization:
TundraWare Inc.
>Environment:
FreeBSD eskimo.tundraware.com 4.10-BETA FreeBSD 4.10-BETA #0: Sat Apr 17 15:35:19 CDT 2004     toor@eskimo.tundraware.com:/usr/obj/usr/src/sys/ESKIMO  i386   
>Description:
      # 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:
#
#	py-tconfpy
#	py-tconfpy/Makefile
#	py-tconfpy/pkg-descr
#	py-tconfpy/pkg-plist
#	py-tconfpy/distinfo
#
echo c - py-tconfpy
mkdir -p py-tconfpy > /dev/null 2>&1
echo x - py-tconfpy/Makefile
sed 's/^X//' >py-tconfpy/Makefile << 'END-of-py-tconfpy/Makefile'
X# New ports collection makefile for:	py-tconfpy
X# Date Created:				24 April 2004
X# Whom:					tundra
X#
X
X
XPORTNAME=	py-tconfpy
XPORTVERSION=	1.181
XCATEGORIES=	devel
XMASTER_SITES=	http://www.tundraware.com/Software/tconfpy/
X
XMAINTAINER=	tconfpy@tundraware.com
XCOMMENT=	A Python Configuration File Parser
X
XUSE_PYTHON=	yes
X
XMANCOMPRESSED=	yes
XMAN1=		test-tc.1
XMAN3=           tconfpy.3
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for f in READ-1ST.txt WHATSNEW.txt tconfpy-license.txt tconfpy.html tconfpy.pdf tconfpy.ps tconfpy.txt test-tc.html test-tc.pdf test-tc.ps test-tc.txt
X	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X
X.include <bsd.port.mk>
END-of-py-tconfpy/Makefile
echo x - py-tconfpy/pkg-descr
sed 's/^X//' >py-tconfpy/pkg-descr << 'END-of-py-tconfpy/pkg-descr'
X'tconfpy' is an advanced configuration file parser and validator for
XPython programs.  By using 'tconfpy', Python programmers can provide
Xtheir users with an external configuration file for setting program
Xoptions, defining defaults, and so on.  'tconfpy' offloads the
Xresponsibility for parsing and validating a configuration file from
Xthe main application. The Python programmer need only deal
Xwith the results and any errors or warnings generated during the
Xparsing process.
X
X'tconfpy' recognizes a rich configuration language and provides a
Xnumber of sophisticated programming features including:
X
X    - The ability to breakup large configurations into smaller pieces
X      via the '.include' directive.
X
X    - Support for string substitution and concatenation throughout the
X      configuration file via string variables.  Variables may be
X      locally declared, a reference to a symbol already in the
X      symbol table, or a reference to an environment variable.
X
X    - A complete set of conditional directives for selective
X      processing of configuration options. Both existential ("If
X      variable exists ...") and comparison ("if string equals/does not
X      equal string ...") forms are provided, as is an '.else'
X      directive.
X
X    - The ability to instantiate program options prior to reading a
X      configuration file and make them mandatory by declaring those
X      options as Read-Only.
X
X    - Optional type validation to ensure that a user enters a value
X      appropriate for boolean, integer, floating point, string, or
X      complex data.
X
X    - Optional value validation to ensure that a configuration option
X      is either within a specified range or one of an enumerated set
X      of possible values.  For configuration options which are string
X      types, 'tconfpy', can optionally specify min/max string lengths
X      and enumerate a set of legitimate regular expressions that the
X      string must match.
X
X    - The ability to define an arbitrary number of lexical namespaces.
X
X    - The ability to use the various features of 'tconfpy' as a pre-
X      processor for any other text (including source code for other
X      programming languages and Python itself) via the '.literal'
X      directive.
X
X    - An optional debug capability which returns detailed information
X      about each line parsed.
X
X 'tconfpy' is a Pure Python module and is platform-independent.
XIt should run identically on any platform on which Python runs.
X
XThe latest version can be found at:
X
X
XWWW:  http://www.tundraware.com/Software/tconfpy/
END-of-py-tconfpy/pkg-descr
echo x - py-tconfpy/pkg-plist
sed 's/^X//' >py-tconfpy/pkg-plist << 'END-of-py-tconfpy/pkg-plist'
Xbin/test-tc.py
X%%PORTDOCS%%share/doc/py-tconfpy/READ-1ST.txt
X%%PORTDOCS%%share/doc/py-tconfpy/WHATSNEW.txt
X%%PORTDOCS%%share/doc/py-tconfpy/tconfpy-license.txt
X%%PORTDOCS%%share/doc/py-tconfpy/tconfpy.html
X%%PORTDOCS%%share/doc/py-tconfpy/tconfpy.pdf
X%%PORTDOCS%%share/doc/py-tconfpy/tconfpy.ps
X%%PORTDOCS%%share/doc/py-tconfpy/tconfpy.txt
X%%PORTDOCS%%share/doc/py-tconfpy/test-tc.html
X%%PORTDOCS%%share/doc/py-tconfpy/test-tc.pdf
X%%PORTDOCS%%share/doc/py-tconfpy/test-tc.ps
X%%PORTDOCS%%share/doc/py-tconfpy/test-tc.txt
X%%PORTDOCS%%@dirrm share/doc/py-tconfpy
X%%PYTHON_SITELIBDIR%%/tconfpy.py
X%%PYTHON_SITELIBDIR%%/tconfpy.pyc
END-of-py-tconfpy/pkg-plist
echo x - py-tconfpy/distinfo
sed 's/^X//' >py-tconfpy/distinfo << 'END-of-py-tconfpy/distinfo'
XMD5 (py-tconfpy-1.181.tar.gz) = 9b9214f882d49f1022c689bea1284d7a
XSIZE (py-tconfpy-1.181.tar.gz) = 360445
END-of-py-tconfpy/distinfo
exit


>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



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