Changeset 126328


Ignore:
Timestamp:
Oct 7, 2014, 11:27:40 PM (6 years ago)
Author:
petr@…
Message:

py-jcc: fix livecheck, use common pattern

File:
1 edited

Legend:

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

    r114324 r126328  
    55PortGroup           python 1.0
    66
     7set _name           JCC
     8set _n              [string index ${_name} 0]
     9
    710name                py-jcc
    811version             2.13
    9 
    1012categories-append   devel
    1113platforms           darwin
    1214maintainers         gmail.com:petrus.hyvonen openmaintainer
    1315license             Apache-2
    14 homepage            http://lucene.apache.org/pylucene/jcc/index.html
     16
    1517description         JCC is a C++ code generator for calling Java from C++/Python
    1618long_description    JCC is a C++ code generator for producing the code \
     
    2628                    declared to JCC.
    2729
    28 master_sites        http://pypi.python.org/packages/source/J/JCC/
     30homepage            http://lucene.apache.org/pylucene/jcc/index.html
    2931
    30 distname            JCC-${version}
     32master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
     33distname            ${_name}-${version}
    3134
    3235checksums           md5 5761aaaae3b9082dbc6769014b97dac3 \
     
    3740if {${name} ne ${subport}} {
    3841    depends_build   port:py${python.version}-setuptools
     42
     43    livecheck.type  none
     44} else {
     45    livecheck.type  regex
     46    livecheck.url   [lindex ${master_sites} 0]
     47    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
    3948}
Note: See TracChangeset for help on using the changeset viewer.