Info2: << Package: pysvn-py%type_pkg[python] Version: 1.7.4 Revision: 2 # Doesn't currently build with 3.2 Type: python (2.6 2.7 3.1) Description: Python SVN Extension DescDetail: << Supports all svn client features Supports svn transaction features required to write svn pre-commit hooks Easy to learn and use Python like interface Good Documentation and examples No need to understand the Subversion C API << Maintainer: Daniel Johnson License: BSD Homepage: http://pysvn.tigris.org/ Source: http://pysvn.barrys-emacs.org/source_kits/pysvn-%v.tar.gz Source-MD5: d60e4356bce77bf3b89fd163ab3d9e95 PatchFile: %{ni}.patch PatchFile-MD5: 57027596b2baa6a695a065813ac353ee PatchScript: << %{default_script} #Validator won't allow '/ s w' in PatchScript so we need to trick it. perl -pi -e 's,[/]sw/,%p/,g' Source/setup_configure.py << Depends: << libapr.0-shlibs (>= 1.4.2-2), python%type_pkg[python], svn15-shlibs (>= 1.6.15-1) << BuildDepends: << fink (>= 0.24.12), libapr.0-dev (>= 1.4.2-2), libaprutil.0-dev (>= 1.3.10-2), svn (>= 1.6.17-2), svn15-dev (>= 1.6.17-2) << GCC: 4.0 CompileScript: << #!/bin/bash -ev cd Source %p/bin/python%type_raw[python] setup.py configure --verbose --svn-root-dir=%p --apr-inc-dir=%p/include/apache2 --apr-lib-dir=%p/lib make << #Some tests fails when run as root but pass with --build-as-nobody. InfoTest: TestScript: cd Tests && make || exit 1 # This will need changing when we add py32 since .pyc and .so will move. InstallScript: << rm -f Source/pysvn/__init__.pyc %p/bin/python%type_raw[python] -m compileall Source/pysvn mkdir -p %i/lib/python%type_raw[python]/site-packages/pysvn cp Source/pysvn/__init__.{py,pyc} %i/lib/python%type_raw[python]/site-packages/pysvn cp Source/pysvn/_pysvn*.so %i/lib/python%type_raw[python]/site-packages/pysvn << DocFiles: LICENSE.txt Docs/*.{html,js} Examples/Client/*.py <<