Ticket #44249: python_py-reportlab.diff

File python_py-reportlab.diff, 636 bytes (added by Ionic (Mihai Moldovan), 10 years ago)

New patch. Make both py*-pil and py*-Pillow satisfy the dependency.

  • python/py-reportlab/Portfile

    diff --git a/python/py-reportlab/Portfile b/python/py-reportlab/Portfile
    index 2d28f0e..14eef65 100644
    a b if {${name} ne ${subport}} { 
    4141        distname            reportlab-${version}
    4242
    4343        patchfiles-append   patch-src_reportlab_lib_testutils.py.diff
    44     } elseif {${subport} eq "py27-reportlab"} {
    45         depends_lib-append  port:py${python.version}-pil
    4644    } else {
    47         depends_lib-append  port:py${python.version}-Pillow
     45        depends_lib-append  path:${python.pkgd}/PIL:py${python.version}-Pillow
    4846    }
    4947
    5048    post-destroot {