Info2: << Package: dexml-py%type_pkg[python] Version: 0.5.0 Revision: 1 Type: python (2.5 2.6 2.7 3.1 3.2 3.3) Description: Object-XML mapper for Python DescDetail: << The dexml module takes the obvious mapping between XML tags and Python objects and lets you capture that as cleanly as possible. Loosely inspired by Django's ORM, you write simple class definitions to define the expected structure of your XML document. << Maintainer: Daniel Johnson License: BSD Homepage: http://pypi.python.org/pypi/dexml Source: https://pypi.python.org/packages/source/d/dexml/dexml-%v.tar.gz Source-MD5: cbb9dbdb90e0acb439fee142fbed7d11 Depends: python%type_pkg[python] BuildDepends: fink (>= 0.24.12), setuptools-tng-py%type_pkg[python] PatchScript: << #!/bin/bash -ev if [ "%type_pkg[python]" -ge "30" ]; then perl -pi -e "s/u'/'/; s/ParseError: /dexml.ParseError: /" dexml/__init__.py fi << CompileScript: %p/bin/python%type_raw[python] setup.py build InfoTest: << TestDepends: (%type_pkg[python] << 31) discover-py%type_pkg[python] TestScript: << #!/bin/bash -ev if [ "%type_pkg[python]" -ge "30" ]; then %p/bin/python%type_raw[python] setup.py test || exit 2 # Clear out .pyc files since they hardcode the build dir. # Python >=3.2 puts them in __pycache__. rm -rf build/lib/dexml/*.pyc build/lib/dexml/__pycache__ else %p/bin/discover-py%type_pkg[python] || exit 2 fi << << InstallScript: %p/bin/python%type_raw[python] setup.py install --root=%d DocFiles: ChangeLog.txt LICENSE.txt PKG-INFO README.rst <<