r2526 - in zope-replacesupport/trunk/debian (11 files)

mejo at users.alioth.debian.org mejo at users.alioth.debian.org
Wed Oct 26 16:28:39 UTC 2011


    Date: Wednesday, October 26, 2011 @ 16:28:37
  Author: mejo
Revision: 2526

update ReplaceSupport for Zope2.12

Added:
  zope-replacesupport/trunk/debian/patches/
  zope-replacesupport/trunk/debian/patches/01_replacesupport_zope2.12.patch
  zope-replacesupport/trunk/debian/patches/series
  zope-replacesupport/trunk/debian/source/
  zope-replacesupport/trunk/debian/source/format
Modified:
  zope-replacesupport/trunk/debian/changelog
  zope-replacesupport/trunk/debian/compat
  zope-replacesupport/trunk/debian/control
  zope-replacesupport/trunk/debian/copyright
  zope-replacesupport/trunk/debian/dzproduct
  zope-replacesupport/trunk/debian/rules

Modified: zope-replacesupport/trunk/debian/changelog
===================================================================
--- zope-replacesupport/trunk/debian/changelog	2011-10-26 02:29:53 UTC (rev 2525)
+++ zope-replacesupport/trunk/debian/changelog	2011-10-26 16:28:37 UTC (rev 2526)
@@ -1,3 +1,15 @@
+zope-replacesupport (1.0.3-6) unstable; urgency=low
+
+  * add debian/patches/replacesupport_zope2.12.patch, fixing ReplaceSupport
+    for Zope2.12. (closes: #)
+  * migrate to source format 3.0 (quilt)
+  * bump standards-version to 3.9.2
+  * change section from web to zope
+  * add Homepage, Vcs-Browser and Vcs-Svn fields to debian/control
+  * migrate copyright file to DEP5 syntax
+
+ -- Jonas Meurer <mejo at debian.org>  Wed, 26 Oct 2011 18:15:26 +0200
+
 zope-replacesupport (1.0.3-5) unstable; urgency=low
 
   * add support for zope 2.11.

Modified: zope-replacesupport/trunk/debian/compat
===================================================================
--- zope-replacesupport/trunk/debian/compat	2011-10-26 02:29:53 UTC (rev 2525)
+++ zope-replacesupport/trunk/debian/compat	2011-10-26 16:28:37 UTC (rev 2526)
@@ -1 +1 @@
-5
+6

Modified: zope-replacesupport/trunk/debian/control
===================================================================
--- zope-replacesupport/trunk/debian/control	2011-10-26 02:29:53 UTC (rev 2525)
+++ zope-replacesupport/trunk/debian/control	2011-10-26 16:28:37 UTC (rev 2526)
@@ -1,15 +1,18 @@
 Source: zope-replacesupport
-Section: web
+Section: zope
 Priority: extra
 Maintainer: Debian Zope team <pkg-zope-developers at lists.alioth.debian.org>
 Uploaders: Jonas Meurer <mejo at debian.org>
-Standards-Version: 3.7.2
-Build-Depends: debhelper (>> 5.0.0)
+Standards-Version: 3.9.2
+Build-Depends: debhelper (>> 6.0.0)
 Build-Depends-Indep: zope-debhelper
+Homepage: http://old.zope.org/Members/shh/ReplaceSupport/
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-zope/zope-replacesupport/trunk
+Vcs-Svn: svn://svn.debian.org/svn/pkg-zope/zope-replacesupport/trunk
 
 Package: zope-replacesupport
 Architecture: all
-Depends: ${zope:Depends}
+Depends: ${misc:Depends}, ${zope:Depends}
 Description: Add search and replace functionality to TTW Zope objects
  This product adds search and replace functionality to TTW Zope objects.
  A Replace tab is added to the ZMI of Folders and folderish objects, that

Modified: zope-replacesupport/trunk/debian/copyright
===================================================================
--- zope-replacesupport/trunk/debian/copyright	2011-10-26 02:29:53 UTC (rev 2525)
+++ zope-replacesupport/trunk/debian/copyright	2011-10-26 16:28:37 UTC (rev 2526)
@@ -1,71 +1,69 @@
-This package was debianized by Jonas Meurer <jonas at freesources.org> on
-Fri, 19 Mar 2004 15:45:04 +0100
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: ReplaceSupport
+Upstream-Contact: Stefan H. Holek <stefan at epy.co.at>
+Source: http://old.zope.org/Members/shh/ReplaceSupport/
 
-It was downloaded from http://www.zope.org/Members/shh/ReplaceSupport
 
-Upstream Author: Stefan H. Holek <stefan at epy.co.at>
 
-Copyright:
+Files: debian/*
+Copyright: © 2005-2011 Jonas Meurer <jonas at freesources.org>
+License: GPL-2
+ On Debian systems the full text of the GNU General Public License
+ v2 can be found in the `/usr/share/common-licenses/GPL-2' file.
 
-  This software is subject to the provisions of the Zope Public License,
-  Version 2.0 (ZPL).
+Files: *
+Copyright: (c) 2000-2005, Stefan H. Holek, stefan at epy.co.at
+License: ZPL-2.0
+ Zope Public License (ZPL) Version 2.0
+ -----------------------------------------------
 
-Zope Public License (ZPL) Version 2.0
------------------------------------------------
+ This software is Copyright (c) Zope Corporation (tm) and
+ Contributors. All rights reserved.
 
-This software is Copyright (c) Zope Corporation (tm) and
-Contributors. All rights reserved.
+ This license has been certified as open source. It has also
+ been designated as GPL compatible by the Free Software
+ Foundation (FSF).
 
-This license has been certified as open source. It has also
-been designated as GPL compatible by the Free Software
-Foundation (FSF).
+ Redistribution and use in source and binary forms, with or
+ without modification, are permitted provided that the
+ following conditions are met:
 
-Redistribution and use in source and binary forms, with or
-without modification, are permitted provided that the
-following conditions are met:
+ 1. Redistributions in source code must retain the above
+    copyright notice, this list of conditions, and the following
+    disclaimer.
 
-1. Redistributions in source code must retain the above
-   copyright notice, this list of conditions, and the following
-   disclaimer.
+ 2. Redistributions in binary form must reproduce the above
+    copyright notice, this list of conditions, and the following
+    disclaimer in the documentation and/or other materials
+    provided with the distribution.
 
-2. Redistributions in binary form must reproduce the above
-   copyright notice, this list of conditions, and the following
-   disclaimer in the documentation and/or other materials
-   provided with the distribution.
+ 3. The name Zope Corporation (tm) must not be used to
+    endorse or promote products derived from this software
+    without prior written permission from Zope Corporation.
 
-3. The name Zope Corporation (tm) must not be used to
-   endorse or promote products derived from this software
-   without prior written permission from Zope Corporation.
+ 4. The right to distribute this software or to use it for
+    any purpose does not give you the right to use Servicemarks
+    (sm) or Trademarks (tm) of Zope Corporation. Use of them is
+    covered in a separate agreement (see
+    http://www.zope.com/Marks).
 
-4. The right to distribute this software or to use it for
-   any purpose does not give you the right to use Servicemarks
-   (sm) or Trademarks (tm) of Zope Corporation. Use of them is
-   covered in a separate agreement (see
-   http://www.zope.com/Marks).
+ 5. If any files are modified, you must cause the modified
+    files to carry prominent notices stating that you changed
+    the files and the date of any change.
 
-5. If any files are modified, you must cause the modified
-   files to carry prominent notices stating that you changed
-   the files and the date of any change.
+ Disclaimer
 
-Disclaimer
-
-  THIS SOFTWARE IS PROVIDED BY ZOPE CORPORATION ``AS IS''
-  AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
-  NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
-  AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
-  NO EVENT SHALL ZOPE CORPORATION OR ITS CONTRIBUTORS BE
-  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-  OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-  DAMAGE.
-
-
-This software consists of contributions made by Zope
-Corporation and many individuals on behalf of Zope
-Corporation.  Specific attributions are listed in the
-accompanying credits file.
+   THIS SOFTWARE IS PROVIDED BY ZOPE CORPORATION ``AS IS''
+   AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
+   NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+   AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
+   NO EVENT SHALL ZOPE CORPORATION OR ITS CONTRIBUTORS BE
+   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+   LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+   OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+   DAMAGE.

Modified: zope-replacesupport/trunk/debian/dzproduct
===================================================================
--- zope-replacesupport/trunk/debian/dzproduct	2011-10-26 02:29:53 UTC (rev 2525)
+++ zope-replacesupport/trunk/debian/dzproduct	2011-10-26 16:28:37 UTC (rev 2526)
@@ -1,3 +1,3 @@
 Package: zope-replacesupport
 Name: ReplaceSupport
-ZopeVersions: 2.9 2.10 2.11
+ZopeVersions: >= 2.10

Added: zope-replacesupport/trunk/debian/patches/01_replacesupport_zope2.12.patch
===================================================================
--- zope-replacesupport/trunk/debian/patches/01_replacesupport_zope2.12.patch	                        (rev 0)
+++ zope-replacesupport/trunk/debian/patches/01_replacesupport_zope2.12.patch	2011-10-26 16:28:37 UTC (rev 2526)
@@ -0,0 +1,52 @@
+Description: Update Replacesupport to make it compatible to Zope2.12.
+             This requires at least Zope 2.10.8, 2.11.3 or Zope >= 2.12.
+Author: Jonas Meurer <jonas at freesources.org>
+Last-Update: 2011-10-26
+
+--- a/ReplaceSupport/AdvancedPatch.py
++++ b/ReplaceSupport/AdvancedPatch.py
+@@ -11,7 +11,7 @@
+ 
+ try:
+ 
+-    from Globals import default__class_init__
++    from App.class_init import default__class_init__
+     from OFS.FindSupport import FindSupport
+     from ReplaceSupport import ReplaceSupport
+ 
+--- a/ReplaceSupport/ReplaceSupport.py
++++ b/ReplaceSupport/ReplaceSupport.py
+@@ -7,11 +7,11 @@
+ __doc__ = 'Replace Support'
+ __version__ = '1.0.2'
+ 
+-import sys, os, string, time, Globals, ExtensionClass
++import sys, os, string, time, App.class_init, ExtensionClass
+ from DocumentTemplate.DT_Util import Eval
+ from AccessControl.Permission import name_trans
+ from AccessControl import getSecurityManager
+-from Globals import HTMLFile
++from App.special_dtml import HTMLFile
+ from DocumentTemplate.DT_Util import InstanceDict, TemplateDict
+ from DateTime import DateTime
+ from string import find, replace
+@@ -344,7 +344,7 @@
+     return 1
+ 
+ 
+-Globals.default__class_init__(ReplaceSupport)
++App.class_init.default__class_init__(ReplaceSupport)
+ 
+ # Helper functions
+ 
+--- a/ReplaceSupport/SimplePatch.py
++++ b/ReplaceSupport/SimplePatch.py
+@@ -11,7 +11,7 @@
+ 
+ try:
+ 
+-    from Globals import default__class_init__
++    from App.class_init import default__class_init__
+     from OFS.Folder import Folder
+     from ReplaceSupport import ReplaceSupport
+ 

Added: zope-replacesupport/trunk/debian/patches/series
===================================================================
--- zope-replacesupport/trunk/debian/patches/series	                        (rev 0)
+++ zope-replacesupport/trunk/debian/patches/series	2011-10-26 16:28:37 UTC (rev 2526)
@@ -0,0 +1 @@
+01_replacesupport_zope2.12.patch

Modified: zope-replacesupport/trunk/debian/rules
===================================================================
--- zope-replacesupport/trunk/debian/rules	2011-10-26 02:29:53 UTC (rev 2525)
+++ zope-replacesupport/trunk/debian/rules	2011-10-26 16:28:37 UTC (rev 2526)
@@ -1,37 +1,34 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=3
 
-export NAME=ReplaceSupport
-
 build: build-stamp
 build-stamp:
 	dh_testdir
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp
-	dh_clean
+	dh_clean build-stamp install-stamp
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_clean
 	dh_installdirs
 	dh_installzope .
+	touch $@
 
 # Build architecture-independent files here.
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs CHANGES.txt
-	dh_installdocs
 	dh_installdebconf
+	dh_installdocs
+	dh_installchangelogs CHANGES.txt
 	dh_link
 	dh_compress
 	dh_fixperms

Added: zope-replacesupport/trunk/debian/source/format
===================================================================
--- zope-replacesupport/trunk/debian/source/format	                        (rev 0)
+++ zope-replacesupport/trunk/debian/source/format	2011-10-26 16:28:37 UTC (rev 2526)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the pkg-zope-developers mailing list