Ticket #51217: Portfile-py-ly.diff
File Portfile-py-ly.diff, 1.9 KB (added by dliessi (Davide Liessi), 9 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 PortGroup python 1.0 6 6 7 set _name python-ly8 set _n [string index ${_name} 0]9 10 7 name py-ly 11 version 0.9.3 8 python.rootname python-ly 9 version 0.9.4 12 10 platforms darwin 13 11 supported_archs noarch 14 12 license GPL-2+ 15 13 maintainers gmail.com:davide.liessi openmaintainer 16 14 17 15 description Tool and library for manipulating LilyPond files 18 long_description The ${ _name} package provides a Python library \16 long_description The ${python.rootname} package provides a Python library \ 19 17 and a commandline tool that can be used to parse and \ 20 18 manipulate LilyPond source files. 21 19 22 homepage https://github.com/wbsoft/${ _name}23 master_sites https://pypi.python.org/packages/ source/${_n}/${_name}/24 distname ${ _name}-${version}20 homepage https://github.com/wbsoft/${python.rootname} 21 master_sites https://pypi.python.org/packages/57/4f/889579244947368f28eda66b782331b1e75f83fd72e63f9ece93cd7a18f9/ 22 distname ${python.rootname}-${version} 25 23 26 checksums rmd160 285af950d98b102b8dbcd9cd7a1eae66511046f7 \ 27 sha256 1450f124072c72b5bfbb86f8d0fefd0b999af57ea6c55289272a3a84adb2caf8 24 checksums md5 14c8f6bb5c887564af187d1fd5fbbc91 \ 25 rmd160 334bdf62566341ce9fd5446086cb39df89addb7f \ 26 sha256 c2f87999260af3c9ea00c9997dae1e596fac40f45905d8b7e24e0f441112d63c 28 27 29 28 python.versions 27 34 35 30 29 31 30 build {} 32 31 33 livecheck.type regex34 livecheck.url https://pypi.python.org/pypi/${_name}35 livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"36 37 32 if {${name} ne ${subport}} { 38 33 livecheck.type none 34 } else { 35 livecheck.type pypi 39 36 }