[54986] trunk/dports/python
mnick at macports.org
mnick at macports.org
Wed Aug 5 09:21:34 PDT 2009
Revision: 54986
http://trac.macports.org/changeset/54986
Author: mnick at macports.org
Date: 2009-08-05 09:21:31 -0700 (Wed, 05 Aug 2009)
Log Message:
-----------
new port: python2.6 version of scikits.ann
Added Paths:
-----------
trunk/dports/python/py26-scikits-ann/
trunk/dports/python/py26-scikits-ann/Portfile
trunk/dports/python/py26-scikits-ann/files/
trunk/dports/python/py26-scikits-ann/files/patch-ann_init.diff
Added: trunk/dports/python/py26-scikits-ann/Portfile
===================================================================
--- trunk/dports/python/py26-scikits-ann/Portfile (rev 0)
+++ trunk/dports/python/py26-scikits-ann/Portfile 2009-08-05 16:21:31 UTC (rev 54986)
@@ -0,0 +1,36 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name py26-scikits-ann
+version 0.2
+maintainers mnick
+
+categories-append science
+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 http://pypi.python.org/packages/source/s/scikits.ann/
+distname scikits.ann-${version}.dev-r803
+
+checksums md5 a0380cdc31fd705c15eb50f483bbe5fb \
+ sha1 731113c04686b5178cae58df90e7f7b511206305 \
+ rmd160 b51135fd25cdcd3b4d229186153589f08e8dfa36
+
+patchfiles patch-ann_init.diff
+
+depends_lib port:py26-numpy \
+ port:swig \
+ port:libANN
+
+build.env-append CFLAGS=-I${prefix}/include
+
+livecheck.check regex
+livecheck.url ${homepage}
+livecheck.regex <i>version (\[\.\\d\]+\\d)
Property changes on: trunk/dports/python/py26-scikits-ann/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py26-scikits-ann/files/patch-ann_init.diff
===================================================================
--- trunk/dports/python/py26-scikits-ann/files/patch-ann_init.diff (rev 0)
+++ trunk/dports/python/py26-scikits-ann/files/patch-ann_init.diff 2009-08-05 16:21:31 UTC (rev 54986)
@@ -0,0 +1,13 @@
+--- scikits/ann/__init__.py.orig 2009-08-05 01:11:15.000000000 +0200
++++ scikits/ann/__init__.py 2009-08-05 01:10:59.000000000 +0200
+@@ -19,8 +19,8 @@
+
+ from info import __doc__
+
+-from numpy.testing import NumpyTest
+-test = NumpyTest().test
++from numpy.testing import Tester
++test = Tester().test
+
+ from scikits.ann.version import __version__
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090805/8cef6af0/attachment.html>
More information about the macports-changes
mailing list