[buildout]
extends= https://raw.github.com/collective/buildout.plonetest/master/qa.cfg
package-extras = [test]
package-name = collective.ckeditor
package-src = src/collective/ckeditor
develop = .
auto-checkout=
    collective.plonefinder
    collective.quickupload
package-min-coverage = 80


base-parts=
    zopepy
    test
    test-scripts
    createcoverage
    coverage-sh
    copy_ckeditor_code
    ckeditor
parts=
    ${buildout:base-parts}
    omelette
    release
    tools
extensions =
    mr.developer
    buildout.dumppickedversions
common-eggs =
    Plone
    Pillow
    ipython
    bpython
test-eggs =
    ${buildout:package-name} ${buildout:package-extras}

[copy_ckeditor_code]
recipe=zc.recipe.egg
eggs = collective.ckeditor

[ckeditor]
recipe = plone.recipe.command
update-command = ${ckeditor:command}
command =
    ${buildout:directory}/bin/copy_ckeditor_code --force

[remotes]
# Plone
plone = git://github.com/plone
plone_push = git@github.com:plone
svn_plone = https://svn.plone.org/svn/plone
#svn_plone = http://svn.plone.org/svn/plone

# Collective
collective = git://github.com/collective
collective_push = git@github.com:collective
svn_collective = https://svn.plone.org/svn/collective
#svn_collective = http://svn.plone.org/svn/collective

# Zope
zope = http://svn.zope.org/repos/main
#zope = svn+ssh://svn.zope.org/repos/main
zopegit = git://github.com/zopefoundation

[sources]
collective.plonefinder = git git://github.com/collective/collective.plonefinder.git
collective.quickupload = git git://github.com/collective/collective.quickupload.git
zopeskel=svn https://svn.plone.org/svn/collective/ZopeSkel/trunk
experimental.catalogqueryplan = svn https://svn.plone.org/svn/collective/experimental.catalogqueryplan/trunk
Products.MemoryProfiler = svn https://svn.plone.org/svn/collective/Products.MemoryProfiler/trunk
Products.Gloworm = git https://github.com/kiorky/Products.Gloworm.git
templer.core                = git ${remotes:collective}/templer.core.git pushurl=${remotes:collective_push}/templer.core.git
templer.buildout            = git ${remotes:collective}/templer.buildout.git pushurl=${remotes:collective_push}/templer.buildout.git
templer.zope                = git ${remotes:collective}/templer.zope.git pushurl=${remotes:collective_push}/templer.zope.git
templer.plone               = git ${remotes:collective}/templer.plone.git pushurl=${remotes:collective_push}/templer.plone.git
templer.dexterity           = git ${remotes:collective}/templer.dexterity.git pushurl=${remotes:collective_push}/templer.dexterity.git
templer.plonebuildout       = git ${remotes:collective}/templer.plonebuildout.git pushurl=${remotes:collective_push}/templer.plonebuildout.git
templer.silva               = git ${remotes:collective}/templer.silva.git pushurl=${remotes:collective_push}/templer.silva.git
templer.localcommands       = git ${remotes:collective}/templer.localcommands.git pushurl=${remotes:collective_push}/templer.localcommands.git
templer.plone.localcommands = git ${remotes:collective}/templer.plone.localcommands.git pushurl=${remotes:collective_push}/templer.plone.localcommands.git
templer.plonecore           = svn https://svn.plone.org/svn/collective/templer.plonecore/trunk

[instance]
http-address = localhost:8081
eggs =
    ${buildout:common-eggs}
    ${buildout:package-name}
extra-paths =

[release]
recipe=zc.recipe.egg
eggs = ${zopepy:eggs}
    collective.dist
    zest.releaser
    zest.pocompile
scripts =
    fullrelease
    postrelease
    lasttagdiff
    prerelease
    release
    longtest
    rst2html.py
    rst2latex.py
    rst2newlatex.py
    rst2pseudoxml.py
    rst2s5.py
    rst2xml.py
    rstpep2html.py

[zopepy]
recipe=zc.recipe.egg
eggs = ${instance:eggs}
extra-paths = ${instance:extra-paths}
interpreter = zopepy
scripts =

[test]
recipe = zc.recipe.testrunner
defaults = ['-v', '-s', '${buildout:package-name}']
eggs =
    ${buildout:common-eggs}
    ${buildout:test-eggs}

[test-scripts]
<=zopepy
interpreter=zopepy.test
env-file=test.env
eggs=
    ${buildout:test-eggs}
    ${zopepy:eggs}

[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
#packages = ./

[versions]

[tools]
recipe=zc.recipe.egg
eggs=
    i18ndude
    babel
    sphinx
    zopeskel
    toutpt.zopeskel
    templer.dexterity
    templer.buildout
    templer.plone
    templer.plone.localcommands
    templer.zope
scripts=
    i18ndude
    pybabel
    templer
    paster

[code-analysis]
directory = src/collective/ckeditor
flake8-max-complexity = 17

[versions]
# never ever pin paste and other eggs
Paste =
PasteDeploy =
PasteScript =
ZopeSkel =
distribute =
plone.app.robotframework = 0.9.10
robotsuite = 1.7.0
robotframework = 2.9
robotframework-selenium2library = 1.7.2
selenium = 2.47.0
Pygments = 2.0.2
six = 1.9.0
# necessary for running tests for Plone 4.1 and 4.2
collective.recipe.template = 1.11
plone.recipe.codeanalysis = 2.0
