Release slapos.recipe.build-0.1

parent 3a48320e
0.1 (unreleased)
0.1 (2011-08-26)
================
* No changes yet.
* Add copyTree method to recursively copy [Cedric de Saint Martin]
* add guessPlatform function to guess architecture in case of
multi-architecture installation
\ No newline at end of file
......@@ -73,6 +73,18 @@ Example buildout::
execute('make install DEST=%(location)s')
slapos_promisee =
...
[multiarchitecture]
recipe = slapos.recipe.build
slapos_promisee =
...
x86 = http://host/path/x86.zip
x86-64 = http://host/path/x64.zip
script =
if not self.options.get('url'): self.options['url'], self.options['md5sum'] = self.options[guessPlatform()].split(' ')
extract_dir = self.extract(self.download(self.options['url'], self.options.get('md5sum')))
workdir = guessworkdir(extract_dir)
self.copyTree(workdir, "%(location)s")
TODO:
......
from setuptools import setup, find_packages
version = '0.1-dev'
version = '0.1'
name = 'slapos.recipe.build'
long_description = open("README.txt").read() + "\n" + \
open("CHANGES.txt").read() + "\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment