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

Last change on this file since 106554 was 106554, checked in by cal@…, 7 years ago

icu: update to 51.2, revbump port echo depends:icu

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 106554 2013-05-30 23:03:55Z cal@macports.org $
2
3PortSystem      1.0
4PortGroup       python 1.0
5
6name            py-pyicu
7version         1.5
8revision        3
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  e063b3ba951b135503d9a3a2993ff8311ac404a2 \
25                sha256  7597ae80f8bbfed5ff321c6c3ed7200ef07d546a26ee8a08dc1ce578a9e33b04
26
27python.versions 25 26 27
28
29if {${name} != ${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.