Info2: << Package: subvertpy-py%type_pkg[python] Version: 0.8.2 Revision: 1 Type: python (2.5 2.6 2.7) Description: Python bindings for subversion DescDetail: << Python bindings for the Subversion version control system that are aimed to be complete, fast and feel native to Python programmers. Bindings are provided for the working copy, client, delta, remote access and repository APIs. A hookable server side implementation of the custom Subversion protocol (svn_ra) is also provided. subvertpy covers more of the APIs than python-svn. It provides a more "Pythonic" API than python-subversion, which wraps the Subversion C API pretty much directly. Neither provide a hookable server-side. << DescPackaging: << Include upstream patch to fix build on x86_64 from bzr revision 2352 at https://launchpad.net/subvertpy. << Maintainer: Daniel Johnson License: LGPL2+ Homepage: http://samba.org/~jelmer/subvertpy/ Source: http://samba.org/~jelmer/subvertpy/subvertpy-%v.tar.gz Source-MD5: 452dad38ab14dcc4364b472d9b2f012d PatchFile: %{ni}.patch PatchFile-MD5: d7171b1c4f76ecea0c724d83521f5f29 PatchScript: patch -p0 <%{PatchFile} Depends: python%type_pkg[python], svn15-shlibs, libapr.0-shlibs BuildDepends: fink (>= 0.24.12), svn15-dev, libapr.0-dev, libaprutil.0-dev CompileScript: << SVN_PREFIX=%p %p/bin/python%type_raw[python] setup.py build << InfoTest: << TestDepends: (%type_pkg[python] << 27) unittest2-py%type_pkg[python] TestScript: << #!/bin/bash -ev export PYTHONPATH=`ls -d %b/build/lib*`/subvertpy if [ '%type_pkg[python]' -lt '27' ]; then %p/bin/python%type_raw[python] -m unittest2.__main__ subvertpy.tests.test_suite || exit 2 else %p/bin/python%type_raw[python] -m unittest subvertpy.tests.test_suite || exit 2 fi << << InstallScript: << %p/bin/python%type_raw[python] setup.py install \ --root=%d /bin/mv %i/bin/subvertpy-fast-export %i/bin/subvertpy-fast-export-py%type_pkg[python] << PostInstScript: << update-alternatives --install %p/bin/subvertpy-fast-export subvertpy-fast-export %p/bin/subvertpy-fast-export-py%type_pkg[python] %type_pkg[python] << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove subvertpy-fast-export %p/bin/subvertpy-fast-export-py%type_pkg[python] fi << DocFiles: AUTHORS COPYING NEWS TODO examples <<