postgresql83-python-py stable port information

Info2: <<
Package: postgresql83-python-py%type_pkg[python]
Version: 8.3.7
Revision: 3
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Description: PostgreSQL Python tools
Type: python(2.3 2.4 2.5 2.6)
License: BSD
Maintainer: Benjamin Reed

Depends: <<
postgresql83-shlibs (>= %v-1),
python%type_pkg[python],
python-mx-py%type_pkg[python],
readline5-shlibs
<<
BuildDepends: <<
fink (>= 0.30.0-1),
fink-mirrors (>= 0.28.7.1-2),
postgresql83-dev (>= %v-1),
python%type_pkg[python],
bison,
readline5,
system-openssl-dev
<<

Source: mirror:postgresql:source/v%v/postgresql-%v.tar.bz2
Source-MD5: 7b7e91a2221e55fe1b167e663217a96d

SetCPPFLAGS: -DHAVE_OPTRESET -I%p/include/postgresql -I%p/include
SetLIBS: -L%p/lib
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
UseMaxBuildJobs: true
ConfigureParams: --prefix=%p --with-docdir=%p/share/doc --mandir=%p/share/man --enable-multibyte --enable-recode --with-CXX --without-perl --with-python --with-openssl --with-libraries=%p/lib --with-includes=%p/include --without-tcl --without-java --enable-odbc --with-pam --with-rendezvous
CompileScript: <<
#!/bin/sh -ev

export lt_cv_sys_max_cmd_len=65536
export ac_cv_path_PYTHON=%p/bin/python%type_raw[python]
export CPPFLAGS="-I%p/lib/system-openssl/include -I%p/include -DHAVE_OPTRESET -fno-common"
export LDFLAGS="-L%p/lib/system-openssl/lib -L%p/lib"
./configure %c

pushd src/pl/plpython
make BE_DLLLIBS="-bundle_loader %p/bin/postgres"
popd
<<

InstallScript: <<
#!/bin/sh -ev

pushd src/pl/plpython
make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3
popd

mkdir %i/lib/postgresql-8.3
mv %i/lib/postgresql/plpython.so %i/lib/postgresql-8.3/plpython-%type_pkg[python].so
<<
DocFiles: COPYRIGHT HISTORY INSTALL README
SplitOff: <<
Package: postgresql83-ssl-python-py%type_pkg[python]
Depends: postgresql83-python-py%type_pkg[python] (>= %v-%r)
DocFiles: COPYRIGHT HISTORY INSTALL README
<<

PostInstScript: <<
update-alternatives --install %p/lib/postgresql-8.3/plpython.so postgresql-python-plpython.so %p/lib/postgresql-8.3/plpython-%type_pkg[python].so %type_pkg[python]
cat < *** WARNING ***

To be able to use this (plpython) in PostgreSQL, you will need to
start your database:

sudo %p/bin/pgsql.sh start

...and then run:

sudo -u postgres %p/bin/createlang plpythonu template1

*** WARNING ***
END
<<
PreRmScript: <<
if [ "$1" != "upgrade" ]; then
update-alternatives --remove postgresql-python-plpython.so %p/lib/postgresql-8.3/plpython-%type_pkg[python].so
if [ ! -f %p/lib/postgresql-8.3/plpython.so ]; then
sudo -u postgres %p/bin/droplang plpython template1 >/dev/null 2>&1 || :
fi
fi
<<

Homepage: http://www.postgresql.org/
DescDetail: <<
To be able to use this (plpython) in PostgreSQL, you will need to
start your database:

sudo %p/bin/pgsql.sh start

...and then run:

sudo -u postgres %p/bin/createlang plpythonu template1
<<
<<