Ticket #14529: python30-port.diff

File python30-port.diff, 3.1 KB (added by reiffert@…, 17 years ago)
  • Portfile

    diff -Naur python30.orig/Portfile python30/Portfile
    old new  
    44
    55name                    python30
    66version                 3.0a2
     7revision                1
    78categories              lang
    89platforms               darwin
    910maintainers             mww
     
    1617distname                Python-${version}
    1718extract.suffix          .tgz
    1819checksums               md5 03e5e8676997cb9a27633b6db25ac80c
    19 patchfiles              patch-setup.py
     20patchfiles              patch-setup.py.diff \
     21                        patch-pydoc.py.diff
    2022
    2123depends_lib             port:gettext
    2224
     
    3335livecheck.check         regex
    3436livecheck.url           http://www.python.org/download/releases/3.0/
    3537livecheck.regex         /3.0/Python-(\[0-9a-z.\]+)\\.tgz
    36  
  • files/patch-pydoc.py.diff

    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
  • files/patch-setup.py

    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
  • files/patch-setup.py.diff

    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