Ticket #51217: Portfile-py-ly.diff

File Portfile-py-ly.diff, 1.9 KB (added by dliessi (Davide Liessi), 8 years ago)
  • Portfile

    old new  
    44PortSystem          1.0
    55PortGroup           python 1.0
    66
    7 set _name           python-ly
    8 set _n              [string index ${_name} 0]
    9 
    107name                py-ly
    11 version             0.9.3
     8python.rootname     python-ly
     9version             0.9.4
    1210platforms           darwin
    1311supported_archs     noarch
    1412license             GPL-2+
    1513maintainers         gmail.com:davide.liessi openmaintainer
    1614
    1715description         Tool and library for manipulating LilyPond files
    18 long_description    The ${_name} package provides a Python library \
     16long_description    The ${python.rootname} package provides a Python library \
    1917                    and a commandline tool that can be used to parse and \
    2018                    manipulate LilyPond source files.
    2119
    22 homepage            https://github.com/wbsoft/${_name}
    23 master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
    24 distname            ${_name}-${version}
     20homepage            https://github.com/wbsoft/${python.rootname}
     21master_sites        https://pypi.python.org/packages/57/4f/889579244947368f28eda66b782331b1e75f83fd72e63f9ece93cd7a18f9/
     22distname            ${python.rootname}-${version}
    2523
    26 checksums           rmd160  285af950d98b102b8dbcd9cd7a1eae66511046f7 \
    27                     sha256  1450f124072c72b5bfbb86f8d0fefd0b999af57ea6c55289272a3a84adb2caf8
     24checksums           md5     14c8f6bb5c887564af187d1fd5fbbc91 \
     25                    rmd160  334bdf62566341ce9fd5446086cb39df89addb7f \
     26                    sha256  c2f87999260af3c9ea00c9997dae1e596fac40f45905d8b7e24e0f441112d63c
    2827
    2928python.versions     27 34 35
    3029
    3130build {}
    3231
    33 livecheck.type  regex
    34 livecheck.url   https://pypi.python.org/pypi/${_name}
    35 livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
    36 
    3732if {${name} ne ${subport}} {
    3833    livecheck.type  none
     34} else {
     35    livecheck.type  pypi
    3936}