[149865] trunk/dports/python/py-Pillow

stromnov at macports.org stromnov at macports.org
Tue Jul 5 03:39:52 PDT 2016


Revision: 149865
          https://trac.macports.org/changeset/149865
Author:   stromnov at macports.org
Date:     2016-07-05 03:39:51 -0700 (Tue, 05 Jul 2016)
Log Message:
-----------
py-Pillow: update to version 3.3.0

Modified Paths:
--------------
    trunk/dports/python/py-Pillow/Portfile
    trunk/dports/python/py-Pillow/files/patch-setup.py.diff

Modified: trunk/dports/python/py-Pillow/Portfile
===================================================================
--- trunk/dports/python/py-Pillow/Portfile	2016-07-05 10:30:33 UTC (rev 149864)
+++ trunk/dports/python/py-Pillow/Portfile	2016-07-05 10:39:51 UTC (rev 149865)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-Pillow
-version             3.2.0
+version             3.3.0
 revision            0
 categories-append   devel
 platforms           darwin
@@ -24,8 +24,8 @@
 
 distname            Pillow-${version}
 
-checksums           rmd160  939da559db631891347adbeb27c81b531b9dd602 \
-                    sha256  64b0a057210c480aea99406c9391180cd866fc0fd8f0b53367e3af21b195784a
+checksums           rmd160  260f57f65e0607f5df6845799556d855b8851bab \
+                    sha256  031e7c9c885a4f343d1ad366c7fd2340449dc70318acb4a28d6411994f0accd1
 
 if {${name} ne ${subport}} {
     conflicts           py${python.version}-pil

Modified: trunk/dports/python/py-Pillow/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-Pillow/files/patch-setup.py.diff	2016-07-05 10:30:33 UTC (rev 149864)
+++ trunk/dports/python/py-Pillow/files/patch-setup.py.diff	2016-07-05 10:39:51 UTC (rev 149865)
@@ -1,6 +1,15 @@
---- setup.py.orig	2016-04-01 16:10:57.000000000 +0300
-+++ setup.py	2016-04-03 00:45:49.000000000 +0300
-@@ -197,43 +197,9 @@
+--- setup.py.orig	2016-07-01 16:00:16.000000000 +0300
++++ setup.py	2016-07-05 13:36:51.000000000 +0300
+@@ -225,7 +225,7 @@
+ 
+         if self.disable_platform_guessing:
+             pass
+-        
++
+         elif sys.platform == "cygwin":
+             # pythonX.Y.dll.a is in the /usr/lib/pythonX.Y/config directory
+             _add_directory(library_dirs,
+@@ -233,42 +233,8 @@
                                          sys.version[:3], "config"))
  
          elif sys.platform == "darwin":
@@ -10,12 +19,11 @@
 -            # fink installation directories
 -            _add_directory(library_dirs, "/sw/lib")
 -            _add_directory(include_dirs, "/sw/include")
-             # darwin ports installation directories
+-            # darwin ports installation directories
 -            _add_directory(library_dirs, "/opt/local/lib")
 -            _add_directory(include_dirs, "/opt/local/include")
 -
 -            # if Homebrew is installed, use its lib and include directories
--            import subprocess
 -            try:
 -                prefix = subprocess.check_output(['brew', '--prefix']).strip(
 -                ).decode('latin1')
@@ -46,61 +54,3 @@
  
          elif sys.platform.startswith("linux"):
              arch_tp = (plat.processor(), plat.architecture()[0])
-@@ -343,21 +309,6 @@
-             else:
-                 TCL_ROOT = None
- 
--        # add standard directories
--
--        # look for tcl specific subdirectory (e.g debian)
--        if _tkinter:
--            tcl_dir = "/usr/include/tcl" + TCL_VERSION
--            if os.path.isfile(os.path.join(tcl_dir, "tk.h")):
--                _add_directory(include_dirs, tcl_dir)
--
--        # standard locations
--        _add_directory(library_dirs, "/usr/local/lib")
--        _add_directory(include_dirs, "/usr/local/include")
--
--        _add_directory(library_dirs, "/usr/lib")
--        _add_directory(include_dirs, "/usr/include")
--
-         # on Windows, look for the OpenJPEG libraries in the location that
-         # the official installer puts them
-         if sys.platform == "win32":
-@@ -580,32 +531,9 @@
-                                   define_macros=defs))
- 
-         if feature.tcl and feature.tk:
--            if sys.platform == "darwin":
--                # locate Tcl/Tk frameworks
--                frameworks = []
--                framework_roots = [
--                    "/Library/Frameworks", "/System/Library/Frameworks"
--                ]
--                for root in framework_roots:
--                    root_tcl = os.path.join(root, "Tcl.framework")
--                    root_tk = os.path.join(root, "Tk.framework")
--                    if (os.path.exists(root_tcl) and os.path.exists(root_tk)):
--                        print("--- using frameworks at %s" % root)
--                        frameworks = ["-framework", "Tcl", "-framework", "Tk"]
--                        dir = os.path.join(root_tcl, "Headers")
--                        _add_directory(self.compiler.include_dirs, dir, 0)
--                        dir = os.path.join(root_tk, "Headers")
--                        _add_directory(self.compiler.include_dirs, dir, 1)
--                        break
--                if frameworks:
--                    exts.append(Extension("PIL._imagingtk",
--                                          ["_imagingtk.c", "Tk/tkImaging.c"],
--                                          extra_compile_args=frameworks,
--                                          extra_link_args=frameworks))
--            else:
--                exts.append(Extension("PIL._imagingtk",
--                                      ["_imagingtk.c", "Tk/tkImaging.c"],
--                                      libraries=[feature.tcl, feature.tk]))
-+            exts.append(Extension("PIL._imagingtk",
-+                                  ["_imagingtk.c", "Tk/tkImaging.c"],
-+                                  libraries=[feature.tcl, feature.tk]))
- 
-         if os.path.isfile("_imagingmath.c"):
-             exts.append(Extension("PIL._imagingmath", ["_imagingmath.c"]))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160705/86a6c20b/attachment-0001.html>


More information about the macports-changes mailing list