Info2: << Package: modernize-py%type_pkg[python] Version: 0.2 Revision: 2 Type: python (2.6 2.7) Description: Modernize code for hybrid codebases DescDetail: << This library is a very thin wrapper around lib2to3 to utilize it to make Python 2 code more modern with the intention of eventually porting it over to Python 3. It does not guarantee, but it attempts to spit out a Python 2/3 compatible codebase. The code that it generates has a runtime dependency on `six`. << DescUsage: << Script is called 'python-modernize-py%type_pkg[python]'. Call with '--help' for usage information. Source files processed with this script will have a dependency on the 'six-pyXY' package. << Maintainer: Daniel Johnson License: BSD Homepage: http://pypi.python.org/pypi/modernize Source: https://pypi.python.org/packages/source/m/modernize/modernize-%v.tar.gz Source-MD5: 762ed0e73d1af3143349aa121ee9529e Depends: python%type_pkg[python], setuptools-tng-py%type_pkg[python] BuildDepends: fink (>= 0.24.12) CompileScript: %p/bin/python%type_raw[python] setup.py build InstallScript: << %p/bin/python%type_raw[python] setup.py install --root=%d mv %i/bin/python-modernize %i/bin/python-modernize-py%type_pkg[python] << PostInstScript: << update-alternatives --install %p/bin/python-modernize python-modernize %p/bin/python-modernize-py%type_pkg[python] %type_pkg[python] << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove python-modernize %p/bin/python-modernize-py%type_pkg[python] fi << DocFiles: PKG-INFO README <<