the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
#=========================================================================
# $Id: dtuple-py.info 508 2007-04-17 17:46:26Z matt $
Package: dtuple-py%type_pkg[python]
Version: 0.0.20000418
Revision: 3
Distribution: (%type_pkg[python] = 23) 10.3, (%type_pkg[python] = 23) 10.4
Type: python (2.3 2.4 2.5)
Description: Superior wrapper for Python DBI query results
License: OSI-Approved
Homepage: http://www.lyra.org/greg/python/
Maintainer: Matthew Bogosian
#=========================================================================
#---- Dependencies -------------------------------------------------------
Depends: python%type_pkg[python]
#---- Unpack phase -------------------------------------------------------
Source: http://www.lyra.org/greg/python/dtuple.py
Source-MD5: 6cc5879efb6211a6cac0b785111970a6
SourceDirectory: .
SourceRename: dtuple.py-%v
#---- Patch phase --------------------------------------------------------
PatchScript: <<
#!/bin/sh -ex
mv -f dtuple.py-%v dtuple.py
<<
#---- Compile phase ------------------------------------------------------
CompileScript: <<
<<
#---- Install phase ------------------------------------------------------
InstallScript: <<
#!/bin/sh -ex
install -d -m 755 \
'%i/lib/python%type_raw[python]/site-packages' \
'%i/share/doc/%n'
(
cat <
See
EOF
) >README
head -n 14 dtuple.py >>README
install -c -m 644 README \
'%i/share/doc/%n'
install -c -m 644 dtuple.py \
'%i/lib/python%type_raw[python]/site-packages'
<<
#---- Documentation ------------------------------------------------------
DescDetail: <<
From http://www.lyra.org/greg/python/:
This module wraps up return tuples from the fetch* methods in the Python
Database API. Using this class, the return tuples can be treated as
tuples, dictionaries, or objects with attributes corresponding to the
column names.
The module is memory efficient -- a "tuple descriptor" is shared across
all result rows, and the result row "wrapper" is very lightweight. The
speed is quite reasonable.
<<
<<