[34639] trunk/dports/lang

reiffert at macports.org reiffert at macports.org
Fri Feb 29 18:33:12 PST 2008


Revision: 34639
          http://trac.macosforge.org/projects/macports/changeset/34639
Author:   reiffert at macports.org
Date:     2008-02-29 18:33:11 -0800 (Fri, 29 Feb 2008)

Log Message:
-----------
New port python30-doc as motivated by #8488.

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

Added: trunk/dports/lang/python30-doc/Portfile
===================================================================
--- trunk/dports/lang/python30-doc/Portfile	                        (rev 0)
+++ trunk/dports/lang/python30-doc/Portfile	2008-03-01 02:33:11 UTC (rev 34639)
@@ -0,0 +1,37 @@
+# $Id$
+
+PortSystem 1.0
+
+name			python30-doc
+version			3.0a2
+categories		lang
+platforms		darwin
+maintainers		nomaintainer
+description		HTML documentation for Python 3.0
+long_description	HTML documentation for Python 2.5. Use by running \
+			'pydoc2.5 TOPIC', e.g. 'pydoc2.5 NUMBERS'.
+
+homepage		http://www.python.org
+master_sites		http://www.python.org/ftp/python/3.0/
+distname		Python-${version}
+extract.suffix		.tgz
+checksums		md5 03e5e8676997cb9a27633b6db25ac80c
+patchfiles		patch-setup.py.diff
+
+depends_lib		port:gettext port:python30 port:latex2html port:py25-hashlib
+
+configure.args		--enable-shared --without-readline --enable-ipv6 --disable-tk --disable-framework --enable-toolbox-glue
+
+build.target	html
+build.cmd	{ cd Doc && make }
+
+destroot {
+	file mkdir ${destroot}${prefix}/share/doc/
+	copy $worksrcpath/Doc/build/html ${destroot}${prefix}/share/doc/$name
+	move ${destroot}${prefix}/share/doc/$name/reference ${destroot}${prefix}/share/doc/$name/ref
+	move ${destroot}${prefix}/share/doc/$name/library ${destroot}${prefix}/share/doc/$name/lib
+}
+
+livecheck.check		regex
+livecheck.url		http://www.python.org/download/releases/3.0/
+livecheck.regex		/3.0/Python-(\[0-9a-z.\]+)\\.tgz


Property changes on: trunk/dports/lang/python30-doc/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/lang/python30-doc/files/patch-setup.py.diff
===================================================================
--- trunk/dports/lang/python30-doc/files/patch-setup.py.diff	                        (rev 0)
+++ trunk/dports/lang/python30-doc/files/patch-setup.py.diff	2008-03-01 02:33:11 UTC (rev 34639)
@@ -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/20080229/3affac1f/attachment.html 


More information about the macports-changes mailing list