<!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>[140901] trunk/dports/python/py-Pillow</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/140901">140901</a></dd>
<dt>Author</dt> <dd>stromnov@macports.org</dd>
<dt>Date</dt> <dd>2015-10-04 13:40:17 -0700 (Sun, 04 Oct 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>py-Pillow: update to version 3.0.0</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportspythonpyPillowPortfile">trunk/dports/python/py-Pillow/Portfile</a></li>
<li><a href="#trunkdportspythonpyPillowfilespatchsetuppydiff">trunk/dports/python/py-Pillow/files/patch-setup.py.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportspythonpyPillowPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/python/py-Pillow/Portfile (140900 => 140901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/python/py-Pillow/Portfile        2015-10-04 20:30:29 UTC (rev 140900)
+++ trunk/dports/python/py-Pillow/Portfile        2015-10-04 20:40:17 UTC (rev 140901)
</span><span class="lines">@@ -5,8 +5,8 @@
</span><span class="cx"> PortGroup           python 1.0
</span><span class="cx"> 
</span><span class="cx"> name                py-Pillow
</span><del>-version             2.9.0
-revision            1
</del><ins>+version             3.0.0
+revision            0
</ins><span class="cx"> categories-append   devel
</span><span class="cx"> platforms           darwin
</span><span class="cx"> license             BSD
</span><span class="lines">@@ -20,16 +20,14 @@
</span><span class="cx"> long_description    ${description}
</span><span class="cx"> 
</span><span class="cx"> homepage            http://github.com/python-imaging/Pillow
</span><del>-master_sites        https://pypi.python.org/packages/source/P/Pillow/
</del><ins>+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
</ins><span class="cx"> 
</span><span class="cx"> distname            Pillow-${version}
</span><span class="cx"> 
</span><del>-checksums           rmd160  23913cd093a546d46fb2f7cf34f00305b89596b4 \
-                    sha256  d1db8dfed77547076037d589b598e04f2cbc1a7835d3d3f137bf20c8994854d5
</del><ins>+checksums           rmd160  4bb60362d90dbcc4821fa008d5b01370eaac7261 \
+                    sha256  ad50bef540fe5518a4653c3820452a881b6a042cb0f8bb7657c491c6bd3654bb
</ins><span class="cx"> 
</span><span class="cx"> if {${name} ne ${subport}} {
</span><del>-    use_zip             yes
-
</del><span class="cx">     conflicts           py${python.version}-pil
</span><span class="cx"> 
</span><span class="cx">     depends_build       port:py${python.version}-setuptools
</span><span class="lines">@@ -50,7 +48,5 @@
</span><span class="cx"> 
</span><span class="cx">     livecheck.type      none
</span><span class="cx"> } else {
</span><del>-    livecheck.type      regex
-    livecheck.url       https://pypi.python.org/pypi/Pillow/json
-    livecheck.regex     {Pillow-(\d+(?:\.\d+)*)\.[tz]}
</del><ins>+    livecheck.type      pypi
</ins><span class="cx"> }
</span></span></pre></div>
<a id="trunkdportspythonpyPillowfilespatchsetuppydiff"></a>
<div class="modfile"><h4>Modified: trunk/dports/python/py-Pillow/files/patch-setup.py.diff (140900 => 140901)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/python/py-Pillow/files/patch-setup.py.diff        2015-10-04 20:30:29 UTC (rev 140900)
+++ trunk/dports/python/py-Pillow/files/patch-setup.py.diff        2015-10-04 20:40:17 UTC (rev 140901)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><del>---- setup.py.orig        2014-10-01 23:17:03.000000000 +0400
-+++ setup.py        2014-10-02 11:11:20.000000000 +0400
-@@ -200,44 +200,8 @@
</del><ins>+--- setup.py.orig        2015-10-01 18:27:21.000000000 +0300
++++ setup.py        2015-10-04 23:38:00.000000000 +0300
+@@ -201,44 +201,8 @@
</ins><span class="cx">                  &quot;/usr/lib&quot;, &quot;python%s&quot; % sys.version[:3], &quot;config&quot;))
</span><span class="cx">  
</span><span class="cx">          elif sys.platform == &quot;darwin&quot;:
</span><span class="lines">@@ -47,7 +47,7 @@
</span><span class="cx">  
</span><span class="cx">          elif sys.platform.startswith(&quot;linux&quot;):
</span><span class="cx">              arch_tp = (plat.processor(), plat.architecture()[0])
</span><del>-@@ -337,21 +301,6 @@
</del><ins>+@@ -341,21 +305,6 @@
</ins><span class="cx">              else:
</span><span class="cx">                  TCL_ROOT = None
</span><span class="cx">  
</span><span class="lines">@@ -69,34 +69,39 @@
</span><span class="cx">          # on Windows, look for the OpenJPEG libraries in the location that
</span><span class="cx">          # the official installer puts them
</span><span class="cx">          if sys.platform == &quot;win32&quot;:
</span><del>-@@ -575,29 +524,7 @@
-             exts.append(Extension(
</del><ins>+@@ -580,32 +529,9 @@
</ins><span class="cx">                  &quot;PIL._webp&quot;, [&quot;_webp.c&quot;], libraries=libs, define_macros=defs))
</span><span class="cx">  
</span><del>--        if sys.platform == &quot;darwin&quot;:
--            # locate Tcl/Tk frameworks
--            frameworks = []
--            framework_roots = [
--                &quot;/Library/Frameworks&quot;,
--                &quot;/System/Library/Frameworks&quot;]
--            for root in framework_roots:
--                if (
--                        os.path.exists(os.path.join(root, &quot;Tcl.framework&quot;)) and
--                        os.path.exists(os.path.join(root, &quot;Tk.framework&quot;))):
--                    print(&quot;--- using frameworks at %s&quot; % root)
--                    frameworks = [&quot;-framework&quot;, &quot;Tcl&quot;, &quot;-framework&quot;, &quot;Tk&quot;]
--                    dir = os.path.join(root, &quot;Tcl.framework&quot;, &quot;Headers&quot;)
--                    _add_directory(self.compiler.include_dirs, dir, 0)
--                    dir = os.path.join(root, &quot;Tk.framework&quot;, &quot;Headers&quot;)
--                    _add_directory(self.compiler.include_dirs, dir, 1)
--                    break
--            if frameworks:
</del><ins>+         if feature.tcl and feature.tk:
+-            if sys.platform == &quot;darwin&quot;:
+-                # locate Tcl/Tk frameworks
+-                frameworks = []
+-                framework_roots = [
+-                    &quot;/Library/Frameworks&quot;,
+-                    &quot;/System/Library/Frameworks&quot;]
+-                for root in framework_roots:
+-                    root_tcl = os.path.join(root, &quot;Tcl.framework&quot;)
+-                    root_tk = os.path.join(root, &quot;Tk.framework&quot;)
+-                    if (os.path.exists(root_tcl) and os.path.exists(root_tk)):
+-                        print(&quot;--- using frameworks at %s&quot; % root)
+-                        frameworks = [&quot;-framework&quot;, &quot;Tcl&quot;, &quot;-framework&quot;, &quot;Tk&quot;]
+-                        dir = os.path.join(root_tcl, &quot;Headers&quot;)
+-                        _add_directory(self.compiler.include_dirs, dir, 0)
+-                        dir = os.path.join(root_tk, &quot;Headers&quot;)
+-                        _add_directory(self.compiler.include_dirs, dir, 1)
+-                        break
+-                if frameworks:
+-                    exts.append(Extension(
+-                        &quot;PIL._imagingtk&quot;, [&quot;_imagingtk.c&quot;, &quot;Tk/tkImaging.c&quot;],
+-                        extra_compile_args=frameworks,
+-                        extra_link_args=frameworks))
+-            else:
</ins><span class="cx"> -                exts.append(Extension(
</span><span class="cx"> -                    &quot;PIL._imagingtk&quot;, [&quot;_imagingtk.c&quot;, &quot;Tk/tkImaging.c&quot;],
</span><del>--                    extra_compile_args=frameworks, extra_link_args=frameworks))
--                feature.tcl = feature.tk = 1  # mark as present
--        elif feature.tcl and feature.tk:
-+        if feature.tcl and feature.tk:
-             exts.append(Extension(
-                 &quot;PIL._imagingtk&quot;, [&quot;_imagingtk.c&quot;, &quot;Tk/tkImaging.c&quot;],
-                 libraries=[feature.tcl, feature.tk]))
</del><ins>+-                    libraries=[feature.tcl, feature.tk]))
++            exts.append(Extension(
++                &quot;PIL._imagingtk&quot;, [&quot;_imagingtk.c&quot;, &quot;Tk/tkImaging.c&quot;],
++                libraries=[feature.tcl, feature.tk]))

+         if os.path.isfile(&quot;_imagingmath.c&quot;):
+             exts.append(Extension(&quot;PIL._imagingmath&quot;, [&quot;_imagingmath.c&quot;]))
</ins></span></pre>
</div>
</div>

</body>
</html>