Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/libs/pythonmods
In directory vz-cvs-3.sog:/tmp/cvs-serv22331
Added Files:
instant-py.info
Log Message:
sync. w/ 10.!4/stable, -py27 validated on powerpc-darwin8
--- NEW FILE: instant-py.info ---
Info2: <<
Package: instant-py%type_pkg[python]
Version: 1.0.0
Revision: 2
Type: python (2.5 2.6 2.7)
Description: Python module for inlining C/C++
DescDetail: <<
Instant is a Python module that allows for instant inlining of
C and C++ code in Python. It is a small Python module built on
top of SWIG and Distutils.
<<
Maintainer: Daniel Johnson <[email protected]>
License: BSD
Homepage: http://fenicsproject.org/
Source: http://launchpad.net/instant/1.0.x/%v/+download/instant-%v.tar.gz
Source-MD5: b73ffae5f590eeaaf4682e32a44b36cc
PatchScript: perl -pi -e 's,python ,%p/bin/python%type_raw[python] ,'
instant/build.py
Depends: python%type_pkg[python], swig, numpy-py%type_pkg[python]
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
<<
InfoTest: <<
TestScript: <<
#!/bin/bash -ev
cd test
# Tests expect a 'python' executable, so make one that's
predictable.
ln -s %p/bin/python%type_raw[python] python
export PATH=".:$PATH"
PYTHONPATH="%b/build/lib" %p/bin/python%type_raw[python]
run_tests.py || exit 2
rm %b/build/lib/instant/*.pyc
<<
<<
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root %d
/bin/mv %i/bin/instant-clean %i/bin/instant-clean-py%type_pkg[python]
/bin/mv %i/share/man/man1/instant-clean.1.gz
%i/share/man/man1/instant-clean-py%type_pkg[python].1.gz
/bin/mv %i/bin/instant-showcache
%i/bin/instant-showcache-py%type_pkg[python]
/bin/mv %i/share/man/man1/instant-showcache.1.gz
%i/share/man/man1/instant-showcache-py%type_pkg[python].1.gz
<<
PostInstScript: <<
update-alternatives --install %p/bin/instant-clean instant-clean
%p/bin/instant-clean-py%type_pkg[python] %type_pkg[python] --slave
%p/share/man/man1/instant-clean.1.gz instant-clean.1.gz
%p/share/man/man1/instant-clean-py%type_pkg[python].1.gz
update-alternatives --install %p/bin/instant-showcache
instant-showcache %p/bin/instant-showcache-py%type_pkg[python]
%type_pkg[python] --slave %p/share/man/man1/instant-showcache.1.gz
instant-showcache.1.gz
%p/share/man/man1/instant-showcache-py%type_pkg[python].1.gz
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
update-alternatives --remove instant-clean
%p/bin/instant-clean-py%type_pkg[python]
update-alternatives --remove instant-showcache
%p/bin/instant-showcache-py%type_pkg[python]
fi
<<
<<
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs