Changeset 97528 for trunk/dports/python


Ignore:
Timestamp:
Sep 8, 2012, 1:56:57 AM (7 years ago)
Author:
michaelld@…
Message:

py-urlgrabber : set default python version to avoid bad dependency; set livecheck in outside scope only.

File:
1 edited

Legend:

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

    r97525 r97528  
    88version             3.9.1
    99python.versions     24 25 26 27
     10python.default_version 27
    1011maintainers         afb stromnov openmaintainer
    1112
     
    3132
    3233    post-patch {
    33         reinplace "s|/usr/bin/python|${python.bin}|g" ${worksrcpath}/scripts/urlgrabber
     34        reinplace "s|/usr/bin/python|${python.bin}|g" \
     35            ${worksrcpath}/scripts/urlgrabber
    3436    }
     37
     38    livecheck.type      none
     39
     40} else {
     41
     42    livecheck.type      regex
     43    livecheck.url       ${master_sites}
     44    livecheck.regex     "urlgrabber-(\\d+(?:\\.\\d+)*)${extract.suffix}"
     45
    3546}
    36 
    37 livecheck.type      regex
    38 livecheck.url       ${master_sites}
    39 livecheck.regex     "urlgrabber-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracChangeset for help on using the changeset viewer.