Commit bf6f5145 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use our own heavily patched pysvn tarball that supports --include-dirs and --library-dirs.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40627 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f21ee98
...@@ -6,6 +6,7 @@ extends = ...@@ -6,6 +6,7 @@ extends =
lxml-python.cfg lxml-python.cfg
mysql-python.cfg mysql-python.cfg
python-ldap-python.cfg python-ldap-python.cfg
pysvn-python.cfg
subversion.cfg subversion.cfg
git.cfg git.cfg
glib.cfg glib.cfg
...@@ -97,6 +98,7 @@ eggs = ...@@ -97,6 +98,7 @@ eggs =
${mysql-python:egg} ${mysql-python:egg}
${lxml-python:egg} ${lxml-python:egg}
${python-ldap-python:egg} ${python-ldap-python:egg}
${pysvn-python:egg}
PyXML PyXML
SOAPpy SOAPpy
cElementTree cElementTree
...@@ -109,7 +111,6 @@ eggs = ...@@ -109,7 +111,6 @@ eggs =
ordereddict ordereddict
paramiko paramiko
ply ply
pysvn
python-memcached python-memcached
pytz pytz
simplejson simplejson
......
[buildout] [buildout]
extends = extends =
../software-profiles/subversion.cfg
../software-profiles/libexpat.cfg ../software-profiles/libexpat.cfg
../software-profiles/neon.cfg
../software-profiles/openssl.cfg ../software-profiles/openssl.cfg
../software-profiles/subversion.cfg
parts = parts =
pysvn-python pysvn-python
[pysvn-python-download]
recipe = hexagonit.recipe.download
url = http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.4.tar.gz
md5sum = d60e4356bce77bf3b89fd163ab3d9e95
strip-top-level-dir = true
[pysvn-python] [pysvn-python]
recipe = plone.recipe.command recipe = zc.recipe.egg:custom
stop-on-error = true egg =
location = ${buildout:parts-directory}/${:_buildout_section_name_} pysvn
command = include-dirs =
cd ${pysvn-python-download:location} && ${subversion:location}/include/subversion-1
${buildout:executable} setup.py egg_info && ${apache:location}/include
cd Source && library-dirs =
${buildout:executable} setup.py configure --svn-inc-dir=${subversion:location}/include/subversion-1/ --apr-inc-dir=${apache:location}/include/ --svn-lib-dir=${subversion:location}/lib/ --apr-lib-dir=${apache:location}/lib/ && ${subversion:location}/lib
make clean && ${apache:location}/lib
make LDLIBS="-L${subversion:location}/lib -Wl,--rpath -Wl,${subversion:location}/lib -L${openssl:location}/lib -L/lib64 -Wl,--rpath -Wl,${openssl:location}/lib -L${libexpat:location}/lib -Wl,--rpath -Wl,${libexpat:location}/lib -lsvn_client-1 -lsvn_diff-1 -lsvn_repos-1 -lcom_err -lresolv -lexpat -lneon -lssl" && ${neon:location}/lib
exit 1 ${libexpat:location}/lib
${openssl:location}/lib
# heavily patched version that supports --include-dirs and --library-dirs
find-links = http://www.nexedi.org/static/packages/source/pysvn-1.7.4nxd001.tar.gz
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment