Info2: << Package: xmlwitch-py%type_pkg[python] Version: 0.2.1 Revision: 1 Type: python (2.6 2.7 3.1 3.2) Description: Python implementation of Ruby's XML Builder DescDetail: << xmlwitch is a reimplementation of Ruby's Builder library written and mantained by Jonas Galvez. It uses a very different technique (Python's context processors) but delivers an extremely similar syntax. xmlwitch leverages the with statement which makes it dependent on Python 2.5 and above. << DescPort: Patch file makes us Python 3 compatible. Syntax error with py25. Maintainer: Daniel Johnson License: BSD Homepage: http://pypi.python.org/pypi/xmlwitch Source: mirror:custom:x/xmlwitch/xmlwitch-%v.tar.gz Source-MD5: 5c853d0e990f8c58557a91ebd235bd53 PatchScript: << #!/bin/bash -ev let pyversion="%type_pkg[python]" if [ $pyversion -ge 31 ]; then 2to3-%type_raw[python] -w xmlwitch.py tests/xmlwitch_tests.py perl -pi -e 's/open\(expected\)/open(expected, encoding="utf-8")/' tests/xmlwitch_tests.py perl -pi -e 's/\.encode\(self\._encoding\)//' xmlwitch.py perl -pi -e 's/__unicode__/__bytes__/' xmlwitch.py fi << Depends: python%type_pkg[python] BuildDepends: fink (>= 0.24.12) CompileScript: << %p/bin/python%type_raw[python] setup.py build << InfoTest: TestScript: PYTHONPATH=. %p/bin/python%type_raw[python] tests/xmlwitch_tests.py || exit 2 InstallScript: << %p/bin/python%type_raw[python] setup.py install \ --root=%d << DocFiles: PKG-INFO README.md README.txt 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/ << <<