[MacPorts] #38912: replace py${python.version}-pil with py${python.version}-Pillow

MacPorts noreply at macports.org
Wed Apr 24 12:17:02 PDT 2013


#38912: replace py${python.version}-pil with py${python.version}-Pillow
-------------------------+-----------------------
 Reporter:  mmoll@…      |      Owner:  jmr
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.1.3
 Keywords:  python3 pil  |       Port:  py-opengl
-------------------------+-----------------------
 Pillow is a fork of pil that includes support for python3. Allowing
 py32-Pillow to satisfy the py32-pil dependency is another option, but I
 don't see how you'd do that. Py32-opengl installs just fine with these
 small changes:

 {{{

 Index: Portfile
 ===================================================================
 --- Portfile    (revision 105524)
 +++ Portfile    (working copy)
 @@ -26,11 +26,11 @@
                      rmd160 0cbf4bc7c2e9ba59225534085f05ee589b26fc54 \
                      sha256
 9ef93bbea2c193898341f574e281c3ca0dfe87c53aa25fbec4b03581f6d1ba03

 -python.versions     24 25 26 27
 +python.versions     24 25 26 27 32 33

  if {$subport != $name} {
      depends_build   port:py${python.version}-distribute
 -    depends_lib     port:py${python.version}-pil \
 +    depends_lib     port:py${python.version}-Pillow \
                      port:py${python.version}-opengl-accelerate \
                      port:py${python.version}-tkinter
      if {${python.version} == 24} {
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/38912>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list