keyczar-py stable port information

Info2: <<

Package: keyczar-py%type_pkg[python]
License: BSD
Homepage: http://www.keyczar.org/
Maintainer: Hans-Christoph Steiner
Version: 0.7b
Revision: 1
#
Type: python (2.4 2.5 2.6 2.7 3.1 3.2)
Distribution: (%type_pkg[python] = 24) 10.5
#
Description: Easy to use cryptographic toolkit
DescDetail: <<
Keyczar is an open source cryptographic toolkit designed to make it
easier and safer for developers to use cryptography in their
applications. Keyczar supports authentication and encryption with
both symmetric and asymmetric keys.
<<
Source: http://keyczar.googlecode.com/files/python-keyczar-%v.081911.tar.gz
Source-MD5: f8c18967cfd13d7eceb115be3f5e0579
SourceDirectory: python-keyczar-%v
#
BuildDepends: fink (>= 0.24.12), setuptools-py%type_pkg[python]
#
Depends: python%type_pkg[python], pyasn1-py%type_pkg[python], simplejson-py%type_pkg[python], pycrypto-py%type_pkg[python] (>= 2.0-1)
#
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build_ext --include-dirs=%p/include --library-dirs=%p/lib
%p/bin/python%type_raw[python] setup.py build
sed -i 's|^#!/usr/bin/python2.4$|#!%p/bin/python%type_raw[python]|' src/keyczar/*.py
<<
InstallScript: <<
install -d %i/bin
/usr/bin/printf '#!/bin/sh\n%p/bin/python%type_raw[python] %p/lib/python%type_raw[python]/site-packages/keyczar/keyczart.py $@' > %i/bin/keyczartool-py%type_pkg[python]
chmod 0755 %i/bin/keyczartool-py%type_pkg[python]
%p/bin/python%type_raw[python] setup.py install --root=%d
<<
DocFiles: PKG-INFO README doc/pycrypt.pdf doc/pycrypt.tex
#
PostInstScript: <<
if [ "$1" = configure ]; then
update-alternatives --install %p/bin/keyczartool keyczartool %p/bin/keyczartool-py%type_pkg[python] %type_pkg[python]
fi
<<
PreRmScript: <<
if [ "$1" = remove ]; then
update-alternatives --remove keyczartool %p/bin/keyczartool-py%type_pkg[python]
fi
<<
#

# Info2
<<