# -*- 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 PortSystem 1.0 PortGroup python 1.0 name py-pyicu python.rootname PyICU version 2.14 revision 0 categories-append textproc license MIT maintainers nomaintainer description Python extension wrapping the ICU C++ API long_description {*}${description} homepage https://gitlab.pyicu.org/main/pyicu checksums rmd160 49cee664cbeb37d04ddbc3e30f34a6b852304e2e \ sha256 acc7eb92bd5c554ed577249c6978450a4feda0aa6f01470152b3a7b382a02132 \ size 263912 python.versions 39 310 311 312 313 if {${name} ne ${subport}} { # fix naming issue on case-sensitive filesystems worksrcdir pyicu-${version} depends_lib-append path:lib/pkgconfig/icu-uc.pc:icu # icu requires C++11 ; change to 2017 after update to version 75 patchfiles-append patch-cxx-standard-setup.py.diff compiler.cxx_standard 2011 # clang 503.0.40 provided by Xcode 5.1.1 supports C++11 but apparently not # fatal error: 'type_traits' file not found # #include compiler.blacklist-append {clang < 600.0.57} depends_test-append port:py${python.version}-six test.run yes post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README.md \ CHANGES ${destroot}${docdir} } }