Ticket #42435: patch-py-pep8.diff

File patch-py-pep8.diff, 816 bytes (added by petrrr, 11 years ago)

patch to fix livecheck

  • Portfile

    old new  
    2121
    2222homepage            http://pypi.python.org/pypi/${realname}
    2323
    24 master_sites        http://pypi.python.org/packages/source/p/${realname}
     24master_sites        https://pypi.python.org/packages/source/p/${realname}/
    2525distname            ${realname}-${version}
    2626checksums           rmd160  97b23815ea798ade69a33ef4298f1e74e62cfec6 \
    2727                    sha256  603a46e5c358ce20ac4807a0eeafac7505d1125a4c1bd8378757ada06f61bed8
     
    4040port select --set ${select.group} [file tail ${select.file}]
    4141"
    4242
     43    livecheck.type  none
     44} else {
     45    livecheck.type  regex
     46    livecheck.url   [lindex ${master_sites} 0]
     47    livecheck.regex ">${realname}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
    4348}