Info2: << Package: 3to2-py%type_pkg[python] Version: 1.0 Revision: 1 Type: python (3.1 3.2) Description: Refactor python 3.x syntax into 2.x syntax DescDetail: << lib3to2 is a set of fixers that are intended to backport code written for Python version 3.x into Python version 2.x. The final target 2.x version is the latest version of the 2.5 branch, though for the Google Summer of Code (TM) a later branch will be necessary for some of the more difficult fixers (or some of the new features with no syntactical equivalent in Python 2.5) that have been backported to the 2.x branches. << DescUsage: << Run "3to2" to convert stdin ("-"), files or directories given as arguments. By default, the tool outputs a unified diff-formatted patch on standard output and a "what was changed" summary on standard error, but the "-w" option can be given to write back converted files, creating ".bak"-named backup files. << Maintainer: Daniel Johnson License: BSD Homepage: http://pypi.python.org/pypi/3to2_py3k Source: mirror:custom:3/3to2_py3k/3to2_py3k-%v.tar.gz Source-MD5: f8615b6c82578d2f84974bf59d5543d9 Depends: python%type_pkg[python] BuildDepends: fink (>= 0.24.12) CompileScript: << %p/bin/python%type_raw[python] setup.py build << #Still a handfull of test failures. InfoTest: TestScript: PYTHONPATH=. %p/bin/python%type_raw[python] ./lib3to2/tests/test_all_fixers.py || exit 1 InstallScript: << %p/bin/python%type_raw[python] setup.py install \ --root=%d mv %i/bin/3to2 %i/bin/3to2-%type_pkg[python] << PostInstScript: << update-alternatives --install %p/bin/3to2 3to2 %p/bin/3to2-%type_pkg[python] %type_pkg[python] << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove 3to2 %p/bin/3to2-%type_pkg[python] fi << DocFiles: PKG-INFO README CustomMirror: << eur-NL: http://a.pypi.python.org/packages/source/ nam-US: http://b.pypi.python.org/packages/source/ eur-DE: http://c.pypi.python.org/packages/source/ eur-DE: http://d.pypi.python.org/packages/source/ eur-DE: http://e.pypi.python.org/packages/source/ eur-DE: http://f.pypi.python.org/packages/source/ << <<