Ticket #34070: Portfile.diff

File Portfile.diff, 1.7 KB (added by 3add3287 (3add3287), 12 years ago)

patch to py-dnspython's Portfile

  • Portfile

    old new  
    44PortGroup          python 1.0
    55
    66name               py-dnspython
    7 version            1.9.4
     7version            1.10.0
    88categories-append  net
    99platforms          darwin
    1010maintainers        ram openmaintainer
     
    1919master_sites       ${homepage}kits/${version}
    2020distname           dnspython-${version}
    2121
    22 python.versions    24 25 26 27
     22python.versions    24 25 26 27 31 32
    2323
    24 checksums          md5 8a89b7865251c4e9d8ec2f8cc9f8cd78 \
    25                    sha1 41d00d0f81bc9aba02c5c62e1d4a8ee57810410e \
    26                    rmd160 0ec0bb554208b215e8f70b7ebc41414387d6a178
     24checksums          md5 b4f60852fd7ba64fc7c3a1fa239eba33 \
     25                   sha1 bcfc6ca1a2227ad42a70a0d8d172f4139bdd8d94 \
     26                   rmd160 44f6ddf2b2534be1e6466d96741d688400763b79
     27
     28if {$subport != $name} {
     29    if {${python.version} >= 30} {
     30        distname        dnspython3-${version}
     31        master_sites    ${homepage}kits3/${version}
     32        checksums       md5 17d0ec54f83df3e95846fc4e20224a96 \
     33                        sha1 4b68bb3c3b6919d318143e56bfbd7f1897e61733 \
     34                        rmd160 0c6e84e30b06d713a13ba7615dc723ba42c683f0
     35    }
     36}
    2737
    2838post-destroot {
    2939  if {${name} != ${subport}} {
    3040  xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}/examples
    31   xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README TODO \
     41  xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE README \
    3242    ${destroot}${prefix}/share/doc/${subport}
    3343  xinstall -m 644 -W ${worksrcpath}/examples ddns.py e164.py \
    3444    mx.py name.py reverse.py reverse_name.py xfr.py \