Skip to content

Commit

Permalink
Cleanup buildout: Remove sources.cfg, versions.cfg, test.cfg, test-43…
Browse files Browse the repository at this point in the history
….cfg and test.cfg. Since this package is merged, it doesn't make much sense to maintain separate version and sources files to extend from. Tests and development environment is built in the buildout.cfg and buildout-43.cfg files. Remove bootstrap.py - use virtualenv .; ./bin/pip install zc.buildout instead.
  • Loading branch information
thet committed Nov 23, 2015
1 parent b613db6 commit 789ff00
Show file tree
Hide file tree
Showing 11 changed files with 245 additions and 383 deletions.
10 changes: 9 additions & 1 deletion CHANGES.rst
Expand Up @@ -16,7 +16,15 @@ Fixes:
Remove the unnecessary ``plone50`` setup.py extra section. Fix
plone.app.event to also work with plone.app.z3cform versions below < 1.0.
[thet]


- Cleanup buildout: Remove sources.cfg, versions.cfg, test.cfg, test-43.cfg and
test.cfg. Since this package is merged, it doesn't make much sense to
maintain separate version and sources files to extend from. Tests and
development environment is built in the buildout.cfg and buildout-43.cfg
files. Remove bootstrap.py - use ``virtualenv .; ./bin/pip install
zc.buildout`` instead.
[thet]


2.0.4 (2015-10-28)
------------------
Expand Down
16 changes: 16 additions & 0 deletions README.rst
Expand Up @@ -6,3 +6,19 @@ Plone.app.event is the calendaring framework for Plone. It provides Dexterity be
For a Dexterity event type using plone.app.event, use plone.app.contenttypes 1.1 or newer.

The complete documentation can be found on: https://ploneappevent.readthedocs.org


Installation
------------

For Standalone installation follow the standard buildout procedure::

$ virtualenv .
$ ./bin/pip install -U zc.buildout setuptools pip
$ ./bin/buildout

For Plone 4.3 do::

$ ./bin/buildout -c buildout-43.cfg

Note, both commands will install a test and development environment.
178 changes: 0 additions & 178 deletions bootstrap.py

This file was deleted.

120 changes: 111 additions & 9 deletions buildout-43.cfg
Expand Up @@ -3,19 +3,36 @@ extends =
https://raw.githubusercontent.com/plone/buildout.coredev/4.3/versions.cfg
https://raw.githubusercontent.com/plone/buildout.coredev/4.3/sources.cfg
https://raw.githubusercontent.com/plone/buildout.coredev/4.3/checkouts.cfg
versions.cfg
sources.cfg
parts = instance

versions = versions
sources-dir = ${buildout:directory}/devsrc
parts =
instance
# DEV
i18ndude
omelette
zopepy
sphinx
checkversions
# TESTING
test
coverage-test
coverage-report
robot

auto-checkout +=
Products.DateRecurringIndex
icalendar
jquery.recurrenceinput.js
plone.event
plone.formwidget.recurrence

extensions += mr.developer
sources-dir = ${buildout:directory}/devsrc
develop = .
versions = versions

# One of: CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET
log-level = INFO

[sources]
# Looks like, `develop = .` doesn't work well with mr.developer. So we checkout
# plone.app.event to the buildout directory path.
plone.app.event = git git@github.com:plone/plone.app.event.git branch=master full-path=${buildout:directory}

[instance]
recipe = plone.recipe.zope2instance
Expand All @@ -25,3 +42,88 @@ eggs =
Plone
Pillow
plone.app.event
# DEVELOPMENT
plone.reload
plone.app.debugtoolbar


# DEVELOPMENT

[sources]
Products.DateRecurringIndex = git git@github.com:collective/Products.DateRecurringIndex.git
icalendar = git git@github.com:collective/icalendar.git
jquery.recurrenceinput.js = git git@github.com:collective/jquery.recurrenceinput.js.git egg=false
plone.event = git git@github.com:plone/plone.event.git
plone.formwidget.recurrence = git git@github.com:plone/plone.formwidget.recurrence.git branch=1.x

[i18ndude]
unzip = true
recipe = zc.recipe.egg
eggs = i18ndude

[omelette]
recipe = collective.recipe.omelette
eggs =
${instance:eggs}
${test:eggs}
${robot:eggs}

[zopepy]
recipe = zc.recipe.egg
eggs =
${instance:eggs}
${test:eggs}
${robot:eggs}
interpreter = zopepy
scripts = zopepy

[sphinx]
recipe = collective.recipe.sphinxbuilder
source = ${buildout:directory}/docs
interpreter = ${buildout:directory}/bin/zopepy

[checkversions]
recipe=zc.recipe.egg
eggs=z3c.checkversions [buildout]


# TESTING

[environment]
BUILDOUT_DIR = ${buildout:directory}
zope_i18n_compile_mo_files = true

[test]
recipe = zc.recipe.testrunner
defaults = ['--auto-color', '--auto-progress']
eggs =
Products.DateRecurringIndex [test]
icalendar [test]
plone.app.event [test]
plone.event [test]
plone.formwidget.recurrence [test]
environment = environment

[coverage-test]
recipe = zc.recipe.testrunner
eggs = ${test:eggs}
defaults = ['--coverage', '../../coverage', '-v', '--auto-progress']

[coverage-report]
recipe = zc.recipe.egg
eggs = z3c.coverage
scripts = coveragereport
arguments = ('coverage', 'report')

[robot]
recipe = zc.recipe.egg
eggs =
${instance:eggs}
plone.app.robotframework [debug]


# ALL

[versions]
setuptools =
zc.buildout =

0 comments on commit 789ff00

Please sign in to comment.