From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 24 14:30:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFF3116A4CE for ; Sat, 24 Apr 2004 14:30:24 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B9343D5F for ; Sat, 24 Apr 2004 14:30:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3OLUObv098892 for ; Sat, 24 Apr 2004 14:30:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3OLUO5p098887; Sat, 24 Apr 2004 14:30:24 -0700 (PDT) (envelope-from gnats) Resent-Date: Sat, 24 Apr 2004 14:30:24 -0700 (PDT) Resent-Message-Id: <200404242130.i3OLUO5p098887@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Daneliuk Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82E4516A4CE for ; Sat, 24 Apr 2004 14:24:39 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7850E43D2F for ; Sat, 24 Apr 2004 14:24:39 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i3OLObIn037483 for ; Sat, 24 Apr 2004 14:24:37 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i3OLObNv037482; Sat, 24 Apr 2004 14:24:37 -0700 (PDT) (envelope-from nobody) Message-Id: <200404242124.i3OLObNv037482@www.freebsd.org> Date: Sat, 24 Apr 2004 14:24:37 -0700 (PDT) From: Tim Daneliuk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/65941: New Port: devel/py-tconfpy X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 21:30:25 -0000 >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 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: