# -*- coding: ascii; tab-width: 4 -*- Info2: << Package: cdecimal-py%type_pkg[python] Version: 2.3 Revision: 1 Type: python (2.7) Description: Fast replacement for decimal module DescDetail: << The cdecimal package is a fast drop-in replacement for the decimal module in Python's standard library. Both modules provide complete implementations of Mike Cowlishaw/IBM's General Decimal Arithmetic Specification. Both cdecimal and the underlying library - libmpdec - are extremely well tested. libmpdec is one of the few open source projects with 100% code coverage. cdecimal is rigorously tested against decimal.py. Typical performance gains are between 30x for I/O heavy benchmarks and 80x for numerical programs. In a database benchmark, cdecimal exhibits a speedup of 12x over decimal.py. << Maintainer: Daniel Johnson License: BSD Homepage: https://pypi.org/project/cdecimal Source: http://www.bytereef.org/software/mpdecimal/releases/cdecimal-%v.tar.gz Source-Checksum: SHA256(d737cbe43ed1f6ad9874fb86c3db1e9bbe20c0c750868fde5be3f379ade83d8b) Depends: python%type_pkg[python] BuildDepends: fink (>= 0.24.12) CompileScript: echo "Skip CompileScript." InstallScript: << #!/bin/bash -ev if [ "%m" = "x86_64" ]; then %p/bin/python%type_raw[python] setup.py install --with-machine=x64 --root=%d elif [ "%m" = "i386" ]; then %p/bin/python%type_raw[python] setup.py install --with-machine=ppro --root=%d else %p/bin/python%type_raw[python] setup.py install --with-machine=ansi32 --root=%d fi << DocFiles: CHANGELOG.txt LICENSE.txt README.txt <<