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