[Checkins] SVN: zc.recipe.cmmi/trunk/zc/recipe/cmmi/ Finished tests.

Jim Fulton jim at zope.com
Wed Nov 22 06:33:23 EST 2006


Log message for revision 71261:
  Finished tests.
  

Changed:
  U   zc.recipe.cmmi/trunk/zc/recipe/cmmi/README.txt
  U   zc.recipe.cmmi/trunk/zc/recipe/cmmi/tests.py

-=-
Modified: zc.recipe.cmmi/trunk/zc/recipe/cmmi/README.txt
===================================================================
--- zc.recipe.cmmi/trunk/zc/recipe/cmmi/README.txt	2006-11-22 09:07:08 UTC (rev 71260)
+++ zc.recipe.cmmi/trunk/zc/recipe/cmmi/README.txt	2006-11-22 11:33:21 UTC (rev 71261)
@@ -43,3 +43,40 @@
     >>> print system('bin/buildout'),
     buildout: Updating foo
 
+You can supply extra configure options:
+
+    >>> write('buildout.cfg',
+    ... """
+    ... [buildout]
+    ... parts = foo
+    ...
+    ... [foo]
+    ... recipe = zc.recipe.cmmi
+    ... url = file://%s/foo.tgz
+    ... extra_options = -a -b c
+    ... """ % distros)
+
+    >>> print system('bin/buildout'),
+    buildout: Uninstalling foo
+    buildout: Installing foo
+    configuring foo --prefix=/sample-buildout/parts/foo -a -b c
+    echo building foo
+    building foo
+    echo installing foo
+    installing foo
+
+The recipe sets the location option, which can be read by other
+recipes, to the location where the part is installed:
+
+    >>> cat('.installed.cfg')
+    ... # doctest: +ELLIPSIS
+    [buildout]
+    installed_develop_eggs = 
+    parts = foo
+    <BLANKLINE>
+    [foo]
+    __buildout_installed__ = /sample-buildout/parts/foo
+    ...
+    extra_options = -a -b c
+    location = /sample-buildout/parts/foo
+    ...

Modified: zc.recipe.cmmi/trunk/zc/recipe/cmmi/tests.py
===================================================================
--- zc.recipe.cmmi/trunk/zc/recipe/cmmi/tests.py	2006-11-22 09:07:08 UTC (rev 71260)
+++ zc.recipe.cmmi/trunk/zc/recipe/cmmi/tests.py	2006-11-22 11:33:21 UTC (rev 71261)
@@ -64,9 +64,8 @@
             checker=renormalizing.RENormalizing([
                 (re.compile('--prefix=\S+sample-buildout'),
                  '--prefix=/sample_buildout'),
-#               zc.buildout.testing.normalize_path,
-#               zc.buildout.testing.normalize_script,
-#               zc.buildout.testing.normalize_egg_py,        
+                (re.compile(' = \S+sample-buildout'),
+                 ' = /sample_buildout'),
                ])
             ),
         



More information about the Checkins mailing list