Ticket #18779: 0001-python30-version-bump-to-3.0.1.patch

File 0001-python30-version-bump-to-3.0.1.patch, 3.0 KB (added by erickt@…, 15 years ago)
  • lang/python30/Portfile

    From aec9cc3edbedb439368f10e1843b6e139d0f3ecd Mon Sep 17 00:00:00 2001
    From: Erick Tryzelaar <erickt@macports.org>
    Date: Sun, 8 Mar 2009 19:39:57 -0700
    Subject: [PATCH] python30 version bump to 3.0.1.
    
    ---
     lang/python30/Portfile |   25 ++++++++++++-------------
     1 files changed, 12 insertions(+), 13 deletions(-)
    
    diff --git lang/python30/Portfile lang/python30/Portfile
    index 3a6b36e..f34c651 100644
     
    33PortSystem 1.0
    44
    55name                    python30
    6 version                 3.0
    7 revision                1
     6version                 3.0.1
     7set major               [lindex [split $version .] 0]
    88set branch              [join [lrange [split ${version} .] 0 1] .]
    99categories              lang
    1010platforms               darwin
    long_description Python is an interpreted, interactive, object-oriented \ 
    1515                        programming language.
    1616
    1717homepage                http://www.python.org/
    18 master_sites            ${homepage}/ftp/python/${branch}/ \
    19                         ftp://ftp.python.org/pub/python/${branch}/ \
    20                         ftp://ftp.fastorama.com/mirrors/ftp.python.org/pub/python/${branch}/ \
    21                         ftp://ftp.python.jp/pub/python/${branch}/
     18master_sites            ${homepage}/ftp/python/${version}/ \
     19                        ftp://ftp.python.org/pub/python/${version}/ \
     20                        ftp://ftp.fastorama.com/mirrors/ftp.python.org/pub/python/${version}/ \
     21                        ftp://ftp.python.jp/pub/python/${version}/
    2222
    2323distname                Python-${version}
    2424use_bzip2               yes
    2525
    26 checksums               md5     28021e4c542323b7544aace274a03bed \
    27                         sha1    bf434861cd7bdefb47703ffb6bbc66c6dbd2da3d \
    28                         rmd160  ae3da661bd387330e93cc5fbcd3f2040bfeff6b6
     26checksums               md5     7291eac6a9a7a3642e309c78b8d744e5 \
     27                        sha1    6206059f0c04336e8d6550d2cdd88ab91f2657ff \
     28                        rmd160  78c918abba4cc85bd111a49ad17bed36f5d0b6b5
    2929
    3030patchfiles              patch-setup.py.diff \
    3131                        patch-Lib-cgi.py.diff \
    depends_lib port:gettext port:zlib port:openssl port:tk \ 
    3535                        port:sqlite3 port:ncurses port:gdbm \
    3636                        port:bzip2 port:readline
    3737
    38 configure.args          --enable-shared \
    39                         --enable-framework=${frameworks_dir} \
     38configure.args          --enable-framework=${frameworks_dir} \
    4039                        --enable-ipv6
    4140
    42 use_parallel_build      no
     41use_parallel_build      yes
    4342
    4443post-patch {
    4544   reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Lib/cgi.py
    post-destroot { 
    8786}
    8887
    8988post-activate {
    90     ui_msg "\nTo fully complete your installation and make python $branch the default, please run
     89   ui_msg "\nTo fully complete your installation and make python $branch the default, please run
    9190\n\tsudo port install python_select \
    9291\n\tsudo python_select $name\n"
    9392}