Info2: << Package: subvertpy-py%type_pkg[python] Version: 0.9.1 Revision: 2 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. << Maintainer: Daniel Johnson License: LGPL2+ Homepage: http://samba.org/~jelmer/subvertpy/ Source: http://samba.org/~jelmer/subvertpy/subvertpy-%v.tar.gz NoSourceDirectory: true Source-MD5: b4fe3c2fe8ead1e5d19d0d41388f2458 Depends: python%type_pkg[python], svn18-shlibs, libapr.0-shlibs BuildDepends: fink (>= 0.24.12), svn18-dev, libapr.0-dev, libaprutil.0-dev # Get rid of a ton of deprecated declaration warnings # due to use of older svn functions. PatchScript: << #!/bin/bash -ev /usr/bin/sed -i bak '1i\ #pragma GCC diagnostic ignored "-Wdeprecated-declarations"' subvertpy/util.h << 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 SVN_PREFIX=%p %p/bin/python%type_raw[python] setup.py build_ext --inplace # Ignore test failures on < 2.7. # Tests that should be skipped are triggering spurious errors. if [ '%type_pkg[python]' -lt '27' ]; then %p/bin/python%type_raw[python] -m unittest2.__main__ subvertpy.tests.test_suite || exit 1 else %p/bin/python%type_raw[python] -m unittest subvertpy.tests.test_suite || exit 2 fi << << InstallScript: << SVN_PREFIX=%p %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] mkdir -p %i/share/man/man1 /bin/cp man/subvertpy-fast-export.1 %i/share/man/man1/subvertpy-fast-export-py%type_pkg[python].1 << PostInstScript: << update-alternatives --install %p/bin/subvertpy-fast-export subvertpy-fast-export %p/bin/subvertpy-fast-export-py%type_pkg[python] %type_pkg[python] --slave %p/bin/subvertpy-fast-export.1 subvertpy-fast-export.1 %p/bin/subvertpy-fast-export-py%type_pkg[python].1 << 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 <<