# -*- 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
categories-append textproc
description Python extension wrapping the ICU C++ API
long_description ${description}
homepage https://github.com/ovalhub/pyicu
master_sites pypi:P/PyICU/
distname PyICU-${version}
checksums rmd160 82f80a3db2f2ef574361413363753c9ddec85268 \
sha256 ddb2b453853b4c25db382bc5e8c4cde09b3f4696ef1e1494f8294e174f459cf4 \
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
depends_lib-append port:icu
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
depends_test-append port:py${python.version}-pytest \
port:py${python.version}-six
test.cmd py.test-${python.branch}
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE CREDITS \
README.md CHANGES ${destroot}${docdir}