New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 34702

Show
Ignore:
Timestamp:
03/03/08 05:54:28 (16 months ago)
Author:
reiffert@…
Message:

Python 3.0 Alpha 3.
* Framework install
* Updateing all py30- ports

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/python30/Portfile

    r34616 r34702  
    44 
    55name                    python30 
    6 version                 3.0a2 
     6version                 3.0a3 
    77categories              lang 
    88platforms               darwin 
     
    1616distname                Python-${version} 
    1717extract.suffix          .tgz 
    18 checksums               md5 03e5e8676997cb9a27633b6db25ac80c 
    19 patchfiles              patch-setup.py 
     18checksums               md5 ec525b7e7fe4383e8394fab721663252 
     19patchfiles              patch-setup.py \ 
     20                        patch-Makefile.pre.in.diff 
    2021 
    2122depends_lib             port:gettext 
     23configure.args          --without-readline --enable-shared --enable-ipv6 --disable-tk --enable-framework=${prefix}/Library/Frameworks 
    2224 
    23 configure.args          --enable-shared --without-readline --enable-ipv6 --disable-tk --disable-framework --enable-toolbox-glue 
    24 #configure.env-append   OPT="${configure.cflags} -g -Wall -Wstrict-prototypes" 
     25destroot.target         frameworkinstall maninstall libpython3.0.dylib 
    2526 
    26 destroot.target         altinstall maninstall 
    2727post-destroot { 
    28         # make sure we dont have any file conflicts with python2.x 
    29         system "cd ${destroot}${prefix}/bin && mv idle idle3.0 && mv pydoc pydoc3.0 && mv smtpd.py smtpd3.0.py" 
    30         system "cd ${destroot}${prefix}/share/man/man1 && mv python.1 python3.0.1" 
     28        system "cd ${destroot}${prefix}/bin && \ 
     29                rm idle pydoc python python-config pythonw smtpd.py" 
     30        system "cd ${destroot}${prefix}/share/man/man1 && \ 
     31        ln -sf ${prefix}/Library/Frameworks/Python.framework/Versions/3.0/share/man/man1/python.1 python3.0.1" 
     32        system "cd ${destroot}${prefix}/lib && \ 
     33        ln -sf ${prefix}/Library/Frameworks/Python.framework/Versions/3.0/libpython3.0.dylib" 
    3134 
    32         # install select file for python_select 
    3335        xinstall -m 755 -d ${destroot}${prefix}/etc/select/python 
    3436        xinstall -m 644 ${filespath}/python30 ${destroot}${prefix}/etc/select/python/ 
     37 
    3538} 
    3639