# -*- 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 128507 2014-11-22 17:13:13Z petr@macports.org $ PortSystem 1.0 PortGroup python 1.0 set _name Whoosh set _n [string index ${_name} 0] name py-whoosh version 2.5.7 platforms darwin supported_archs noarch 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 master_sites https://pypi.python.org/packages/source/${_n}/${_name} distname ${_name}-${version} checksums md5 9d35a7498d5c7af8fe162f63719f4eeb \ rmd160 e5bd168af8cc5cd601af9d3aff6c6cb85c38d61c \ sha256 450d3b76c45dd26ceda101ebafee181c7ab377e8ea37ff5aaca1be79227f73fa python.versions 27 34 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools livecheck.type none } else { livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<" }