[Checkins] SVN: zc.recipe.cmmi/trunk/ initial mods (in progress)

Jim Fulton jim at zope.com
Mon Aug 7 17:02:51 EDT 2006


Log message for revision 69370:
  initial mods (in progress)

Changed:
  U   zc.recipe.cmmi/trunk/README.txt
  D   zc.recipe.cmmi/trunk/setup.cfg
  U   zc.recipe.cmmi/trunk/setup.py
  A   zc.recipe.cmmi/trunk/zc/recipe/cmmi/
  D   zc.recipe.cmmi/trunk/zc/recipe/filestorage/

-=-
Modified: zc.recipe.cmmi/trunk/README.txt
===================================================================
--- zc.recipe.cmmi/trunk/README.txt	2006-08-07 20:54:51 UTC (rev 69369)
+++ zc.recipe.cmmi/trunk/README.txt	2006-08-07 21:02:51 UTC (rev 69370)
@@ -1,75 +1,7 @@
-Recipe for setting up a filestorage
-===================================
+Recipe installing a download via configure/make/make install
+============================================================
 
-This recipe can be used to define a file-storage.  It creates 
-a ZConfig file-storage database specification that can be used
-by other recipes to generate ZConfig configuration files. 
+This recipe currently has a single option:
 
-This recipe takes an optional path option.  If none is given, 
-it creates and uses a subdirectory of the buildout parts directory
-with the same name as the part.
-
-The recipe records a zconfig option for use by other recipes.
-
-We'll show a couple of examples, using a dictionary as a simulated 
-buildout object:
-
-    >>> import zc.recipe.filestorage
-    >>> buildout = dict(
-    ...   buildout = {
-    ...      'directory': '/buildout',
-    ...      },
-    ...   db = {
-    ...      'path': 'foo/Main.fs',
-    ...      },
-    ...   )
-    >>> recipe = zc.recipe.filestorage.Recipe(
-    ...                   buildout, 'db', buildout['db'])
-    
-    >>> print buildout['db']['path']
-    /buildout/foo/Main.fs
-
-    >>> print buildout['db']['zconfig'],
-    <zodb>
-      <filestorage>
-        path /buildout/foo/Main.fs
-      </filestorage>
-    </zodb>
-
-    >>> recipe.install()
-
-    >>> import tempfile
-    >>> d = tempfile.mkdtemp()
-    >>> buildout = dict(
-    ...   buildout = {
-    ...      'parts-directory': d,
-    ...      },
-    ...   db = {},
-    ...   )
-
-    >>> recipe = zc.recipe.filestorage.Recipe(
-    ...                   buildout, 'db', buildout['db'])
-    
-    >>> print buildout['db']['path']
-    /tmp/tmpQo0DTB/db/Data.fs
-
-    >>> print buildout['db']['zconfig'],
-    <zodb>
-      <filestorage>
-        path /tmp/tmpQo0DTB/db/Data.fs
-      </filestorage>
-    </zodb>
-    
-    >>> recipe.install()
-    
-    >>> import os
-    >>> os.listdir(d)
-    ['db']
-
-To do
------
-
-- Add support for various file-storage options
-
-- Create a ZODB-configuration recipe that is meant to be a base class
-  for storage recipes and provides database-configuration options.
+url 
+  The URL to download the source from.

Deleted: zc.recipe.cmmi/trunk/setup.cfg
===================================================================
--- zc.recipe.cmmi/trunk/setup.cfg	2006-08-07 20:54:51 UTC (rev 69369)
+++ zc.recipe.cmmi/trunk/setup.cfg	2006-08-07 21:02:51 UTC (rev 69370)
@@ -1,3 +0,0 @@
-[egg_info]
-tag_build = .dev
-tag_svn_revision = 1

Modified: zc.recipe.cmmi/trunk/setup.py
===================================================================
--- zc.recipe.cmmi/trunk/setup.py	2006-08-07 20:54:51 UTC (rev 69369)
+++ zc.recipe.cmmi/trunk/setup.py	2006-08-07 21:02:51 UTC (rev 69370)
@@ -1,12 +1,12 @@
 from setuptools import setup, find_packages
 
-name = "zc.recipe.filestorage"
+name = "zc.recipe.cmmi"
 setup(
     name = name,
     version = "1.0",
     author = "Jim Fulton",
     author_email = "jim at zope.com",
-    description = "ZC Buildout recipe for defining a file-storage",
+    description = "ZC Buildout recipe for configure/make/make install",
     long_description = open('README.txt').read(),
     license = "ZPL 2.1",
     keywords = "zope3",

Copied: zc.recipe.cmmi/trunk/zc/recipe/cmmi (from rev 69369, zc.recipe.cmmi/trunk/zc/recipe/filestorage)



More information about the Checkins mailing list