Bug 65941 - New Port: devel/py-tconfpy
Summary: New Port: devel/py-tconfpy
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-24 22:30 UTC by Tim Daneliuk
Modified: 2004-05-27 22:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Daneliuk 2004-04-24 22:30:24 UTC
      # 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
Comment 1 tundra 2004-04-28 05:11:38 UTC
A slight change to the program has resulted in a new version number
and checksum.  When submitting this, please change the version to
1.184 and do a new 'make makesum' to update the port.

Unless someone spots major bugs, this should be it for a while...

Thanks,
-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2004-05-02 17:33:55 UTC
Class Changed
From-To: maintainer-update->change-request

New ports PRs are change requests
Comment 3 tundra 2004-05-16 00:16:39 UTC
We're up to 1.185 now ...
-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-05-27 22:39:34 UTC
State Changed
From-To: open->closed

New port added, thank you!