Changeset 88428


Ignore:
Timestamp:
Jan 2, 2012, 2:39:45 AM (9 years ago)
Author:
dports@…
Message:

py-pympler: only override patch phase in subports

File:
1 edited

Legend:

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

    r88421 r88428  
    2727master_sites        http://pypi.python.org/packages/source/P/${real_name}/
    2828distname            ${real_name}-${version}
    29 patch {
    30     reinplace "s|data_path = cobj.install_data|data_path = '${python.prefix}/share/pympler'|" \
    31         ${worksrcpath}/setup.py
     29
     30if {${subport} != ${name}} {
     31    patch {
     32        reinplace "s|data_path = cobj.install_data|data_path = '${python.prefix}/share/pympler'|" \
     33            ${worksrcpath}/setup.py
     34    }
    3235}
    3336
Note: See TracChangeset for help on using the changeset viewer.