# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pyicu version 1.9.2 categories-append textproc platforms darwin maintainers nomaintainer license MIT description Python extension wrapping IBM's International \ Components for Unicode C++ library (ICU) long_description ${description} homepage https://pypi.python.org/pypi/PyICU/ master_sites pypi:P/PyICU/ distname PyICU-${version} checksums rmd160 01358759a02c8e81823a1d64d35fe2018d9d857e \ sha256 9b580801eb17b09a5e0e8ef7d3b29170361ed505c5f954b723c1b48a1e502bb6 python.versions 27 34 35 if {${name} ne ${subport}} { depends_lib-append port:icu patchfiles patch-setup.py post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py } livecheck.type none } else { livecheck.type regex livecheck.url ${homepage} livecheck.regex PyICU-(\[0-9.\]+)${extract.suffix} }