# -*- 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-pyhyphen
version                 3.0.1
categories-append       textproc
license                 Apache-2
maintainers             nomaintainer
description             The hyphenation library of LibreOffice and FireFox wrapped for Python
long_description        PyHyphen is a wrapper around the high quality \
                        hyphenation library hyphen-2.4 (May 2008) that ships \
                        with OpenOffice.org and Mozilla products. Hence, all \
                        dictionaries compatible with OpenOffice can be used. \
                        PyHyphen also contains textwrap2, an enhanced though \
                        backwards-compatible version of the standard Python \
                        module textwrap. Not very surprisingly, textwrap2 can \
                        hyphenate words when wrapping them.

platforms               darwin

homepage                https://bitbucket.org/fhaxbox66/pyhyphen
master_sites            pypi:P/PyHyphen/
distname                PyHyphen-${version}

checksums               rmd160  06d5cf7859443b40c8a380b7ad3b1ec74b25056b \
                        sha256  379a78c49cadd8653d5634951bf243a0d99704eee496d8b23ddb00dc81a0e1fb \
                        size    31174

python.versions         27 36 37

if {$subport ne $name} {
    depends_lib-append \
                        port:py${python.version}-appdirs \
                        port:py${python.version}-setuptools \
                        port:py${python.version}-six

    livecheck.type      none
}