Skip to main content

Yet, another buildout recipe for patching

Project description

.. contents::

.. Note to recipe author!

- Code repository: git://
- Report bugs at

Detailed Documentation

Supported options

The recipe supports the following options:

Path to patch

Location to apply patch

Location of patch binary. Use patch in $PATH by default if any is specified.

Example usage

.. Note to recipe author!
zc.buildout provides a nice testing environment which makes it
relatively easy to write doctests that both demonstrate the use of
the recipe and test it.
You can find examples of recipe doctests from the PyPI, e.g.

The PyPI page for zc.buildout contains documentation about the test

Below is a skeleton doctest that you can start with when building
your own tests.

We'll start by creating a buildout that uses the recipe::

>>> write('buildout.cfg',
... """
... [buildout]
... parts = testpatch
... [testpatch]
... recipe = yaco.recipe.patch
... patch = %(patch)s
... patchlocation = %(patchlocation)s
... """ % { 'patch' : 'patch/example-test.patch', 'example/' : 'value2'})

Running the buildout gives us::

>>> print 'start', system(buildout)
Installing testpatch.


"", Author

Change history

0.1 (2010-07-23)

- Created recipe with ZopeSkel


Project details

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page