[Checkins] SVN: zope.app.zptpage/trunk/ Use zope.site instead of zope.app.folder, add missing dependency.

Sylvain Viollon sylvain at infrae.com
Fri Jan 30 11:11:18 EST 2009


Log message for revision 95580:
  Use zope.site instead of zope.app.folder, add missing dependency.
  
  

Changed:
  U   zope.app.zptpage/trunk/CHANGES.txt
  U   zope.app.zptpage/trunk/setup.py
  U   zope.app.zptpage/trunk/src/zope/app/zptpage/configure.zcml

-=-
Modified: zope.app.zptpage/trunk/CHANGES.txt
===================================================================
--- zope.app.zptpage/trunk/CHANGES.txt	2009-01-30 16:03:06 UTC (rev 95579)
+++ zope.app.zptpage/trunk/CHANGES.txt	2009-01-30 16:11:17 UTC (rev 95580)
@@ -2,11 +2,14 @@
 CHANGES
 =======
 
-3.5 (unreleased)
-----------------
+3.5.0 (unreleased)
+------------------
 
-- Use zope.container instead of zope.app.container.
+- Use ``zope.container`` instead of ``zope.app.container``.
 
+- Use ``zope.site`` instead of ``zope.app.folder``. Add missing
+  dependency on ``zope.site``.
+
 3.4.1 (2007-10-31)
 ------------------
 

Modified: zope.app.zptpage/trunk/setup.py
===================================================================
--- zope.app.zptpage/trunk/setup.py	2009-01-30 16:03:06 UTC (rev 95579)
+++ zope.app.zptpage/trunk/setup.py	2009-01-30 16:11:17 UTC (rev 95580)
@@ -25,7 +25,7 @@
 
 setup(
     name='zope.app.zptpage',
-    version='3.5dev',
+    version='3.5.0dev',
     url='http://pypi.python.org/pypi/zope.app.zptpage',
     author='Zope Corporation and Contributors',
     author_email='zope3-dev at zope.org',
@@ -63,6 +63,7 @@
                       'zope.publisher',
                       'zope.schema',
                       'zope.security',
+                      'zope.site',
                       'zope.size',
                       'zope.traversing',
                       'ZODB3',

Modified: zope.app.zptpage/trunk/src/zope/app/zptpage/configure.zcml
===================================================================
--- zope.app.zptpage/trunk/src/zope/app/zptpage/configure.zcml	2009-01-30 16:03:06 UTC (rev 95579)
+++ zope.app.zptpage/trunk/src/zope/app/zptpage/configure.zcml	2009-01-30 16:11:17 UTC (rev 95580)
@@ -3,10 +3,10 @@
     i18n_domain='zope'
     >
 
-  <interface 
-      interface=".interfaces.IZPTPage" 
+  <interface
+      interface=".interfaces.IZPTPage"
       type="zope.app.content.interfaces.IContentType"
-      /> 
+      />
 
   <class class=".zptpage.ZPTPage">
     <factory
@@ -32,22 +32,22 @@
         />
   </class>
 
-  <adapter 
-      for="zope.app.folder.interfaces.IFolder"
+  <adapter
+      for="zope.site.interfaces.IFolder"
       provides="zope.filerepresentation.interfaces.IFileFactory"
       name=".pt"
       factory=".zptpage.ZPTFactory"
       permission="zope.ManageContent"
       />
 
-  <adapter 
+  <adapter
       for=".interfaces.IZPTPage"
       provides="zope.filerepresentation.interfaces.IReadFile"
       factory=".zptpage.ZPTReadFile"
       permission="zope.ManageContent"
       />
 
-  <adapter 
+  <adapter
       for=".interfaces.IZPTPage"
       provides="zope.filerepresentation.interfaces.IWriteFile"
       factory=".zptpage.ZPTWriteFile"



More information about the Checkins mailing list