diff options
author | Alexander Botero-Lowry <alexbl@FreeBSD.org> | 2007-07-30 09:42:28 +0000 |
---|---|---|
committer | Alexander Botero-Lowry <alexbl@FreeBSD.org> | 2007-07-30 09:42:28 +0000 |
commit | 4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch) | |
tree | db1f21912f461000d609ddcd5d130946bcfe9e09 /mail/py-spambayes | |
parent | b4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff) | |
download | ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.tar.gz ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.zip |
Notes
Diffstat (limited to 'mail/py-spambayes')
-rw-r--r-- | mail/py-spambayes/files/patch-python25 | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/mail/py-spambayes/files/patch-python25 b/mail/py-spambayes/files/patch-python25 new file mode 100644 index 000000000000..5c35df105b78 --- /dev/null +++ b/mail/py-spambayes/files/patch-python25 @@ -0,0 +1,57 @@ +--- spambayes/Corpus.py.orig Thu Jul 26 13:14:51 2007 ++++ spambayes/Corpus.py Thu Jul 26 13:15:11 2007 +@@ -1,5 +1,7 @@ + #! /usr/local/bin/python2.5 + ++from __future__ import generators ++ + '''Corpus.py - Spambayes corpus management framework. + + Classes: +@@ -78,8 +80,6 @@ + + __author__ = "Tim Stone <tim@fourstonesExpressions.com>" + __credits__ = "Richie Hindle, Tim Peters, all the spambayes contributors." +- +-from __future__ import generators + + try: + True, False +--- spambayes/FileCorpus.py.orig Thu Jul 26 13:14:55 2007 ++++ spambayes/FileCorpus.py Thu Jul 26 13:15:21 2007 +@@ -1,5 +1,7 @@ + #! /usr/local/bin/python2.5 + ++from __future__ import generators ++ + """FileCorpus.py - Corpus composed of file system artifacts + + Classes: +@@ -81,8 +83,6 @@ + + __author__ = "Tim Stone <tim@fourstonesExpressions.com>" + __credits__ = "Richie Hindle, Tim Peters, all the spambayes contributors." +- +-from __future__ import generators + + from spambayes import Corpus + from spambayes import message +--- spambayes/message.py.orig Thu Jul 26 13:15:02 2007 ++++ spambayes/message.py Thu Jul 26 13:15:29 2007 +@@ -1,5 +1,7 @@ + #! /usr/local/bin/python2.5 + ++from __future__ import generators ++ + """message.py - Core Spambayes classes. + + Classes: +@@ -74,8 +76,6 @@ + + __author__ = "Tim Stone <tim@fourstonesExpressions.com>" + __credits__ = "Mark Hammond, Tony Meyer, all the spambayes contributors." +- +-from __future__ import generators + + try: + True, False |