# -*- 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 148976 2016-05-24 07:48:05Z raimue@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-hypy version 0.8.5.1 categories-append textproc license LGPL-2.1 platforms darwin maintainers nomaintainer description Fulltext search interface for Python applications long_description Hypy is a fulltext search interface for Python \ applications. Use it to index and search your \ documents from Python code. homepage http://goonmill.org/hypy/ master_sites pypi:H/Hypy/ distname Hypy-${version} checksums md5 61f2a7f618a24dc249d33b4670f13d55 \ rmd160 d300b13e1bc5b33c607de6c7e2357b9c9ae77440 \ sha256 56d63dd65b81d1c1c3c57d167833fc3777b99c4d650a5d6b516eef95a27605e0 python.versions 27 if {${name} ne ${subport}} { depends_build port:py${python.version}-setuptools depends_lib-append port:hyperestraier patchfiles patch-setup.py.diff post-patch { reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py reinplace "s|VERSION_NOT_FOUND|${version}|" ${worksrcpath}/setup.py } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} README.txt \ ${destroot}${prefix}/share/doc/${subport} } livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} livecheck.regex {Hypy-([0-9.]+)\.tar\.gz} }