[122606] trunk/dports/zope

petr at macports.org petr at macports.org
Thu Jul 24 08:07:46 PDT 2014


Revision: 122606
          https://trac.macports.org/changeset/122606
Author:   petr at macports.org
Date:     2014-07-24 08:07:46 -0700 (Thu, 24 Jul 2014)
Log Message:
-----------
zope-cmfphoto zope-extfile zope-zphotoslides : switch from py*-pil to path-based dependency, ticket #44281

Modified Paths:
--------------
    trunk/dports/zope/zope-cmfphoto/Portfile
    trunk/dports/zope/zope-extfile/Portfile
    trunk/dports/zope/zope-zphotoslides/Portfile

Modified: trunk/dports/zope/zope-cmfphoto/Portfile
===================================================================
--- trunk/dports/zope/zope-cmfphoto/Portfile	2014-07-24 14:57:50 UTC (rev 122605)
+++ trunk/dports/zope/zope-cmfphoto/Portfile	2014-07-24 15:07:46 UTC (rev 122606)
@@ -19,7 +19,11 @@
 master_sites        sourceforge:collective
 checksums           md5 460f13f2ecc18c80a13324dd4eaafabb
 
+set python.version  26 
+set python.branch   "[string range ${python.version} 0 end-1].[string index ${python.version} end]" 
+set python.pkgd     ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages 
+
 depends_lib-append  port:zope-cmf \
-                    port:py26-pil
+                    path:${python.pkgd}/PIL:py${python.version}-Pillow
 
 depends_run         bin:convert:ImageMagick

Modified: trunk/dports/zope/zope-extfile/Portfile
===================================================================
--- trunk/dports/zope/zope-extfile/Portfile	2014-07-24 14:57:50 UTC (rev 122605)
+++ trunk/dports/zope/zope-extfile/Portfile	2014-07-24 15:07:46 UTC (rev 122606)
@@ -30,4 +30,8 @@
 master_sites        ${homepage}/${version}/
 checksums           md5 4e13441da832a904cb75ad367388ae8b
 
-depends_lib-append  port:py26-pil
+set python.version  26 
+set python.branch   "[string range ${python.version} 0 end-1].[string index ${python.version} end]" 
+set python.pkgd     ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages 
+
+depends_lib-append  path:${python.pkgd}/PIL:py${python.version}-Pillow

Modified: trunk/dports/zope/zope-zphotoslides/Portfile
===================================================================
--- trunk/dports/zope/zope-zphotoslides/Portfile	2014-07-24 14:57:50 UTC (rev 122605)
+++ trunk/dports/zope/zope-zphotoslides/Portfile	2014-07-24 15:07:46 UTC (rev 122606)
@@ -25,9 +25,14 @@
 master_sites        sourceforge:zphotoslides
 checksums           md5 c2be3084f144ecfe1a97b4b6439fe659
 
+set python.version  26 
+set python.branch   "[string range ${python.version} 0 end-1].[string index ${python.version} end]" 
+set python.pkgd     ${frameworks_dir}/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages 
+
 depends_lib-append  port:zope-localizer \
                     port:zope-stripogram \
-                    port:py26-pil
+                    path:${python.pkgd}/PIL:py${python.version}-Pillow
+
 depends_run         bin:convert:ImageMagick
 
 patchfiles          patch-__init__.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140724/cf4eb3c8/attachment.html>


More information about the macports-changes mailing list