[69300] trunk/dports/math/shogun

jameskyle at macports.org jameskyle at macports.org
Tue Jun 29 10:56:44 PDT 2010


Revision: 69300
          http://trac.macports.org/changeset/69300
Author:   jameskyle at macports.org
Date:     2010-06-29 10:56:42 -0700 (Tue, 29 Jun 2010)
Log Message:
-----------
Resolves #25429. It also disabled hdf5 file support until an upstream fixes happens.

Modified Paths:
--------------
    trunk/dports/math/shogun/Portfile

Added Paths:
-----------
    trunk/dports/math/shogun/files/
    trunk/dports/math/shogun/files/swig_version.patch

Modified: trunk/dports/math/shogun/Portfile
===================================================================
--- trunk/dports/math/shogun/Portfile	2010-06-29 17:31:44 UTC (rev 69299)
+++ trunk/dports/math/shogun/Portfile	2010-06-29 17:56:42 UTC (rev 69300)
@@ -5,7 +5,7 @@
 
 categories          math science
 name                shogun
-version             0.9.1
+version             0.9.3
 set branch          [join [lrange [split ${version} .] 0 1] .]
 
 maintainers         jameskyle
@@ -25,12 +25,14 @@
 use_bzip2           yes
 distfiles            shogun-${version}${extract.suffix}
 
-checksums           md5     322ea08520d5c0fb2427f44ed654e4d1 \
-                    sha1    6826a9937abe24830647cea867351e4eeff689ab \
-                    rmd160  332a9b32e476cd2ab0193a58edc8667e91b95633
+checksums           md5     99afbb304d524335fc181c553047cb51 \
+                    sha1    d559dff3e11f777a23f00278d78d259ad896b829 \
+                    rmd160  9638a6b747a1177b048720b8999c60f33c7df5ef
 
 worksrcdir          ${name}-${version}/src
 
+patchfiles          swig_version.patch
+
 depends_build       port:bzip2 \
                     port:gsed
 
@@ -39,7 +41,9 @@
                     port:readline \
                     port:glpk \
                     port:python26 \
-                    port:py26-numpy
+                    port:py26-numpy \
+                    port:hdf5-18
+
 set python_prefix   ${prefix}/Library/Frameworks/Python.framework/Versions/2.6
 configure.args      --disable-svm-light \
                     --libs=${prefix}/lib \
@@ -49,7 +53,8 @@
                     --includes=${python_prefix}/include/python2.6 \
                     --python=${python_prefix}/bin/python2.6 \
                     --pydir=${python_prefix}/lib/python2.6/site-packages \
-                    --disable-doxygen
+                    --disable-doxygen \
+                    --disable-hdf5
 
 pre-fetch {
   if {[ regexp {^[2-8]} os.version]} {
@@ -98,6 +103,10 @@
                        port:py25-numpy
 }
 
+variant hmm_parallel description {Enable parallel structures in hmm training} {
+  configure.args-append --enable-hmm-parallel
+}
+
 variant no_python26 description {Do not build Python 2.6 API} {
   configure.args-delete \
   --includes=${python_prefix}/include/python2.6 \
@@ -128,7 +137,7 @@
 #   depends_build-append port:texlive \
 #                        path:bin/dot:graphviz \
 #                        port:doxygen
-# 
+#
 #   configure.args-delete --disable-doxygen
 # }
 

Added: trunk/dports/math/shogun/files/swig_version.patch
===================================================================
--- trunk/dports/math/shogun/files/swig_version.patch	                        (rev 0)
+++ trunk/dports/math/shogun/files/swig_version.patch	2010-06-29 17:56:42 UTC (rev 69300)
@@ -0,0 +1,12 @@
+--- configure.old	2010-06-29 10:41:05.000000000 -0700
++++ configure	2010-06-29 10:42:07.000000000 -0700
+@@ -2864,7 +2864,8 @@
+ 				die "swig did not return version information"
+ 			fi
+ 			if [ `echo $_swig_version | cut -f 2 -d '.'` -ge 4 ] || \
+-				[ `echo $_swig_version | cut -f 3 -d '.'` -ge 29 ]
++				[ `echo $_swig_version | cut -f 3 -d '.'` -ge 29 ] || \
++        [ `echo $_swig_version | cut -f 1 -d '.'` -ge 2 ]
+ 			then
+ 				echores "`${SWIG} -version 2>&1 | grep Version | cut -f 3 -d ' '`"
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100629/d0b82f60/attachment-0001.html>


More information about the macports-changes mailing list