r2557 - in zope-quotafolder/trunk/debian (5 files)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Sun Oct 30 15:29:37 UTC 2011


    Date: Sunday, October 30, 2011 @ 15:29:36
  Author: arnau
Revision: 2557

Add patch for Zope 2.12 and bump minimum supported version of Zope.

Added:
  zope-quotafolder/trunk/debian/patches/
  zope-quotafolder/trunk/debian/patches/series
  zope-quotafolder/trunk/debian/patches/zope_2.12.patch
Modified:
  zope-quotafolder/trunk/debian/changelog
  zope-quotafolder/trunk/debian/dzproduct

Modified: zope-quotafolder/trunk/debian/changelog
===================================================================
--- zope-quotafolder/trunk/debian/changelog	2011-10-30 15:00:15 UTC (rev 2556)
+++ zope-quotafolder/trunk/debian/changelog	2011-10-30 15:29:36 UTC (rev 2557)
@@ -11,6 +11,8 @@
   * Migrate debian/copyright to DEP5 format.
   * Update debian/watch.
   * Add required build-arch and build-indep rules in debian/rules.
+  * Add patch for Zope 2.12. Thanks to Gaël Le Mignot.
+    + Bump minimum supported version of Zope.
 
  -- Arnaud Fontaine <arnau at debian.org>  Sun, 30 Oct 2011 22:22:12 +0900
 

Modified: zope-quotafolder/trunk/debian/dzproduct
===================================================================
--- zope-quotafolder/trunk/debian/dzproduct	2011-10-30 15:00:15 UTC (rev 2556)
+++ zope-quotafolder/trunk/debian/dzproduct	2011-10-30 15:29:36 UTC (rev 2557)
@@ -1,3 +1,3 @@
 Name: QuotaFolder
 Package: zope-quotafolder
-ZopeVersion: >= 2.6
+ZopeVersion: >= 2.12

Added: zope-quotafolder/trunk/debian/patches/series
===================================================================
--- zope-quotafolder/trunk/debian/patches/series	                        (rev 0)
+++ zope-quotafolder/trunk/debian/patches/series	2011-10-30 15:29:36 UTC (rev 2557)
@@ -0,0 +1 @@
+zope_2.12.patch

Added: zope-quotafolder/trunk/debian/patches/zope_2.12.patch
===================================================================
--- zope-quotafolder/trunk/debian/patches/zope_2.12.patch	                        (rev 0)
+++ zope-quotafolder/trunk/debian/patches/zope_2.12.patch	2011-10-30 15:29:36 UTC (rev 2557)
@@ -0,0 +1,24 @@
+diff -ru '-x*.pyc' '-x*.orig' '-x*.patch' QuotaFolder/__init__.py /home/zope/Products/QuotaFolder/__init__.py
+--- QuotaFolder/__init__.py     2011-10-30 16:26:28.000000000 +0100
++++ /home/zope/Products/QuotaFolder/__init__.py 2011-06-15 15:30:02.000000000 +0200
+@@ -223,8 +223,9 @@
+         ## getSize is deprecated, but if it's all there is...
+         return 1, object.getSize()
+     else:
+-        LOG('QuotaProduct', BLATHER,  "Can't get size for %s/%s" % \
+-            (getid(object.id), object.meta_type))
++        if hasattr(object, 'id') and hasattr(object, 'meta_type'):
++            LOG('QuotaProduct', BLATHER,  "Can't get size for %s/%s" % \
++                (getid(object.id), object.meta_type))
+         return 1, 0
+ 
+ ##
+diff -ru '-x*.pyc' '-x*.orig' '-x*.patch' QuotaFolder/QuotaFolder.py /home/zope/Products/QuotaFolder/QuotaFolder.py
+--- QuotaFolder/QuotaFolder.py  2011-10-30 16:26:27.000000000 +0100
++++ /home/zope/Products/QuotaFolder/QuotaFolder.py      2011-06-15 15:08:56.000000000 +0200
+@@ -250,4 +250,4 @@
+ 
+         Folder.manage_afterAdd(self, item, container)
+ 
+-Globals.default__class_init__(QuotaFolder)
++App.class_init.default__class_init__ (QuotaFolder)




More information about the pkg-zope-developers mailing list