diff -Naur python30.orig/Portfile python30/Portfile
old
|
new
|
|
4 | 4 | |
5 | 5 | name python30 |
6 | 6 | version 3.0a2 |
| 7 | revision 1 |
7 | 8 | categories lang |
8 | 9 | platforms darwin |
9 | 10 | maintainers mww |
… |
… |
|
16 | 17 | distname Python-${version} |
17 | 18 | extract.suffix .tgz |
18 | 19 | checksums md5 03e5e8676997cb9a27633b6db25ac80c |
19 | | patchfiles patch-setup.py |
| 20 | patchfiles patch-setup.py.diff \ |
| 21 | patch-pydoc.py.diff |
20 | 22 | |
21 | 23 | depends_lib port:gettext |
22 | 24 | |
… |
… |
|
33 | 35 | livecheck.check regex |
34 | 36 | livecheck.url http://www.python.org/download/releases/3.0/ |
35 | 37 | livecheck.regex /3.0/Python-(\[0-9a-z.\]+)\\.tgz |
36 | | |
diff -Naur python30.orig/files/patch-pydoc.py.diff python30/files/patch-pydoc.py.diff
old
|
new
|
|
| 1 | --- Lib/pydoc.py.orig 2008-03-01 03:08:24.000000000 +0100 |
| 2 | +++ Lib/pydoc.py 2008-03-01 03:08:48.000000000 +0100 |
| 3 | @@ -1666,7 +1666,7 @@ |
| 4 | join(sys.prefix, 'doc/python-' + sys.version.split()[0]), |
| 5 | join(sys.prefix, 'doc/python-docs-' + sys.version[:3]), |
| 6 | join(sys.prefix, 'doc/python-' + sys.version[:3]), |
| 7 | - join(sys.prefix, 'Resources/English.lproj/Documentation')]: |
| 8 | + join(sys.prefix, 'share/doc/python30-doc')]: |
| 9 | if dir and os.path.isdir(join(dir, 'lib')): |
| 10 | self.docdir = dir |
| 11 | break |
diff -Naur python30.orig/files/patch-setup.py python30/files/patch-setup.py
old
|
new
|
|
1 | | --- setup.py 2007-08-29 00:24:48.000000000 +0200 |
2 | | +++ setup.py 2007-09-01 00:44:50.000000000 +0200 |
3 | | @@ -15,7 +15,7 @@ |
4 | | from distutils.command.install_lib import install_lib |
5 | | |
6 | | # This global variable is used to hold the list of modules to be disabled. |
7 | | -disabled_module_list = [] |
8 | | +disabled_module_list = ["zlib","_hashlib","_ssl","_bsddb","_sqlite3","_tkinter","bz2","gdbm","readline","_curses","_curses_panel"] |
9 | | |
10 | | def add_dir_to_list(dirlist, dir): |
11 | | """Add the directory 'dir' to the list 'dirlist' (at the front) if |
diff -Naur python30.orig/files/patch-setup.py.diff python30/files/patch-setup.py.diff
old
|
new
|
|
| 1 | --- setup.py 2007-08-29 00:24:48.000000000 +0200 |
| 2 | +++ setup.py 2007-09-01 00:44:50.000000000 +0200 |
| 3 | @@ -15,7 +15,7 @@ |
| 4 | from distutils.command.install_lib import install_lib |
| 5 | |
| 6 | # This global variable is used to hold the list of modules to be disabled. |
| 7 | -disabled_module_list = [] |
| 8 | +disabled_module_list = ["zlib","_hashlib","_ssl","_bsddb","_sqlite3","_tkinter","bz2","gdbm","readline","_curses","_curses_panel"] |
| 9 | |
| 10 | def add_dir_to_list(dirlist, dir): |
| 11 | """Add the directory 'dir' to the list 'dirlist' (at the front) if |