Info2: << Package: gmpy-py%type_pkg[python] Version: 1.14 Revision: 1 Type: python (2.5 2.6 2.7 3.1 3.2) 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: 919c25062a868c70617276edeaeb1521 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 << # py32 will show 3 failures due to higher precision output. Just ignore. 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 %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/* <<