Info2: << Package: pytools-py%type_pkg[python] Version: 2011.5 Revision: 1 Type: python (2.5 2.6 2.7 3.1 3.2 3.3) Description: Collection of tools for Python DescDetail: << Pytools is a big bag of things that are "missing" from the Python standard library. << DescPort: << Patch datatable.py to use a key function for sorting instead of a cmp function since that works with all pythons from 2.4 and up, while py3x doesn't support cmp functions. Also run the tests trough 2to3 on py3x. << Maintainer: Daniel Johnson License: BSD Homepage: http://pypi.python.org/pypi/pytools Source: https://pypi.python.org/packages/source/p/pytools/pytools-%v.tar.gz Source-MD5: 90107519fee21eeb7e712afb2178a568 Depends: python%type_pkg[python], py-py%type_pkg[python], decorator-py%type_pkg[python] BuildDepends: fink (>= 0.24.12), setuptools-tng-py%type_pkg[python] PatchFile: %{ni}.patch PatchFile-MD5: 3746d89950acf02eed945f96c5a70b53 PatchScript: << #!/bin/bash -ev if [ "%type_pkg[python]" -ge "30" ]; then %{default_script} %p/bin/2to3-%type_raw[python] -w test fi << CompileScript: %p/bin/python%type_raw[python] setup.py build InfoTest: << TestDepends: pytest-py%type_pkg[python] TestScript: << PYTHONPATH=build/lib py.test-%type_raw[python] . || exit 2 /usr/bin/find build/lib -name '*.pyc' -delete << << InstallScript: << %p/bin/python%type_raw[python] setup.py install --root=%d << DocFiles: PKG-INFO README <<