<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[151021] trunk/dports/lang/python33/Portfile</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/151021">151021</a></dd>
<dt>Author</dt> <dd>jwa@macports.org</dd>
<dt>Date</dt> <dd>2016-08-05 09:42:31 -0700 (Fri, 05 Aug 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>python33: whitespace only + replace tabs with spaces</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangpython33Portfile">trunk/dports/lang/python33/Portfile</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangpython33Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/python33/Portfile (151020 => 151021)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/python33/Portfile        2016-08-05 16:30:53 UTC (rev 151020)
+++ trunk/dports/lang/python33/Portfile        2016-08-05 16:42:31 UTC (rev 151021)
</span><span class="lines">@@ -4,96 +4,96 @@
</span><span class="cx"> PortSystem 1.0
</span><span class="cx"> PortGroup select 1.0
</span><span class="cx"> 
</span><del>-name                    python33
</del><ins>+name                python33
</ins><span class="cx"> 
</span><span class="cx"> # Remember to keep py33-tkinter and py33-gdbm's versions sync'd with this
</span><del>-version                 3.3.6
-revision                6
</del><ins>+version             3.3.6
+revision            6
</ins><span class="cx"> 
</span><del>-epoch                   20141012
</del><ins>+epoch               20141012
</ins><span class="cx"> 
</span><del>-set major               [lindex [split $version .] 0]
-set branch              [join [lrange [split ${version} .] 0 1] .]
-categories              lang
-license                 PSF
-platforms               darwin
-maintainers             jwa openmaintainer
</del><ins>+set major           [lindex [split $version .] 0]
+set branch          [join [lrange [split ${version} .] 0 1] .]
+categories          lang
+license             PSF
+platforms           darwin
+maintainers         jwa openmaintainer
</ins><span class="cx"> 
</span><del>-description             An interpreted, object-oriented programming language
-long_description        Python is an interpreted, interactive, object-oriented \
-                        programming language.
</del><ins>+description         An interpreted, object-oriented programming language
+long_description    Python is an interpreted, interactive, object-oriented \
+                    programming language.
</ins><span class="cx"> 
</span><del>-homepage                http://www.python.org/
-#master_sites            ${homepage}ftp/python/${version}/
-master_sites            ${homepage}ftp/python/${version}/
</del><ins>+homepage            http://www.python.org/
+#master_sites        ${homepage}ftp/python/${version}/
+master_sites        ${homepage}ftp/python/${version}/
</ins><span class="cx"> 
</span><del>-distname                Python-${version}
</del><ins>+distname            Python-${version}
</ins><span class="cx"> 
</span><del>-use_xz                                        yes
</del><ins>+use_xz              yes
</ins><span class="cx"> 
</span><span class="cx"> checksums           rmd160  e45909eedf3648408ef8b34775ab24654181d9bd \
</span><span class="cx">                     sha256  5226e4bf7a530c3ff2bcde0c94e0e09e59a8bcde0114fe0268bc925bdabb5d3f
</span><span class="cx"> 
</span><del>-patchfiles              patch-setup.py.diff \
-                        patch-Lib-cgi.py.diff \
-                        patch-Lib-distutils-dist.py.diff \
-                        patch-configure.diff \
-                        patch-setup.py-disabled_modules.diff \
-                        patch-libedit.diff \
-                        omit-local-site-packages.patch
</del><ins>+patchfiles          patch-setup.py.diff \
+                    patch-Lib-cgi.py.diff \
+                    patch-Lib-distutils-dist.py.diff \
+                    patch-configure.diff \
+                    patch-setup.py-disabled_modules.diff \
+                    patch-libedit.diff \
+                    omit-local-site-packages.patch
</ins><span class="cx"> 
</span><span class="cx"> # http://bugs.python.org/issue21811
</span><del>-patchfiles-append       yosemite-configure-fixes.patch \
-                        yosemite-python-fixes.patch
</del><ins>+patchfiles-append   yosemite-configure-fixes.patch \
+                    yosemite-python-fixes.patch
</ins><span class="cx"> 
</span><del>-depends_lib             port:zlib path:lib/libssl.dylib:openssl \
-                        port:sqlite3 port:ncurses \
-                        port:bzip2 port:libedit port:gettext \
-                        port:xz
-depends_run             port:python_select \
-                        port:python3_select
</del><ins>+depends_lib         port:zlib path:lib/libssl.dylib:openssl \
+                    port:sqlite3 port:ncurses \
+                    port:bzip2 port:libedit port:gettext \
+                    port:xz
+depends_run         port:python_select \
+                    port:python3_select
</ins><span class="cx"> 
</span><span class="cx"> # blacklist llvm-gcc-4.2 compiler known to produce bad code
</span><del>-compiler.blacklist      *llvm-gcc-4.2
</del><ins>+compiler.blacklist  *llvm-gcc-4.2
</ins><span class="cx"> 
</span><del>-configure.args          --enable-framework=${frameworks_dir} \
-                        --enable-ipv6 \
-                        --with-computed-gotos
-configure.ccache        no
</del><ins>+configure.args      --enable-framework=${frameworks_dir} \
+                    --enable-ipv6 \
+                    --with-computed-gotos
+configure.ccache    no
</ins><span class="cx"> 
</span><del>-use_parallel_build      yes
</del><ins>+use_parallel_build  yes
</ins><span class="cx"> 
</span><span class="cx"> post-patch {
</span><del>-   reinplace &quot;s|@@PREFIX@@|${prefix}|g&quot; ${worksrcpath}/Lib/cgi.py
</del><ins>+    reinplace &quot;s|@@PREFIX@@|${prefix}|g&quot; ${worksrcpath}/Lib/cgi.py
</ins><span class="cx"> 
</span><del>-   reinplace &quot;s|/setup.py|/setup.py --no-user-cfg|&quot; ${worksrcpath}/Makefile.pre.in
</del><ins>+    reinplace &quot;s|/setup.py|/setup.py --no-user-cfg|&quot; ${worksrcpath}/Makefile.pre.in
</ins><span class="cx"> 
</span><del>-   # replace /Applications with ${applications_dir}
-   reinplace &quot;s|@@APPLICATIONS_DIR@@|${applications_dir}|&quot; \
</del><ins>+    # replace /Applications with ${applications_dir}
+    reinplace &quot;s|@@APPLICATIONS_DIR@@|${applications_dir}|&quot; \
</ins><span class="cx">       ${worksrcpath}/configure
</span><span class="cx"> 
</span><del>-   # See http://trac.macports.org/changeset/37861
-   reinplace &quot;s|xargs -0 rm -r|/usr/bin/xargs -0 /bin/rm -r|g&quot; \
</del><ins>+    # See http://trac.macports.org/changeset/37861
+    reinplace &quot;s|xargs -0 rm -r|/usr/bin/xargs -0 /bin/rm -r|g&quot; \
</ins><span class="cx">       ${worksrcpath}/Mac/PythonLauncher/Makefile.in
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-build.target            all
</del><ins>+build.target        all
</ins><span class="cx"> 
</span><span class="cx"> # test_cmd_line fails
</span><span class="cx"> # see http://bugs.python.org/issue4388 and
</span><span class="cx"> #     http://bugs.python.org/issue4474
</span><del>-test.run                yes
-test.target             test
</del><ins>+test.run            yes
+test.target         test
</ins><span class="cx"> 
</span><del>-destroot.target         frameworkinstall maninstall
</del><ins>+destroot.target     frameworkinstall maninstall
</ins><span class="cx"> 
</span><span class="cx"> # ensure that correct compiler is used
</span><del>-build.args-append       MAKE=&quot;${build.cmd} CC=${configure.cc}&quot;
</del><ins>+build.args-append   MAKE=&quot;${build.cmd} CC=${configure.cc}&quot;
</ins><span class="cx"> destroot.args-append    MAKE=&quot;${destroot.cmd} CC=${configure.cc}&quot;
</span><span class="cx"> 
</span><span class="cx"> set pythonNoDot python[string map {. {}} $branch]
</span><del>-select.entries          [list python python-$pythonNoDot $pythonNoDot] \
-                        [list python3 python3-$pythonNoDot $pythonNoDot]
</del><ins>+select.entries      [list python python-$pythonNoDot $pythonNoDot] \
+                    [list python3 python3-$pythonNoDot $pythonNoDot]
</ins><span class="cx"> 
</span><span class="cx"> set confdir config-${branch}m
</span><span class="cx"> 
</span><span class="lines">@@ -106,62 +106,62 @@
</span><span class="cx"> &quot;
</span><span class="cx"> 
</span><span class="cx"> post-destroot {
</span><del>-   set framewpath ${frameworks_dir}/Python.framework
-   set framewdir  ${framewpath}/Versions/${branch}
</del><ins>+    set framewpath ${frameworks_dir}/Python.framework
+    set framewdir  ${framewpath}/Versions/${branch}
</ins><span class="cx"> 
</span><del>-   foreach dir { Headers Resources Python Versions/Current } {
-      file delete ${destroot}${framewpath}/${dir}
-   }
</del><ins>+    foreach dir { Headers Resources Python Versions/Current } {
+        file delete ${destroot}${framewpath}/${dir}
+    }
</ins><span class="cx"> 
</span><del>-   ln -s ${framewdir}/share/man/man1/python${branch}.1 ${destroot}${prefix}/share/man/man1/
</del><ins>+    ln -s ${framewdir}/share/man/man1/python${branch}.1 ${destroot}${prefix}/share/man/man1/
</ins><span class="cx"> 
</span><del>-   # Without this, LINKFORSHARED is set to
-   # ... $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
-   # (this becomes Python.framework/Versions/3.2/Python) which doesn't
-   # quite work (see ticket #15099); instead specifically list the
-   # full path to the proper Python framework file (which becomes
-   # ${prefix}/Library/Frameworks/Python.framework/Versions/3.2/Python)
</del><ins>+    # Without this, LINKFORSHARED is set to
+    # ... $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
+    # (this becomes Python.framework/Versions/3.2/Python) which doesn't
+    # quite work (see ticket #15099); instead specifically list the
+    # full path to the proper Python framework file (which becomes
+    # ${prefix}/Library/Frameworks/Python.framework/Versions/3.2/Python)
</ins><span class="cx">     reinplace {s|^\(LINKFORSHARED=.*\)$(PYTHONFRAMEWORKDIR).*$|\1 $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)|} ${destroot}${framewdir}/lib/python${branch}/$confdir/Makefile
</span><span class="cx"> 
</span><del>-   # remove -arch flags from the config
</del><ins>+    # remove -arch flags from the config
</ins><span class="cx">     reinplace -E {s|-arch [a-z0-9_]+||g} \
</span><del>-       ${destroot}${framewdir}/lib/python${branch}/$confdir/Makefile
</del><ins>+      ${destroot}${framewdir}/lib/python${branch}/$confdir/Makefile
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> platform darwin {
</span><del>-   post-configure {
-      # See http://trac.macports.org/ticket/18376
-      system -W ${worksrcpath} &quot;ed - pyconfig.h &lt; ${filespath}/pyconfig.ed&quot;
-   }
</del><ins>+    post-configure {
+        # See http://trac.macports.org/ticket/18376
+        system -W ${worksrcpath} &quot;ed - pyconfig.h &lt; ${filespath}/pyconfig.ed&quot;
+    }
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> variant universal {
</span><del>-   post-patch {
-      set universal_arch_flags {}
-      set arch_run_32bit {}
-      foreach arch ${universal_archs} {
-         lappend universal_arch_flags -arch ${arch}
-         if {${arch} eq &quot;i386&quot; || ${arch} eq &quot;ppc&quot;} {
-            lappend arch_run_32bit -${arch}
-         }
-      }
-      reinplace \
-         &quot;s|UNIVERSAL_ARCH_FLAGS=\&quot;.*\&quot;|UNIVERSAL_ARCH_FLAGS=\&quot;${universal_arch_flags}\&quot;|&quot; \
</del><ins>+    post-patch {
+        set universal_arch_flags {}
+        set arch_run_32bit {}
+        foreach arch ${universal_archs} {
+            lappend universal_arch_flags -arch ${arch}
+            if {${arch} eq &quot;i386&quot; || ${arch} eq &quot;ppc&quot;} {
+                lappend arch_run_32bit -${arch}
+            }
+        }
+        reinplace \
+          &quot;s|UNIVERSAL_ARCH_FLAGS=\&quot;.*\&quot;|UNIVERSAL_ARCH_FLAGS=\&quot;${universal_arch_flags}\&quot;|&quot; \
</ins><span class="cx">          ${worksrcpath}/configure
</span><del>-      if { ${arch_run_32bit} != &quot;&quot; } {
-         reinplace \
-            &quot;s|ARCH_RUN_32BIT=\&quot;.*\&quot;|ARCH_RUN_32BIT=\&quot;arch ${arch_run_32bit}\&quot;|&quot; \
</del><ins>+        if { ${arch_run_32bit} != &quot;&quot; } {
+            reinplace \
+              &quot;s|ARCH_RUN_32BIT=\&quot;.*\&quot;|ARCH_RUN_32BIT=\&quot;arch ${arch_run_32bit}\&quot;|&quot; \
</ins><span class="cx">             ${worksrcpath}/configure
</span><del>-      }
-   }
-   if {${configure.sdkroot} != &quot;&quot;} {
-      configure.args-append   --enable-universalsdk=${configure.sdkroot}
-   } else {
-      configure.args-append   --enable-universalsdk=/
-   }
-   post-configure {
-      system -W ${worksrcpath} &quot;ed - pyconfig.h &lt; ${filespath}/pyconfig.h-universal.ed&quot;
-   }
</del><ins>+        }
+    }
+    if {${configure.sdkroot} != &quot;&quot;} {
+        configure.args-append   --enable-universalsdk=${configure.sdkroot}
+    } else {
+        configure.args-append   --enable-universalsdk=/
+    }
+    post-configure {
+        system -W ${worksrcpath} &quot;ed - pyconfig.h &lt; ${filespath}/pyconfig.h-universal.ed&quot;
+    }
</ins><span class="cx"> 
</span><span class="cx">     post-destroot {
</span><span class="cx">         foreach unversioned {python3-32} {
</span><span class="lines">@@ -170,7 +170,7 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-livecheck.type          regex
-#livecheck.url           ${homepage}download/releases/
-livecheck.url           ${homepage}downloads/
-livecheck.regex         Python (${branch}(?:\\.\\d+)*)
</del><ins>+livecheck.type      regex
+#livecheck.url       ${homepage}download/releases/
+livecheck.url       ${homepage}downloads/
+livecheck.regex     Python (${branch}(?:\\.\\d+)*)
</ins></span></pre>
</div>
</div>

</body>
</html>