Info2: << Package: gmpy-py%type_pkg[python] Version: 1.17 Revision: 1 Type: python (2.5 2.6 2.7 3.1 3.2 3.3) Description: Multiprecision arithmetic for Python DescDetail: << A C-coded Python extension module that wraps the GMP library to provide to Python code fast multiprecision arithmetic (integer, rational, and float), random number generation, advanced number-theoretical functions, and more. << Maintainer: Daniel Johnson License: LGPL2+ Homepage: http://code.google.com/p/gmpy/ Source: http://gmpy.googlecode.com/files/gmpy-%v.zip Source-MD5: 2bf419076b06e107167e219f60ac6d27 PatchScript: << perl -pi -e "s|dirord =.*\$|dirord = ['%p']|" setup.py << Depends: python%type_pkg[python], gmp5-shlibs BuildDepends: fink (>= 0.24.12), gmp5 CompileScript: << %p/bin/python%type_raw[python] setup.py build << InfoTest: << TestScript: << #!/bin/bash -ev export PYTHONPATH=`ls -d %b/build/lib*` let pyversion="%type_pkg[python]" if [ $pyversion -ge 31 ]; then testdir="test3"; else testdir="test"; fi perl -pi -e "s/'5\.0'/'5.1'/" $testdir/gmpy_test_cvr.py %p/bin/python%type_raw[python] $testdir/gmpy_test.py || exit 2 << << InstallScript: << %p/bin/python%type_raw[python] setup.py install \ --root=%d << DocFiles: changes.txt lgpl-2.1.txt PKG-INFO README doc/* <<