Skip to main content

Yet, another buildout recipe for patching

Project description

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

Project details


Download files

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

Files for yaco.recipe.patch, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size yaco.recipe.patch-0.3.2.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

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 NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page