Skip to main content

Yet, another buildout recipe for patching

Project description

yaco.recipe.patch

Detailed Documentation

Supported options

The recipe supports the following options:

patch

Path to patch

patchlocation

Location to apply patch

binary-patch

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

Example usage

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.

Contributors

“Antonio Pérez-Aranda Alcaide”, ant30

Change history

0.3.2 (2010-11-12)

  • Remove update functionality, it isn’t trivial if path has changed or disappeared

0.3.1 (2010-11-12)

  • Try to fix pypi published link

0.3 (2010-07-23)

  • Fix rst doc

0.2 (2010-07-23)

  • Patch and reverse patch on uninstall, fix doc

0.1 (2010-07-23)

  • Created recipe with ZopeSkel

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaco.recipe.patch-0.3.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page