| 1 |
[buildout] |
[buildout] |
| 2 |
extends = |
extends = |
|
../software-profiles/subversion.cfg |
|
| 3 |
../software-profiles/libexpat.cfg |
../software-profiles/libexpat.cfg |
| 4 |
|
../software-profiles/neon.cfg |
| 5 |
../software-profiles/openssl.cfg |
../software-profiles/openssl.cfg |
| 6 |
|
../software-profiles/subversion.cfg |
| 7 |
|
|
| 8 |
parts = |
parts = |
| 9 |
pysvn-python |
pysvn-python |
| 10 |
|
|
|
[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 |
|
|
|
|
| 11 |
[pysvn-python] |
[pysvn-python] |
| 12 |
recipe = plone.recipe.command |
recipe = zc.recipe.egg:custom |
| 13 |
stop-on-error = true |
egg = |
| 14 |
location = ${buildout:parts-directory}/${:_buildout_section_name_} |
pysvn |
| 15 |
command = |
include-dirs = |
| 16 |
cd ${pysvn-python-download:location} && |
${subversion:location}/include/subversion-1 |
| 17 |
${buildout:executable} setup.py egg_info && |
${apache:location}/include |
| 18 |
cd Source && |
library-dirs = |
| 19 |
${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 |
| 20 |
make clean && |
${apache:location}/lib |
| 21 |
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 |
| 22 |
exit 1 |
${libexpat:location}/lib |
| 23 |
|
${openssl:location}/lib |
| 24 |
|
# heavily patched version that supports --include-dirs and --library-dirs |
| 25 |
|
find-links = http://www.nexedi.org/static/packages/source/pysvn-1.7.4nxd001.tar.gz |