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/files/patch-python25 | |
parent | In ATLAS/INSTALL.txt it is said that gcc42 is superior to both gcc3 and gcc41 (diff) |
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
Python Eggs and the easy_install system
Tested by: pointyhat runs
Approved by: pav (portmgr)
Most work by: perky
Thanks to: pav
Notes
Notes:
svn path=/head/; revision=196700
Diffstat (limited to 'mail/py-spambayes/files/patch-python25')
-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 |