[28462] trunk/dports/lang

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 31 15:46:43 PDT 2007


Revision: 28462
          http://trac.macosforge.org/projects/macports/changeset/28462
Author:   mww at macports.org
Date:     2007-08-31 15:46:43 -0700 (Fri, 31 Aug 2007)

Log Message:
-----------
1st release of Python 3000

Added Paths:
-----------
    trunk/dports/lang/python30/
    trunk/dports/lang/python30/Portfile
    trunk/dports/lang/python30/files/
    trunk/dports/lang/python30/files/patch-setup.py

Added: trunk/dports/lang/python30/Portfile
===================================================================
--- trunk/dports/lang/python30/Portfile	                        (rev 0)
+++ trunk/dports/lang/python30/Portfile	2007-08-31 22:46:43 UTC (rev 28462)
@@ -0,0 +1,35 @@
+# $Id: $
+
+PortSystem 1.0
+
+name			python30
+version			3.0a1
+categories		lang
+platforms		darwin
+maintainers		mww at macports.org
+description		An interpreted, object-oriented programming language
+long_description	Python is an interpreted, interactive, object-oriented \
+			programming language. This version is an ALPHA release!
+
+homepage		http://www.python.org
+master_sites		http://www.python.org/ftp/python/3.0/
+distname		Python-${version}
+extract.suffix		.tgz
+checksums		md5 89356ece9bd276e78a9e63cfe4a83a23
+patchfiles		patch-setup.py
+
+depends_lib		port:libiconv
+
+configure.args		--enable-shared --without-readline --enable-ipv6 --disable-tk --disable-framework
+
+destroot.target		install maninstall
+post-destroot {
+	# make sure we dont have any file conflicts with python2.x
+	system "cd ${destroot}${prefix}/bin && rm python-config python"
+	system "cd ${destroot}${prefix}/bin && mv idle idle3.0 && mv pydoc pydoc3.0 && mv smtpd.py smtpd3.0.py"
+	system "cd ${destroot}${prefix}/share/man/man1 && mv python.1 python3.0.1"
+}
+
+platform darwin 8 {
+	configure.compiler	gcc-4.0
+}

Added: trunk/dports/lang/python30/files/patch-setup.py
===================================================================
--- trunk/dports/lang/python30/files/patch-setup.py	                        (rev 0)
+++ trunk/dports/lang/python30/files/patch-setup.py	2007-08-31 22:46:43 UTC (rev 28462)
@@ -0,0 +1,11 @@
+--- setup.py	2007-08-29 00:24:48.000000000 +0200
++++ setup.py	2007-09-01 00:44:50.000000000 +0200
+@@ -15,7 +15,7 @@
+ from distutils.command.install_lib import install_lib
+ 
+ # This global variable is used to hold the list of modules to be disabled.
+-disabled_module_list = []
++disabled_module_list = ["zlib","_hashlib","_ssl","_bsddb","_sqlite3","_tkinter","bz2","gdbm","readline","_curses","_curses_panel"]
+ 
+ def add_dir_to_list(dirlist, dir):
+     """Add the directory 'dir' to the list 'dirlist' (at the front) if

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070831/fe786564/attachment.html


More information about the macports-changes mailing list