buildout.cfg 1.44 KB
Newer Older
1 2
[buildout]
extends =
Łukasz Nowak's avatar
Łukasz Nowak committed
3
  ../librsync/buildout.cfg
4
  ../coreutils/buildout.cfg
5
parts =
6
  rdiff-backup-output
7 8 9 10

[rdiff-backup-build]
recipe = zc.recipe.egg:custom
egg = rdiff-backup
11 12 13 14
patches =
  ${:_profile_base_location_}/rdiff-backup-1.2.8-librsync-1.0.0.patch#5e54a67845edd6942fcf7359c921e003
patch-options = -p1
patch-binary = ${patch:location}/bin/patch
15 16 17 18 19 20
include-dirs =
  ${librsync:location}/include/
library-dirs =
  ${librsync:location}/lib/
rpath =
  ${librsync:location}/lib/
21 22
# If you need another release, override this link
# and pin the egg in the [versions] section of the stack or SR.
Romain Courteaud's avatar
Romain Courteaud committed
23
find-links = http://pkgs.fedoraproject.org/repo/pkgs/rdiff-backup/rdiff-backup-1.0.5.tar.gz/fa2a165fa07a94be52c52e3545bc7758/rdiff-backup-1.0.5.tar.gz
24

25 26 27
[rdiff-backup-build-1.3.4]
<= rdiff-backup-build
# use our own version
28
find-links = http://www.nexedi.org/static/packages/source/rdiff-backup-1.3.4nxd4.tar.gz
29 30 31
patches =
  ${:_profile_base_location_}/rdiff-backup-1.3.4-librsync-1.0.0.patch#31fafc8bc4a00f002f52008a9f3b671f

32 33 34 35 36 37 38 39
[rdiff-backup]
# Scripts only generation part for rdiff-backup
recipe = zc.recipe.egg
eggs =
  ${rdiff-backup-build:egg}
entry-points =
  rdiff-backup=rdiff_backup.Main:Main
arguments = sys.argv[1:]
40 41 42 43 44 45 46 47

[rdiff-backup-output]
# Shared binary location to ease migration
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = ${coreutils-output:test} -x ${:rdiff-backup}
rdiff-backup = ${buildout:directory}/bin/rdiff-backup