# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-scikits-ann version 0.2 revision 1 maintainers nomaintainer categories-append science license LGPL-2.1+ description scikits.ann is a SWIG python wrapper for the Approximate Nearest Neighbor (ANN) Library long_description ${description} \ scikits.ann provides an immutable kdtree implementation (via ANN) which can \ perform k-nearest neighbor and approximate k-nearest neighbor searches. platforms darwin homepage http://scikits.appspot.com/ann master_sites pypi:s/scikits.ann/ distname scikits.ann-${version}.dev-r803 checksums md5 a0380cdc31fd705c15eb50f483bbe5fb \ sha1 731113c04686b5178cae58df90e7f7b511206305 \ rmd160 b51135fd25cdcd3b4d229186153589f08e8dfa36 python.versions 26 if {$subport ne $name} { patchfiles patch-ann_init.diff depends_lib port:py${python.version}-numpy \ port:py${python.version}-scikits-module \ port:swig-python \ port:libANN build.env-append CFLAGS=-I${prefix}/include post-destroot { # scikits/__init__.py is provided by scikits-module file delete ${destroot}${python.pkgd}/scikits/__init__.py } livecheck.type none } else { livecheck.type regex livecheck.url ${homepage} livecheck.regex version (\[\.\\d\]+\\d) }