Info2: << Package: pysvn-py%type_pkg[python] Version: 1.7.7 Revision: 2 Type: python (2.6 2.7 3.1 3.2 3.3) 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: 2a26c2277c52401480b37387ef18ae67 PatchFile: %{ni}.patch PatchFile-MD5: 5e2080adf8f47e7ae504b572688869b7 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.6-1), python%type_pkg[python], svn17-shlibs (>= 1.7.8-1) << BuildDepends: << fink (>= 0.24.12), libapr.0-dev (>= 1.4.6-1), libaprutil.0-dev (>= 1.5.1-1), svn (>= 1.7.8-1), svn17-dev (>= 1.7.8-1) << UseMaxBuildJobs: false GCC: 4.0 CompileScript: << #!/bin/bash -ev cd Source %p/bin/python%type_raw[python] setup.py configure \ --svn-root-dir=%p \ --apr-inc-dir="`%p/bin/apr-1-config --includedir`" \ --apr-lib-dir=%p/lib \ --apu-inc-dir="`%p/bin/apu-1-config --includedir`" make << #Some tests fails when run as root but pass with --build-as-nobody. #InfoTest: TestScript: cd Tests && make || exit 2 InstallScript: << #!/bin/bash -ev rm -f Source/pysvn/__init__.pyc rm -rf Source/pysvn/__pycache__ %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 %i/lib/python%type_raw[python]/site-packages/pysvn if [ %type_pkg[python] -gt 31 ]; then cp -R Source/pysvn/__pycache__ %i/lib/python%type_raw[python]/site-packages/pysvn else cp Source/pysvn/__init__.pyc %i/lib/python%type_raw[python]/site-packages/pysvn fi cp Source/pysvn/_pysvn*.so %i/lib/python%type_raw[python]/site-packages/pysvn << DocFiles: LICENSE.txt Docs/*.{html,js} Examples/Client/*.py <<