New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83235


Ignore:
Timestamp:
08/28/11 23:31:33 (4 years ago)
Author:
jmr@…
Message:

unify py*-py2app

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

Legend:

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

    r82811 r83235  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 
    12# $Id$ 
    23 
    3 PortSystem              1.0 
    4 PortGroup               python24 1.0 
     4PortSystem          1.0 
     5PortGroup           python 1.0 
    56 
    6 name                    py-py2app 
    7 version                 0.6.3 
    8 revision                1 
    9 categories-append       devel 
    10 license                 {MIT PSF} 
    11 maintainers             jwa openmaintainer 
    12 description             converts python scripts into executable Mac OS X apps 
     7name                py-py2app 
     8version             0.6.3 
     9revision            1 
     10categories-append   devel 
     11license             {MIT PSF} 
     12maintainers         jmr openmaintainer 
     13description         converts python scripts into executable Mac OS X apps 
    1314long_description \ 
    1415    A distutils extension which converts python scripts into executable \ 
     
    1617    installation.  This is a replacement for bundlebuilder. 
    1718 
    18 platforms               darwin 
     19platforms           darwin 
    1920 
    20 homepage                http://wiki.python.org/moin/MacPython/py2app 
    21 master_sites            http://cheeseshop.python.org/packages/source/p/py2app/ 
    22 distname                py2app-${version} 
     21homepage            http://wiki.python.org/moin/MacPython/py2app 
     22master_sites        http://pypi.python.org/packages/source/p/py2app/ 
     23distname            py2app-${version} 
    2324 
    24 checksums           md5     49a9101ff25fb59d1ba733e329bf502e \ 
    25                     sha1    cb7daad349cdd491d2021cb05b96be471628acf4 \ 
    26                     rmd160  601e08e0292f2c115f55e85619fb2d979255b1aa 
     25checksums           md5 49a9101ff25fb59d1ba733e329bf502e \ 
     26                    sha1 cb7daad349cdd491d2021cb05b96be471628acf4 \ 
     27                    rmd160 601e08e0292f2c115f55e85619fb2d979255b1aa 
    2728 
    28 depends_lib-append      port:py-setuptools \ 
    29     port:py-macholib \ 
    30     port:py-bdist_mpkg 
     29python.versions     24 25 26 27 
    3130 
    32 post-destroot { 
    33     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} \ 
    34         ${destroot}${prefix}/share/examples/${name} 
    35     xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \ 
    36         ${destroot}${prefix}/share/doc/${name} 
    37         # tar mishandles this filename, ticket #30252 
    38         move "${destroot}${prefix}/share/examples/${name}/PyObjC/TinyTinyEdit/dist.€" \ 
    39              "${destroot}${prefix}/share/examples/${name}/PyObjC/TinyTinyEdit/dist" 
     31if {$subport != $name} { 
     32    depends_lib     port:py${python.version}-macholib \ 
     33                    port:py${python.version}-bdist_mpkg 
     34 
     35    post-destroot { 
     36        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \ 
     37        ${destroot}${prefix}/share/examples/${subport} 
     38        xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \ 
     39        ${destroot}${prefix}/share/doc/${subport} 
     40        eval file copy [glob ${worksrcpath}/examples/*] \ 
     41        ${destroot}${prefix}/share/examples/${subport} 
     42        # tar mishandles this filename with "C" locale, ticket #30252 
     43        move "${destroot}${prefix}/share/examples/${subport}/PyObjC/TinyTinyEdit/dist.€" \ 
     44             "${destroot}${prefix}/share/examples/${subport}/PyObjC/TinyTinyEdit/dist" 
     45    } 
    4046} 
    4147 
    42 livecheck.type  regex 
    43 livecheck.url   http://cheeseshop.python.org/pypi/py2app/ 
    44 livecheck.regex py2app (0\.\[0-9\]+\.\[0-9\]+) 
     48livecheck.type  regex 
     49livecheck.url   http://pypi.python.org/pypi/py2app/ 
     50livecheck.regex py2app (0\.\[0-9\]+\.\[0-9\]+) 
Note: See TracChangeset for help on using the changeset viewer.