# -*- 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 c7ddb3a7f61e24ce49f7e80b8c0ddb8722b5d255 \
sha256 419d389b014ee48f31014920f300c842df0770a283ab1fb4de82a6af334cac4d \
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}