erp5-2.12.cfg 3.91 KB
Newer Older
1 2
# XXX refactor parts shared with erp5.cfg into a common file
[buildout]
3 4 5 6
extends =
  mysql-tritonn-5.0.cfg
  python-2.6.cfg

7 8 9 10 11 12 13
parts =
  itools-build
  mysql-python
  products-other
  products-deps
  products-erp5

14 15
# ugly itools building sections until itools and setuptools learn to get
# along:
16 17

[itools]
18 19 20 21
# This part should not contain contain dependencies to other parts and should
# contain only paths relative to software_home as it will be used directly by
# instances. It should probably be moved to a .cfg file inside
# "instance-profiles"
22
pkgname = itools-0.50.8
23 24 25 26 27 28 29 30
location = ${buildout:software_home}/parts/itools
lib = ${:location}/lib
source = ${:location}/src

[itools-download]
recipe = hexagonit.recipe.download
strip-top-level-dir = true
url = http://download.hforge.org/itools/0.50/${itools:pkgname}.tar.gz
Łukasz Nowak's avatar
Łukasz Nowak committed
31
md5sum = 12704cc354e2201e0921a832bf6b1556
32
destination = ${itools:source}
33 34 35 36

[itools-build]
recipe = collective.recipe.cmd
on_install = True
37
on_update = True
38 39
# reference itools-download:destination instead of itools:source to trigger its
# execution
40
cmds =
41
    cd ${itools-download:destination}
42
    env CFLAGS="$(pkg-config glib-2.0 --cflags-only-I)" ${python2.6:executable} setup.py install_lib -d ${itools:lib}
43 44

uninstall_cmds =
45 46 47
    cd ${itools-download:destination}
    ${python2.6:executable} setup.py clean
    rm -rf ${itools:lib}
48 49

[mysql-python-env]
50
PATH =${software_definition:mysql_software}/bin:%(PATH)s
51 52 53 54 55 56 57

[mysql-python]
recipe = zc.recipe.egg:custom
egg = MySQL-python
environment = mysql-python-env
rpath =${software_definition:mysql_software}/lib/mysql/

58
[products-deps]
59 60
recipe = minitage.recipe.fetch
urls =
61
	git://git.hforge.org/Localizer.git|git|| Localizer
62 63 64 65 66
    https://svn.plone.org/svn/collective/ExtFile/trunk|svn|| ExtFile

[products]
recipe = plone.recipe.command
paths =
67
	${products-deps:location}
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
command =
  echo "Product folders: ${:paths}"
update-command = ${:command}

[eggs]
recipe = zc.recipe.egg
eggs =
  ${mysql-python:egg}
  PyXML
  SOAPpy
  cElementTree
  elementtree
  erp5diff
  ipdb
  lxml
  mechanize
  numpy
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
85
  ordereddict
86 87 88 89 90 91 92 93 94 95
  paramiko
  ply
  pysvn
  python-ldap
  python-memcached
  pytz
  simplejson
  threadframe
  timerserver
  uuid
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
96 97
  xml_marshaller
  xupdate_processor
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120

# Zope 2.12 with patched acquisition
  Zope2
  Acquisition

# Other Zope 2 packages
  Products.PluggableAuthService
  Products.PluginRegistry

# CMF 2.2
  Products.CMFActionIcons
  Products.CMFCalendar
  Products.CMFCore
  Products.CMFDefault
  Products.CMFTopic
  Products.CMFUid
  Products.DCWorkflow
  Products.GenericSetup
  five.localsitemanager

# Other products
    Products.DCWorkflowGraph
    Products.MimetypesRegistry
121
    Products.ExternalEditor
122 123
    Products.Zelenium

124 125
# Currently forked in our repository
#    Products.PortalTransforms
126 127
# Dependency for our fork of PortalTransforms
    StructuredText
128 129

extra-paths =
130
  ${itools:lib}
131 132

dependent-scripts = true
133 134 135 136 137 138 139
# XXX getting python from [buildout] for the benefit of instance recipes
# which should not attempt to compile python again
#python = python2.6

# parameterizing the version of the generated python interpreter name by the
# python section version causes dependency between this egg section and the
# installation of python, which we don't want on an instance
140 141
interpreter = python2.6
scripts =
142 143
	python=${:interpreter}
	ipython=i${:interpreter}
144

145 146 147 148 149 150 151
[precache-eggs]
# recipe to populate the egg cache during software-home build, so instances can
# run in offline mode. Hence, no scripts
recipe = zc.recipe.egg
scripts =
eggs =
  collective.recipe.supervisor
152
  collective.recipe.template
153 154
  erp5.recipe.mysqlserver
  erp5.recipe.ooodinstance
155
  erp5.recipe.standaloneinstance
156
  erp5.recipe.testrunner
157
  plone.recipe.command
158
  plone.recipe.zope2instance
159
  supervisor
160

161
[omelette]
162 163
# XXX don't use this part until this omelette bug is fixed:
# https://bugs.launchpad.net/collective.buildout/+bug/553005
164 165 166
recipe = collective.recipe.omelette
eggs = ${eggs:eggs}
packages =
167
      ${itools:lib} .
168 169
products =
    ${products:paths}