[3516] | 1 | [buildout] |
---|
| 2 | develop = . |
---|
[5495] | 3 | parts = |
---|
| 4 | eggbasket |
---|
| 5 | app |
---|
| 6 | i18n |
---|
| 7 | test |
---|
| 8 | mkdirs |
---|
| 9 | zpasswd |
---|
| 10 | zope_conf |
---|
| 11 | site_zcml |
---|
| 12 | zdaemon_conf |
---|
| 13 | deploy_ini |
---|
| 14 | debug_ini |
---|
| 15 | waeupdocs |
---|
| 16 | coverage-detect |
---|
| 17 | coverage-report |
---|
[5503] | 18 | # sirpctl creation must be _after_ app! |
---|
| 19 | sirpctl |
---|
[5495] | 20 | # For backward compatibility, telling buildout not to throw away |
---|
| 21 | # the data and log subdirectories from the parts directory. |
---|
| 22 | data |
---|
| 23 | log |
---|
| 24 | newest = false |
---|
| 25 | |
---|
| 26 | #extends = versions.cfg |
---|
[5328] | 27 | extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg |
---|
[5495] | 28 | # eggs will be installed in the default buildout location |
---|
| 29 | # (see .buildout/default.cfg in your home directory) |
---|
| 30 | # unless you specify an eggs-directory option here. |
---|
| 31 | |
---|
[3516] | 32 | versions = versions |
---|
| 33 | |
---|
[4789] | 34 | [versions] |
---|
[5058] | 35 | #zc.sourcefactory = 0.3.5 |
---|
| 36 | #zope.testing = 3.7.0 |
---|
[5074] | 37 | z3c.testsetup = 0.6.1 |
---|
[5226] | 38 | hurry.workflow = 0.10 |
---|
[5058] | 39 | #hurry.query = 0.9.2 |
---|
[4789] | 40 | zope.xmlpickle = 3.4.0 |
---|
[5058] | 41 | #hurry.yui = 2.7.0 |
---|
[5347] | 42 | hurry.zoperesource = 0.6 # Pinned to circumvent breakage in 0.4.x |
---|
[5058] | 43 | megrok.layout = 1.0.2 |
---|
[5347] | 44 | lovely.recipe = 1.0.0 # Pinned to prevent buildout svn-error. |
---|
[5633] | 45 | collective.recipe.sphinxbuilder = 0.7.0 |
---|
| 46 | # Require lates version... |
---|
| 47 | Sphinx = |
---|
[4789] | 48 | |
---|
[3516] | 49 | [app] |
---|
[5503] | 50 | # This creates all scripts in bin/. The sirpctl created here is 'faulty'. |
---|
[5495] | 51 | recipe = zc.recipe.egg |
---|
[4919] | 52 | eggs = waeup.sirp |
---|
[5495] | 53 | z3c.evalexception>=2.0 |
---|
| 54 | Paste |
---|
| 55 | PasteScript |
---|
| 56 | PasteDeploy |
---|
| 57 | interpreter = python-console |
---|
[3516] | 58 | |
---|
[5503] | 59 | [sirpctl] |
---|
| 60 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
| 61 | # Here we create the sirpctl script again, this time with a |
---|
| 62 | # fixed path to zdaemon.conf as argument. |
---|
| 63 | recipe = zc.recipe.egg |
---|
| 64 | eggs = waeup.sirp |
---|
| 65 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
| 66 | scripts = sirpctl=sirpctl |
---|
| 67 | |
---|
[5495] | 68 | [mkdirs] |
---|
| 69 | recipe = z3c.recipe.mkdir |
---|
| 70 | paths = |
---|
| 71 | ${zope_conf:filestorage} |
---|
| 72 | ${zope_conf:logfiles} |
---|
| 73 | ${zope_conf:blobstorage} |
---|
[4789] | 74 | |
---|
[5495] | 75 | [test] |
---|
| 76 | recipe = zc.recipe.testrunner |
---|
| 77 | eggs = waeup.sirp |
---|
| 78 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 79 | |
---|
[5495] | 80 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 81 | [i18n] |
---|
| 82 | recipe = z3c.recipe.i18n:i18n |
---|
| 83 | packages = waeup.sirp |
---|
| 84 | eggs = waeup.sirp |
---|
| 85 | domain = waeup.sirp |
---|
| 86 | output = src/waeup/sirp/locales |
---|
| 87 | zcml = |
---|
[4789] | 88 | |
---|
[5495] | 89 | # This section is named so that the zpasswd utility is |
---|
| 90 | # called `zpasswd` |
---|
| 91 | [zpasswd] |
---|
| 92 | recipe = z3c.recipe.dev:script |
---|
| 93 | eggs = waeup.sirp |
---|
| 94 | module = zope.app.server.zpasswd |
---|
| 95 | method = main |
---|
[3516] | 96 | |
---|
[5495] | 97 | [zope_conf] |
---|
| 98 | recipe = collective.recipe.template |
---|
| 99 | input = etc/zope.conf.in |
---|
| 100 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 101 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 102 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 103 | logfiles = ${buildout:directory}/var/log |
---|
| 104 | extra = |
---|
| 105 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 106 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 107 | |
---|
| 108 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 109 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 110 | # that contain the Data.fs and the log files. These files should be |
---|
| 111 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 112 | [data] |
---|
| 113 | recipe = zc.recipe.filestorage |
---|
| 114 | |
---|
[5495] | 115 | [log] |
---|
| 116 | recipe = zc.recipe.filestorage |
---|
[3516] | 117 | |
---|
[5495] | 118 | [site_zcml] |
---|
| 119 | recipe = collective.recipe.template |
---|
| 120 | input = etc/site.zcml.in |
---|
| 121 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 122 | |
---|
[5495] | 123 | [zdaemon_conf] |
---|
| 124 | recipe = collective.recipe.template |
---|
| 125 | input = etc/zdaemon.conf.in |
---|
| 126 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 127 | |
---|
| 128 | [deploy_ini] |
---|
| 129 | recipe = collective.recipe.template |
---|
| 130 | input = etc/deploy.ini.in |
---|
| 131 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 132 | |
---|
| 133 | [debug_ini] |
---|
| 134 | recipe = collective.recipe.template |
---|
| 135 | input = etc/debug.ini.in |
---|
| 136 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 137 | |
---|
| 138 | [eggbasket] |
---|
| 139 | recipe = z3c.recipe.eggbasket |
---|
| 140 | eggs = grok |
---|
| 141 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 142 | |
---|
| 143 | [waeupdocs] |
---|
| 144 | recipe = collective.recipe.sphinxbuilder |
---|
[5634] | 145 | eggs = waeup.sirp[docs] |
---|
[5495] | 146 | source = ${buildout:directory}/docs/source |
---|
| 147 | build = ${buildout:directory}/docs/build |
---|
| 148 | |
---|
[4789] | 149 | # Collect test coverage data. |
---|
| 150 | [coverage-detect] |
---|
| 151 | recipe = zc.recipe.testrunner |
---|
[4919] | 152 | eggs = waeup.sirp |
---|
[4789] | 153 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 154 | |
---|
| 155 | # Create a coverage report. |
---|
| 156 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 157 | # first! |
---|
| 158 | [coverage-report] |
---|
| 159 | recipe = zc.recipe.egg |
---|
| 160 | eggs = z3c.coverage |
---|
[5226] | 161 | scripts = coveragereport |
---|
| 162 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|