# -*- 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.13.1 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 8b49f59ace576511151eeb8b720d52caddc0b2f4 \ sha256 d4919085eaa07da12bade8ee721e7bbf7ade0151ca0f82946a26c8f4b98cdceb \ size 262424 python.versions 38 39 310 311 312 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} } }