# -*- 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-whoosh
python.rootname     Whoosh
version             2.7.4
revision            0

supported_archs     noarch
platforms           {darwin any}
license             BSD
maintainers         nomaintainer

description         Fast pure-Python indexing and search library
long_description    \
    Whoosh is a fast, featureful full-text indexing and searching library \
    implemented in pure Python. Programmers can use it to easily add search \
    functionality to their applications and websites. Every part of how \
    Whoosh works can be extended or replaced to meet your needs exactly.

homepage            https://bitbucket.org/mchaput/whoosh/wiki/Home

checksums           rmd160  f60b9fe6277f4b9a7aa48e3c7df2d6fff6390a36 \
                    sha256  7ca5633dbfa9e0e0fa400d3151a8a0c4bec53bd2ecedc0a67705b17565c31a83 \
                    size    968741

python.versions     39 310 311

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.txt LICENSE.txt \
            ${destroot}${docdir}
    }
}
