[75101] trunk/dports/python
stromnov at macports.org
stromnov at macports.org
Sat Jan 15 12:03:52 PST 2011
Revision: 75101
http://trac.macports.org/changeset/75101
Author: stromnov at macports.org
Date: 2011-01-15 12:03:39 -0800 (Sat, 15 Jan 2011)
Log Message:
-----------
py26-mahotas: new port
Added Paths:
-----------
trunk/dports/python/py26-mahotas/
trunk/dports/python/py26-mahotas/Portfile
trunk/dports/python/py26-mahotas/files/
trunk/dports/python/py26-mahotas/files/patch-_filters.cpp.diff
Added: trunk/dports/python/py26-mahotas/Portfile
===================================================================
--- trunk/dports/python/py26-mahotas/Portfile (rev 0)
+++ trunk/dports/python/py26-mahotas/Portfile 2011-01-15 20:03:39 UTC (rev 75101)
@@ -0,0 +1,36 @@
+# -*- 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$
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name py26-mahotas
+version 0.6.2
+categories python
+platforms darwin
+
+maintainers stromnov openmaintainer
+
+description Python Image Processing Library
+long_description ${description}
+
+homepage http://luispedro.org/software/mahotas/
+master_sites http://pypi.python.org/packages/source/m/mahotas/
+
+distname mahotas-${version}
+
+checksums md5 f769fcc6ab39258ef4e1dbdb18896932 \
+ sha1 791e2450480692b3256ccaea3d0c369e632c7aad \
+ rmd160 8340a9215e2add4f308ed881d72f79160db453ea
+
+patchfiles patch-_filters.cpp.diff
+
+depends_build port:py26-distribute
+
+depends_lib port:py26-numpy \
+ port:py26-scipy \
+ port:freeimage
+
+livecheck.type regex
+livecheck.url ${master_sites}
+livecheck.regex "mahotas-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Property changes on: trunk/dports/python/py26-mahotas/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py26-mahotas/files/patch-_filters.cpp.diff
===================================================================
--- trunk/dports/python/py26-mahotas/files/patch-_filters.cpp.diff (rev 0)
+++ trunk/dports/python/py26-mahotas/files/patch-_filters.cpp.diff 2011-01-15 20:03:39 UTC (rev 75101)
@@ -0,0 +1,22 @@
+--- mahotas/_filters.cpp.orig 2011-01-15 22:55:14.000000000 +0300
++++ mahotas/_filters.cpp 2011-01-15 22:55:24.000000000 +0300
+@@ -30,15 +30,15 @@
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#include <cassert>
+-#include <memory>
+-#include "_filters.h"
+-
+ extern "C" {
+ #include <Python.h>
+ #include <numpy/ndarrayobject.h>
+ }
+
++#include <cassert>
++#include <memory>
++#include "_filters.h"
++
+ npy_intp fix_offset(const ExtendMode mode, npy_intp cc, const npy_intp len, const npy_intp border_flag_value) {
+ /* apply boundary conditions, if necessary: */
+ switch (mode) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110115/744b667a/attachment-0001.html>
More information about the macports-changes
mailing list