# -*- 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
# $Id: Portfile 119349 2014-04-23 11:10:03Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-acora
version             1.8
revision            0
categories-append   textproc devel
platforms           darwin
license             BSD

python.versions     27 33 34

maintainers         stromnov openmaintainer

description         Fast multi-keyword search engine for text strings.
long_description    ${description}

homepage            http://pypi.python.org/pypi/acora
master_sites        https://pypi.python.org/packages/source/a/acora/

distname            acora-${version}

checksums           rmd160  23d2d346db3d06d502db1de9e049096227a3fdda \
                    sha256  cfabfbccc31762ae54d05119331051c99837e77e1204c38b9d142f0375c6725b

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

    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${master_sites}
    livecheck.regex     {acora-(\d+(?:\.\d+)*)\.[tz]}
}
