# -*- 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
python.rootname pyenchant
categories-append textproc
description A python interface to the enchant spell-checking library.
long_description PyEnchant is a spellchecking library for Python, \
based on the excellent Enchant library.
homepage https://pypi.org/project/pyenchant/
master_sites pypi:p/pyenchant/
distname pyenchant-${version}
checksums rmd160 418e2f231f11f4b7c23ab5e2217ad4971c407560 \
sha256 fc31cda72ace001da8fe5d42f11c26e514a91fa8c70468739216ddd8de64e2a0 \
deprecated.upstream_support no
python.versions 27 35 36 37
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
patchfiles patch-enchant-_enchant.py.diff
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/enchant/_enchant.py