From: Max H. <fin...@us...> - 2007-02-28 13:23:19
|
Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/text In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv24735 Modified Files: doclifter.info Added Files: doclifter.patch Log Message: Fixed bad 'import sre' and a warning about use of a deprecated name qualifier --- NEW FILE: doclifter.patch --- diff -ru doclifter-2.1/doclifter doclifter-2.1-patched/doclifter --- doclifter-2.1/doclifter 2005-01-14 18:50:42.000000000 +0100 +++ doclifter-2.1-patched/doclifter 2007-02-28 14:15:56.000000000 +0100 @@ -125,7 +125,7 @@ $Id: doclifter,v 1.1294 2005/01/14 06:35:12 esr Exp $ """ # Requires Python 2.2a -import sys, os, glob, re, sre, string, exceptions, copy, tempfile, time, pprint +import sys, os, glob, re, string, exceptions, copy, tempfile, time, pprint # This is a speed hack recommended by Armin Rigo. It cuts runtime by about 33% # and makes it possible for psyco 1.2 to reduce runtime another 33%. @@ -6301,8 +6301,8 @@ return result def styleargs(self, args, tag, attribute="", prefix=""): return self.process_punct(args, lambda x: self.stylehook(x, tag, attribute, prefix), 1) - def replacemacro(self, args, with): - return self.process_punct(args, lambda x: [with] + x, 1) + def replacemacro(self, args, replacement): + return self.process_punct(args, lambda x: [replacement] + x, 1) def eval(self, args): "Evaluate a macro, returning a list." if args[0][0] == '.': Index: doclifter.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/text/doclifter.info,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- doclifter.info 25 Feb 2007 13:52:54 -0000 1.2 +++ doclifter.info 28 Feb 2007 13:23:17 -0000 1.3 @@ -16,9 +16,10 @@ Package: doclifter Version: 2.1 -Revision: 1 +Revision: 2 Source: http://www.catb.org/~esr/doclifter/%n-%v.tar.gz Source-MD5: 1695f456ede9b926966f08f6828757cd +Patch: %n.patch CompileScript: echo "" InstallScript: << /usr/bin/install -d -m 755 %i/bin @@ -37,6 +38,11 @@ information that might have structural implications. Also includes manlifter, a driver script that can be used to convert entire manual-page hierarchies. << +DescPackaging: << +Remove import of the sre module, which has been deprecated in recent +Python versions. Also replaced 'with' in one spot, as this will be a +reserved keyword in future Python versions. +<< License: GPL Maintainer: Max Horn <ma...@qu...> Homepage: http://www.catb.org/~esr/doclifter/ |