source: trunk/dports/python/py-pyicu/Portfile @ 135232

Last change on this file since 135232 was 135232, checked in by ryandesign@…, 5 years ago

icu: update to 55.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 135232 2015-04-20 00:15:39Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       python 1.0
5
6name            py-pyicu
7version         1.8
8revision        2
9categories-append   textproc
10platforms       darwin
11maintainers     nomaintainer
12license         MIT
13
14description     Python extension wrapping IBM's International \
15                Components for Unicode C++ library (ICU)
16
17long_description \
18                ${description}
19
20homepage        http://pyicu.osafoundation.org/
21master_sites    http://pypi.python.org/packages/source/P/PyICU/
22distname        PyICU-${version}
23
24checksums       rmd160  9793711f1bcf65cf1f6d1ff6f83bab418b61bcf3 \
25                sha256  bc499fc858dce96041edaee4f345084fc5f245c2a3b79a759a095a2a500f66f8
26
27python.versions 27 34
28
29if {${name} ne ${subport}} {
30    depends_lib-append  port:icu
31
32    patchfiles          patch-setup.py
33
34    post-patch {
35        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
36    }
37
38    livecheck.type      none
39} else {
40    livecheck.type      regex
41    livecheck.url       [lindex ${master_sites} 0]
42    livecheck.regex     PyICU-(\[0-9.\]+)${extract.suffix}
43}
Note: See TracBrowser for help on using the repository browser.