googlecl-py stable port information

Info2: <<
Package: googlecl-py%type_pkg[python]
Version: 0.9.11
Revision: 1
Type: python (2.5 2.6 2.7)
Description: Use Google services from the command line
DescDetail: <<
GoogleCL brings Google services to the command line.

We currently support the following Google services:

Blogger
$ google blogger post --title "foo" "command line posting"

Calendar
$ google calendar add "Lunch with Jim at noon tomorrow"

Contacts
$ google contacts list name,email > contacts.csv

Docs
$ google docs edit --title "Shopping list"

Picasa
$ google picasa create --title "Cat Photos" ~/photos/cats/*.jpg

Youtube
$ google youtube post --category Education killer_robots.avi
<<
Maintainer: Daniel Johnson
License: BSD
Homepage: http://code.google.com/p/googlecl/

Source: http://googlecl.googlecode.com/files/googlecl-%v.tar.gz
Source-MD5: 03d91e27bf5ced8b8225c2d4dba30b3c

Depends: python%type_pkg[python], gdata-py%type_pkg[python]
BuildDepends: fink (>= 0.24.12)

CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
<<

InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root=%d
mv %i/bin/google %i/bin/google-py%type_pkg[python]
mkdir -p %i/share/man/man1
cp man/google.1 %i/share/man/man1/google.1-py%type_pkg[python]
<<

PostInstScript: <<
update-alternatives --install %p/bin/google google %p/bin/google-py%type_pkg[python] %type_pkg[python] --slave %p/share/man/man1/google.1 google.1 %p/share/man/man1/google.1-py%type_pkg[python]
<<

PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove google %p/bin/google-py%type_pkg[python]
fi
<<

DocFiles: changelog README.config README.txt
<<