New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82217


Ignore:
Timestamp:
08/10/11 08:39:43 (4 years ago)
Author:
snc@…
Message:

py-hgsvn: unify and update to 0.1.9

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

Legend:

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

    r65825 r82217  
    33 
    44PortSystem        1.0 
    5 PortGroup         python24 1.0 
     5PortGroup           python 1.0 
    66 
    7 name                    py-hgsvn 
    8 version                 0.1.8 
     7name                py-hgsvn 
     8version             0.1.9 
     9python.versions     24 25 26 27 
     10python.default_version  27 
    911categories              python devel 
    1012platforms               darwin 
    11 maintainers             saispo 
     13maintainers         saispo snc openmaintainer 
    1214homepage                http://pypi.python.org/pypi/hgsvn 
    1315description             hgsvn is a set of scripts for Subversion and Mercurial 
     
    1820master_sites            http://pypi.python.org/packages/source/h/hgsvn 
    1921distname                hgsvn-${version} 
    20 checksums               md5     56209eae48b955754e09185712123428 \ 
    21                         sha1    029eeb5646228194d4677d2f4e3e33bc41da44cc \ 
    22                         rmd160  af056571b2d25110b61cffbf5512cb35967a7c1f 
    2322 
    24 depends_lib-append      port:py-setuptools 
    25 depends_run-append      port:py-elementtree 
    26 post-extract            { file copy ${filespath}/ez_setup.py ${worksrcpath} } 
     23checksums           rmd160  3f6c9b0bbda5c8454478436d0c0589e04d8394e1 \ 
     24                    sha256  de45c04a1b3c3e104fcfc99973609239240c3b22789b6e87e29323c7b86c333f 
    2725 
    28 post-destroot   { 
    29         xinstall -m 644 -W ${worksrcpath} AUTHORS.txt COPYING.txt README.txt TODO.txt  \ 
    30                 ${destroot}${prefix}/share/doc/${name} 
     26if {$subport != $name} { 
     27 
     28    if {${python.version} == 24} { 
     29        depends_lib-append  port:py-setuptools 
     30        depends_run-append  port:py-elementtree 
     31    } 
     32 
     33    if {${python.version} == 27 || ${python.version} == 26 || ${python.version} == 25} { 
     34        depends_lib-append  port:py${python.version}-distribute \ 
     35                            port:mercurial \ 
     36                            port:subversion 
     37    } 
     38 
     39    post-destroot { 
     40            xinstall -m 644 -W ${worksrcpath} AUTHORS.txt COPYING.txt README.txt TODO.txt  \ 
     41                    ${destroot}${prefix}/share/doc/py${python.version}-hgsvn 
     42        if {${python.version} == 25 || ${python.version} == 24} { 
     43            move ${destroot}${prefix}/bin/hgimportsvn ${destroot}${prefix}/bin/hgimportsvn-${python.version} 
     44            move ${destroot}${prefix}/bin/hgpullsvn   ${destroot}${prefix}/bin/hgpullsvn-${python.version} 
     45            move ${destroot}${prefix}/bin/hgpushsvn   ${destroot}${prefix}/bin/hgpushsvn-${python.version} 
     46        } 
     47    } 
     48 
    3149} 
    3250 
     51livecheck.type      regex 
     52livecheck.url       ${homepage} 
     53livecheck.regex     hgsvn (\\d+(\\.\\d+)+) 
Note: See TracChangeset for help on using the changeset viewer.