diff options
author | alexbl <alexbl@FreeBSD.org> | 2007-07-30 17:42:28 +0800 |
---|---|---|
committer | alexbl <alexbl@FreeBSD.org> | 2007-07-30 17:42:28 +0800 |
commit | 7d749db4cf14f30613e9a53a08ffa3d3b4575146 (patch) | |
tree | ad9062005432bbf28f5cce4ad3a1cd32a59dba69 /mail/py-spambayes | |
parent | 8e2da239f74a82ad1c98b69bd27abb3f4e40ecf3 (diff) | |
download | freebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.tar.gz freebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.tar.zst freebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.zip |
- 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
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 |