New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81300


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

py-tkinter: use unified python group just for the stub

File:
1 edited

Legend:

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

    r80508 r81300  
    22 
    33PortSystem 1.0 
    4 PortGroup python24 1.0 
     4PortGroup python 1.0 
    55 
    66name                    py-tkinter 
     
    1313long_description        ${description} 
    1414 
    15 homepage                http://www.python.org/doc/current/lib/module-Tkinter.html 
     15homepage                http://docs.python.org/release/2.4.4/lib/module-Tkinter.html 
    1616master_sites    http://www.python.org/ftp/python/${version}/ 
    1717distname                Python-${version} 
    1818dist_subdir             python24 
    19 checksums               sha1 cb1972a554a458f6a26d3e047b359251865d7c96 
     19checksums               sha1 cb1972a554a458f6a26d3e047b359251865d7c96 \ 
     20                        rmd160 0687989193dec2ac108142759281be7ddcf7f31e 
    2021use_bzip2               yes 
    2122 
    22 depends_lib-append      port:tk 
     23python.versions     24 
    2324 
    24 worksrcdir              ${worksrcdir}/Modules 
     25subport py24-tkinter { 
     26    depends_lib-append  port:tk 
    2527 
    26 extract.post_args       "| tar -xf - ${distname}/Modules/_tkinter.c \ 
    27                                 ${distname}/Modules/tkappinit.c" 
    28 post-extract { 
    29         file copy       ${filespath}/setup.py ${worksrcpath} 
    30 } 
     28    worksrcdir          ${worksrcdir}/Modules 
    3129 
    32 configure { 
    33         reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py 
    34         reinplace "s|__TK-VERSION__|8.5|g" ${worksrcpath}/setup.py 
     30    extract.post_args   "| tar -xf - ${distname}/Modules/_tkinter.c \ 
     31                    ${distname}/Modules/tkappinit.c" 
     32    post-extract { 
     33        file copy       ${filespath}/setup.py ${worksrcpath} 
     34    } 
     35 
     36    configure { 
     37        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py 
     38        reinplace "s|__TK-VERSION__|8.5|g" ${worksrcpath}/setup.py 
     39    } 
    3540} 
    3641 
Note: See TracChangeset for help on using the changeset viewer.