Recipe for compiling and installing software

The recipe provides the means to compile and install source distributions using configure and make and other similar tools. It is inspired by the hexagonit.recipe.cmmi recipe but provides more control over the build process.

Use python 2.7 to run test, at least python 2.6 results in some failures in the tests.py:

TypeError: failUnlessRaises() takes at least 3 arguments (2 given)

First, we make test environments:

cd slapos.recipe.cmmi
wget http://downloads.buildout.org/2/bootstrap.py
wget http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py

cat <<EOF > buildout.cfg
develop = .
parts = test
prefix = /tmp/test

recipe = zc.recipe.testrunner
eggs =

python -S bootstrap.py --version 1.7.0

It will generate script bin/test, run it to do all the testcases:


After source changed, run buildout to update eggs again:

bin/buildout -v -N

Build dist/slapos.recipe.cmmi-0.2-py2.7.egg

bin/buildout setup setup.py bdist_egg

Build source package dist/slapos.recipe.cmmi-0.2.tar.gz

python setup.py sdist

Repository: http://git.erp5.org/gitweb/slapos.recipe.cmmi.git

Clone URL: git clone http://git.erp5.org/repos/slapos.recipe.cmmi.git

Issue tracker: None

Supported Python versions: 2.6, 2.7, 3.2, 3.3

Supported zc.buildout versions: 1.x, 2.x

Travis build: travis