Info2: << Package: pyrex-py%type_pkg[python] Version: 0.9.8.5 Revision: 1 Distribution: (%type_pkg[python] = 23) 10.3, (%type_pkg[python] = 23) 10.4 Type: python (2.3 2.4 2.5) License: BSD Maintainer: Evan Broder Depends: python%type_pkg[python] Source: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-%v.tar.gz Source-MD5: 3b3d8397c2c9a58fc59a90e2b49c651a Homepage: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ CompileScript: << %p/bin/python%type_raw[python] setup.py build << InstallScript: << #!/bin/bash -ev %p/bin/python%type_raw[python] setup.py install --root=%d mkdir -p %i/share/doc/%n cp -R Doc %i/share/doc/%n/ cp -R Demos %i/share/doc/%n/ mv %i/bin/pyrexc %i/bin/pyrexc-py%type_pkg[python] << DocFiles: CHANGES.txt INSTALL.txt ToDo.txt README.txt USAGE.txt PostInstScript: << update-alternatives --install %p/bin/pyrexc pyrexc %p/bin/pyrexc-py%type_pkg[python] %type_pkg[python] << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove pyrexc %p/bin/pyrexc-py%type_pkg[python] fi << Description: Tool to make writing Python modules easy DescDetail: << Pyrex is a language specially designed for writing Python extension modules. It's designed to bridge the gap between the nice, high-level, easy-to-use world of Python and the messy, low-level world of C. To use the pyrex compiler, type pyrexc at the prompt. Note: This package uses update-alternatives to allow pyrexc for different versions of python to be installed simultaneously. '%p/bin/pyrexc' will always point to the highest installed version; use (e.g.) 'pyrexc-py23' to choose others. << <<