Ignore:
Timestamp:
Oct 10, 2011, 2:39:02 PM (8 years ago)
Author:
snc@…
Message:

py-requests: fix livecheck

File:
1 edited

Legend:

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

    r84550 r85148  
    2929                    sha256  2656b23db25398e990e6f5d75dfbd960454a1fe573aeedc651773ddd2a8a3bbc
    3030
    31 livecheck.type      regex
    32 livecheck.url       ${homepage}
    33 livecheck.regex     requests (\\d+(\\.\\d+)+)
     31if {$subport != $name} {
     32    livecheck.type      none
     33} else {
     34    livecheck.type      regex
     35    livecheck.url       ${homepage}
     36    livecheck.regex     requests (\\d+(\\.\\d+)+)
     37}
Note: See TracChangeset for help on using the changeset viewer.