[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 |
---|
| 19 | #hurry.zoperesource = 0.4 |
---|
| 20 | megrok.layout = 1.0.2 |
---|
[5328] | 21 | hurry.resource = 0.4.1 # We need to pin this as hurry.resource 0.9 |
---|
| 22 | # requires extra packages (WebOb) we don't |
---|
| 23 | # like to depend on now. |
---|
[4789] | 24 | |
---|
| 25 | |
---|
[3516] | 26 | [app] |
---|
| 27 | recipe = zc.zope3recipes>=0.5.3:application |
---|
[4919] | 28 | eggs = waeup.sirp |
---|
| 29 | site.zcml = <include package="waeup.sirp" /> |
---|
[3516] | 30 | <include package="zope.app.twisted" /> |
---|
[4919] | 31 | <configure i18n_domain="waeup.sirp"> |
---|
[3516] | 32 | <unauthenticatedPrincipal id="zope.anybody" |
---|
| 33 | title="Unauthenticated User" /> |
---|
| 34 | <unauthenticatedGroup id="zope.Anybody" |
---|
| 35 | title="Unauthenticated Users" /> |
---|
| 36 | <authenticatedGroup id="zope.Authenticated" |
---|
| 37 | title="Authenticated Users" /> |
---|
| 38 | <everybodyGroup id="zope.Everybody" |
---|
| 39 | title="All Users" /> |
---|
| 40 | <principal id="zope.manager" |
---|
| 41 | title="Manager" |
---|
| 42 | login="grok" |
---|
| 43 | password_manager="Plain Text" |
---|
| 44 | password="grok" |
---|
| 45 | /> |
---|
| 46 | |
---|
[4789] | 47 | <grant permission="zope.View" |
---|
| 48 | principal="zope.Authenticated" /> |
---|
| 49 | <grant permission="zope.app.dublincore.view" |
---|
| 50 | principal="zope.Authenticated" /> |
---|
| 51 | |
---|
[3516] | 52 | <!-- Replace the following directive if you don't want |
---|
| 53 | public access --> |
---|
| 54 | <grant permission="zope.View" |
---|
| 55 | principal="zope.Anybody" /> |
---|
| 56 | <grant permission="zope.app.dublincore.view" |
---|
| 57 | principal="zope.Anybody" /> |
---|
| 58 | |
---|
[4789] | 59 | <grant permission="waeup.Public" |
---|
| 60 | principal="zope.Everybody" /> |
---|
| 61 | |
---|
[3516] | 62 | <role id="zope.Manager" title="Site Manager" /> |
---|
| 63 | <role id="zope.Member" title="Site Member" /> |
---|
| 64 | <grantAll role="zope.Manager" /> |
---|
| 65 | <grant role="zope.Manager" |
---|
| 66 | principal="zope.manager" /> |
---|
| 67 | </configure> |
---|
| 68 | |
---|
| 69 | [data] |
---|
| 70 | recipe = zc.recipe.filestorage |
---|
| 71 | |
---|
| 72 | # this section named so that the start/stop script is called bin/zopectl |
---|
| 73 | [zopectl] |
---|
| 74 | recipe = zc.zope3recipes:instance |
---|
| 75 | application = app |
---|
| 76 | zope.conf = ${data:zconfig} |
---|
| 77 | |
---|
| 78 | [test] |
---|
| 79 | recipe = zc.recipe.testrunner |
---|
[5058] | 80 | eggs = waeup.sirp [test] |
---|
[3516] | 81 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
| 82 | |
---|
[4789] | 83 | # Collect test coverage data. |
---|
| 84 | [coverage-detect] |
---|
| 85 | recipe = zc.recipe.testrunner |
---|
[4919] | 86 | eggs = waeup.sirp |
---|
[4789] | 87 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 88 | |
---|
| 89 | # Create a coverage report. |
---|
| 90 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 91 | # first! |
---|
| 92 | [coverage-report] |
---|
| 93 | recipe = zc.recipe.egg |
---|
| 94 | eggs = z3c.coverage |
---|
[5226] | 95 | scripts = coveragereport |
---|
| 96 | arguments = ('${buildout:parts-directory}/coverage-detect/coverage', '${buildout:directory}/coverage-report') |
---|
[4789] | 97 | |
---|
| 98 | |
---|
| 99 | |
---|
[3516] | 100 | # this section named so that the i18n scripts are called bin/i18n... |
---|
| 101 | [i18n] |
---|
| 102 | recipe = lovely.recipe:i18n |
---|
[4919] | 103 | package = waeup.sirp |
---|
| 104 | domain = waeup.sirp |
---|
| 105 | location = src/waeup/sirp |
---|
[3516] | 106 | output = locales |
---|
[4789] | 107 | |
---|
| 108 | [waeupdocs] |
---|
[5332] | 109 | recipe = collective.recipe.sphinxbuilder |
---|
| 110 | eggs = waeup.sirp |
---|
| 111 | source = ${buildout:directory}/docs/source |
---|
| 112 | build = ${buildout:directory}/docs/build |
---|