[3516] | 1 | [buildout] |
---|
| 2 | develop = . |
---|
[4789] | 3 | parts = app data zopectl i18n test waeupdocs coverage-detect coverage-report |
---|
[5332] | 4 | #find-links = http://download.zope.org/distribution/ |
---|
[5226] | 5 | #newest = false |
---|
[5058] | 6 | #extends= http://grok.zope.org/releaseinfo/grok-1.0.cfg |
---|
[5328] | 7 | extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg |
---|
| 8 | #extends = http://svn.zope.org/*checkout*/groktoolkit/trunk/grok.cfg |
---|
[3516] | 9 | versions = versions |
---|
| 10 | |
---|
[4789] | 11 | [versions] |
---|
[5058] | 12 | #zc.sourcefactory = 0.3.5 |
---|
| 13 | #zope.testing = 3.7.0 |
---|
[5074] | 14 | z3c.testsetup = 0.6.1 |
---|
[5226] | 15 | hurry.workflow = 0.10 |
---|
[5058] | 16 | #hurry.query = 0.9.2 |
---|
[4789] | 17 | zope.xmlpickle = 3.4.0 |
---|
[5058] | 18 | #hurry.yui = 2.7.0 |
---|
[5347] | 19 | hurry.zoperesource = 0.6 # Pinned to circumvent breakage in 0.4.x |
---|
[5058] | 20 | megrok.layout = 1.0.2 |
---|
[5347] | 21 | lovely.recipe = 1.0.0 # Pinned to prevent buildout svn-error. |
---|
[4789] | 22 | |
---|
[3516] | 23 | [app] |
---|
| 24 | recipe = zc.zope3recipes>=0.5.3:application |
---|
[4919] | 25 | eggs = waeup.sirp |
---|
| 26 | site.zcml = <include package="waeup.sirp" /> |
---|
[3516] | 27 | <include package="zope.app.twisted" /> |
---|
[4919] | 28 | <configure i18n_domain="waeup.sirp"> |
---|
[3516] | 29 | <unauthenticatedPrincipal id="zope.anybody" |
---|
| 30 | title="Unauthenticated User" /> |
---|
| 31 | <unauthenticatedGroup id="zope.Anybody" |
---|
| 32 | title="Unauthenticated Users" /> |
---|
| 33 | <authenticatedGroup id="zope.Authenticated" |
---|
| 34 | title="Authenticated Users" /> |
---|
| 35 | <everybodyGroup id="zope.Everybody" |
---|
| 36 | title="All Users" /> |
---|
| 37 | <principal id="zope.manager" |
---|
| 38 | title="Manager" |
---|
| 39 | login="grok" |
---|
| 40 | password_manager="Plain Text" |
---|
| 41 | password="grok" |
---|
| 42 | /> |
---|
| 43 | |
---|
[4789] | 44 | <grant permission="zope.View" |
---|
| 45 | principal="zope.Authenticated" /> |
---|
| 46 | <grant permission="zope.app.dublincore.view" |
---|
| 47 | principal="zope.Authenticated" /> |
---|
| 48 | |
---|
[3516] | 49 | <!-- Replace the following directive if you don't want |
---|
| 50 | public access --> |
---|
| 51 | <grant permission="zope.View" |
---|
| 52 | principal="zope.Anybody" /> |
---|
| 53 | <grant permission="zope.app.dublincore.view" |
---|
| 54 | principal="zope.Anybody" /> |
---|
| 55 | |
---|
[4789] | 56 | <grant permission="waeup.Public" |
---|
| 57 | principal="zope.Everybody" /> |
---|
[5433] | 58 | <grant permission="waeup.Anonymous" |
---|
| 59 | principal="zope.Anybody" /> |
---|
[4789] | 60 | |
---|
[3516] | 61 | <role id="zope.Manager" title="Site Manager" /> |
---|
| 62 | <role id="zope.Member" title="Site Member" /> |
---|
| 63 | <grantAll role="zope.Manager" /> |
---|
| 64 | <grant role="zope.Manager" |
---|
| 65 | principal="zope.manager" /> |
---|
| 66 | </configure> |
---|
| 67 | |
---|
| 68 | [data] |
---|
| 69 | recipe = zc.recipe.filestorage |
---|
| 70 | |
---|
| 71 | # this section named so that the start/stop script is called bin/zopectl |
---|
| 72 | [zopectl] |
---|
| 73 | recipe = zc.zope3recipes:instance |
---|
| 74 | application = app |
---|
| 75 | zope.conf = ${data:zconfig} |
---|
| 76 | |
---|
| 77 | [test] |
---|
| 78 | recipe = zc.recipe.testrunner |
---|
[5058] | 79 | eggs = waeup.sirp [test] |
---|
[3516] | 80 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
| 81 | |
---|
[4789] | 82 | # Collect test coverage data. |
---|
| 83 | [coverage-detect] |
---|
| 84 | recipe = zc.recipe.testrunner |
---|
[4919] | 85 | eggs = waeup.sirp |
---|
[4789] | 86 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 87 | |
---|
| 88 | # Create a coverage report. |
---|
| 89 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 90 | # first! |
---|
| 91 | [coverage-report] |
---|
| 92 | recipe = zc.recipe.egg |
---|
| 93 | eggs = z3c.coverage |
---|
[5226] | 94 | scripts = coveragereport |
---|
| 95 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|
[4789] | 96 | |
---|
| 97 | |
---|
| 98 | |
---|
[3516] | 99 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 100 | [i18n] |
---|
| 101 | recipe = lovely.recipe:i18n |
---|
[4919] | 102 | package = waeup.sirp |
---|
| 103 | domain = waeup.sirp |
---|
| 104 | location = src/waeup/sirp |
---|
[3516] | 105 | output = locales |
---|
[4789] | 106 | |
---|
| 107 | [waeupdocs] |
---|
[5332] | 108 | recipe = collective.recipe.sphinxbuilder |
---|
| 109 | eggs = waeup.sirp |
---|
| 110 | source = ${buildout:directory}/docs/source |
---|
| 111 | build = ${buildout:directory}/docs/build |
---|