To build pysvn you will require:
Some distributions will split python and subversion into more the one package.
You will need to find all the packages that give you the options listed above.
These instructions assume you have Microsoft Visual C++ 6.0 to compile the code and INNO 4.0.10 to create the installation kit.
Note: You must build with MSVC 6.0 as python 2.3 and earlier was built with that version.
Note: You must build with MSVC 2003.NET for python 2.4 or Python 2.5.
Note: You must build with MSVC 2008 (9.0) for Python 2.6 or later and python 3.0 or later.
nmake -f win32.mak build
To install the built kit
nmake -f win32.mak install
tar xzf pycxx-6.2.1.tar.gzinto extdir/Import if not using a source kit
python setup.py backport
python setup.py configure
Install pysvn by copying the following from Extension/Source to python site-specific directory.
cp pysvn/__init__.py python-libdir/site-packages/pysvn
cp pysvn/_pysvn*.so python-libdir/site-packages/pysvn