[Checkins] SVN: zc.buildout/trunk/zc.recipe.egg_/ Bugfix for the change introduced in zc.recipe.egg 1.3.1.

Gary Poster gary.poster at canonical.com
Mon Aug 23 16:26:07 EDT 2010


Log message for revision 115900:
  Bugfix for the change introduced in zc.recipe.egg 1.3.1.

Changed:
  U   zc.buildout/trunk/zc.recipe.egg_/CHANGES.txt
  U   zc.buildout/trunk/zc.recipe.egg_/setup.py
  U   zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/egg.py
  U   zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/tests.py

-=-
Modified: zc.buildout/trunk/zc.recipe.egg_/CHANGES.txt
===================================================================
--- zc.buildout/trunk/zc.recipe.egg_/CHANGES.txt	2010-08-23 19:35:23 UTC (rev 115899)
+++ zc.buildout/trunk/zc.recipe.egg_/CHANGES.txt	2010-08-23 20:26:07 UTC (rev 115900)
@@ -1,10 +1,10 @@
 Change History
 **************
 
-1.3.2 (unreleased)
+1.3.2 (2010-08-23)
 ==================
 
-(No changes yet.)
+- Bugfix for the change introduced in 1.3.1.
 
 1.3.1 (2010-08-23)
 ==================

Modified: zc.buildout/trunk/zc.recipe.egg_/setup.py
===================================================================
--- zc.buildout/trunk/zc.recipe.egg_/setup.py	2010-08-23 19:35:23 UTC (rev 115899)
+++ zc.buildout/trunk/zc.recipe.egg_/setup.py	2010-08-23 20:26:07 UTC (rev 115900)
@@ -14,7 +14,7 @@
 """Setup for zc.recipe.egg package
 """
 
-version = '1.3.2dev'
+version = '1.3.2'
 
 import os
 from setuptools import setup, find_packages

Modified: zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/egg.py
===================================================================
--- zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/egg.py	2010-08-23 19:35:23 UTC (rev 115899)
+++ zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/egg.py	2010-08-23 20:26:07 UTC (rev 115900)
@@ -200,6 +200,9 @@
 
 class _BackwardsSupportOption(UserDict.UserDict):
 
+    def __init__(self, data):
+        self.data = data # We want to show mutations to the underlying dict.
+
     def query_bool(self, name, default=None):
         """Given a name, return a boolean value for that name.
 

Modified: zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/tests.py
===================================================================
--- zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/tests.py	2010-08-23 19:35:23 UTC (rev 115899)
+++ zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/tests.py	2010-08-23 20:26:07 UTC (rev 115900)
@@ -41,11 +41,10 @@
 
     >>> import zc.buildout.buildout
     >>> import zc.recipe.egg
-    >>> faux_egg_options = {
-    ...     'find-links': 'example.com',
-    ...     'bin-directory': '/somewhere/over/rainbow'}
+    >>> faux_egg_options = {'find-links': 'example.com'}
     >>> faux_buildout_options = zc.buildout.buildout._unannotate_section(
     ...     zc.buildout.buildout._buildout_default_options.copy())
+    >>> faux_buildout_options['bin-directory'] = '/somewhere/over/rainbow'
     >>> faux_buildout = {
     ...     'faux': faux_egg_options, 'buildout': faux_buildout_options}
     >>> scripts = zc.recipe.egg.Scripts(



More information about the checkins mailing list