[34702] trunk/dports/lang/python30/Portfile
reiffert at macports.org
reiffert at macports.org
Mon Mar 3 05:54:30 PST 2008
Revision: 34702
http://trac.macosforge.org/projects/macports/changeset/34702
Author: reiffert at macports.org
Date: 2008-03-03 05:54:28 -0800 (Mon, 03 Mar 2008)
Log Message:
-----------
Python 3.0 Alpha 3.
* Framework install
* Updateing all py30- ports
Modified Paths:
--------------
trunk/dports/lang/python30/Portfile
Modified: trunk/dports/lang/python30/Portfile
===================================================================
--- trunk/dports/lang/python30/Portfile 2008-03-03 13:08:40 UTC (rev 34701)
+++ trunk/dports/lang/python30/Portfile 2008-03-03 13:54:28 UTC (rev 34702)
@@ -3,7 +3,7 @@
PortSystem 1.0
name python30
-version 3.0a2
+version 3.0a3
categories lang
platforms darwin
maintainers mww
@@ -15,23 +15,26 @@
master_sites http://www.python.org/ftp/python/3.0/
distname Python-${version}
extract.suffix .tgz
-checksums md5 03e5e8676997cb9a27633b6db25ac80c
-patchfiles patch-setup.py
+checksums md5 ec525b7e7fe4383e8394fab721663252
+patchfiles patch-setup.py \
+ patch-Makefile.pre.in.diff
depends_lib port:gettext
+configure.args --without-readline --enable-shared --enable-ipv6 --disable-tk --enable-framework=${prefix}/Library/Frameworks
-configure.args --enable-shared --without-readline --enable-ipv6 --disable-tk --disable-framework --enable-toolbox-glue
-#configure.env-append OPT="${configure.cflags} -g -Wall -Wstrict-prototypes"
+destroot.target frameworkinstall maninstall libpython3.0.dylib
-destroot.target altinstall maninstall
post-destroot {
- # make sure we dont have any file conflicts with python2.x
- 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"
+ system "cd ${destroot}${prefix}/bin && \
+ rm idle pydoc python python-config pythonw smtpd.py"
+ system "cd ${destroot}${prefix}/share/man/man1 && \
+ ln -sf ${prefix}/Library/Frameworks/Python.framework/Versions/3.0/share/man/man1/python.1 python3.0.1"
+ system "cd ${destroot}${prefix}/lib && \
+ ln -sf ${prefix}/Library/Frameworks/Python.framework/Versions/3.0/libpython3.0.dylib"
- # install select file for python_select
xinstall -m 755 -d ${destroot}${prefix}/etc/select/python
xinstall -m 644 ${filespath}/python30 ${destroot}${prefix}/etc/select/python/
+
}
livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080303/eb73ba86/attachment-0001.html
More information about the macports-changes
mailing list