New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81303


Ignore:
Timestamp:
07/28/11 22:51:47 (4 years ago)
Author:
jmr@…
Message:

unify py*-pil

Location:
trunk/dports/python
Files:
1 added
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pil/Portfile

    r78072 r81303  
    11# $Id$ 
    22 
    3 PortSystem              1.0 
    4 PortGroup               python24 1.0 
     3PortSystem      1.0 
     4PortGroup       python 1.0 
    55 
    6 name                    py-pil 
    7 version                 1.1.7 
    8 maintainers             nomaintainer 
    9 description             Python Imaging Library 
    10 long_description        The Python Imaging Library (PIL) adds image \ 
    11                                         processing capabilities to your Python interpreter. \ 
    12                                         This library supports many file formats, and \ 
    13                                         provides powerful image processing and graphics \ 
    14                                         capabilities.  
    15 categories-append       graphics 
    16 platforms               darwin freebsd 
    17 homepage                http://www.pythonware.com/ 
    18 master_sites    http://effbot.org/downloads/ 
    19 distname                Imaging-${version} 
    20 checksums               md5 fc14a54e1ce02a0225be8854bfba478e \ 
    21                         sha1 76c37504251171fda8da8e63ecb8bc42a69a5c81 \ 
    22                         rmd160 9af570fe100e250a4860314341fe3e6d695d7fde 
    23 patchfiles              patch-setup.py pil-2009-raclette-fb7ce579f5f9.diff 
     6name            py-pil 
     7version         1.1.7 
     8revision        3 
     9license         MIT 
     10maintainers     jmr openmaintainer 
     11description     Python Imaging Library 
     12long_description    The Python Imaging Library (PIL) adds image \ 
     13                    processing capabilities to your Python interpreter. \ 
     14                    This library supports many file formats, and \ 
     15                    provides powerful image processing and graphics \ 
     16                    capabilities.  
     17categories-append   graphics 
     18platforms       darwin freebsd 
     19homepage        http://www.pythonware.com/products/pil/ 
     20master_sites    http://effbot.org/downloads/ 
     21distname        Imaging-${version} 
     22checksums       md5 fc14a54e1ce02a0225be8854bfba478e \ 
     23                sha1 76c37504251171fda8da8e63ecb8bc42a69a5c81 \ 
     24                rmd160 9af570fe100e250a4860314341fe3e6d695d7fde 
    2425 
    25 depends_lib-append      port:freetype \ 
    26                                         port:lcms \ 
    27                                         port:py-tkinter 
     26python.versions 24 25 26 27 
    2827 
    29 post-patch { 
    30         reinplace s,__PREFIX__,${prefix},g ${worksrcpath}/setup.py 
     28if {$subport != $name} { 
     29    patchfiles      patch-setup.py pil-2009-raclette-fb7ce579f5f9.diff \ 
     30                    patch-PIL-TiffImagePlugin.py.diff 
     31 
     32    depends_lib-append  port:freetype \ 
     33                        port:lcms \ 
     34                        port:py${python.version}-tkinter 
     35     
     36    post-patch { 
     37        reinplace s,__PREFIX__,${prefix},g ${worksrcpath}/setup.py 
     38    } 
     39     
     40    post-destroot { 
     41        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} 
     42        xinstall -m 0644 -W ${worksrcpath} BUILDME CHANGES CONTENTS README \ 
     43            ${destroot}${prefix}/share/doc/${name} 
     44    } 
    3145} 
    3246 
    33 post-destroot { 
    34         xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} 
    35         xinstall -m 0644 -W ${worksrcpath} BUILDME CHANGES CONTENTS README \ 
    36                 ${destroot}${prefix}/share/doc/${name} 
    37 } 
    38  
    39 variant no_tk description {do not require the python tk interface} { 
    40         depends_lib-delete      port:py-tkinter 
    41 } 
     47livecheck.type  regex 
     48livecheck.url   ${homepage} 
     49livecheck.regex {Imaging-([0-9\.]+)\.tar\.gz} 
Note: See TracChangeset for help on using the changeset viewer.