Ticket #14259: Portfile.2.diff

File Portfile.2.diff, 1.3 KB (added by macports_dharland@…, 16 years ago)
  • Portfile

    old new  
    33PortSystem                      1.0
    44PortGroup                       python24 1.0
    55name                            py-logilab-common
    6 version                         0.15.0
    7 maintainers                     nomaintainer
     6version                         0.28.2
     7maintainers                     trashmail.net:macports_dharland
    88description                     A number of modules used by various projects from Logilab
    99long_description        ${description}
    1010
     
    1212
    1313homepage                        http://www.logilab.org/projects/common
    1414master_sites            ftp://ftp.logilab.fr/pub/common/
    15 distname                        common-${version}
     15distname                        logilab-common-${version}
    1616
    17 checksums                       md5 1cf6ae5086e1dfd81e8836ac4fa3a206 \
    18                                         sha1 5cb6df46c5bf47b1078885af636807fdf99cebd1
     17checksums                       md5 c736357261516d771f65f8c8306bea64 \
     18                                sha1 a0bcc360d5d5957b4880919cc848c819c0a5bc13
    1919
    2020post-destroot {
    2121        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    2222        xinstall -m 644 -W ${worksrcpath} ChangeLog README \
    2323                ${destroot}${prefix}/share/doc/${name}
     24
     25        # alter the install name of pytest to include version name
     26        move ${destroot}${prefix}/bin/pytest ${destroot}${prefix}/bin/pytest2.4
    2427}
    2528
    2629# Shared-file warning; the following file is installed by this module as