aboutsummaryrefslogtreecommitdiffstats
path: root/science/py-mdp
diff options
context:
space:
mode:
authorbofh <bofh@FreeBSD.org>2016-04-11 02:56:50 +0800
committerbofh <bofh@FreeBSD.org>2016-04-11 02:56:50 +0800
commit91d2faaf2d6e4f53e8fb0b3105b4b5f2047ab4ca (patch)
treede219a1a9e45a4288994c3a3f84999008f77e79d /science/py-mdp
parent0eee5d3ca0711ec5b35fde596bb337d2a9ac7e5e (diff)
downloadfreebsd-ports-gnome-91d2faaf2d6e4f53e8fb0b3105b4b5f2047ab4ca.tar.gz
freebsd-ports-gnome-91d2faaf2d6e4f53e8fb0b3105b4b5f2047ab4ca.tar.zst
freebsd-ports-gnome-91d2faaf2d6e4f53e8fb0b3105b4b5f2047ab4ca.zip
Diffstat (limited to 'science/py-mdp')
-rw-r--r--science/py-mdp/Makefile3
-rw-r--r--science/py-mdp/distinfo4
-rw-r--r--science/py-mdp/files/patch-mdp__configuration.py12
3 files changed, 9 insertions, 10 deletions
diff --git a/science/py-mdp/Makefile b/science/py-mdp/Makefile
index 0e307980617f..f0be28f32e80 100644
--- a/science/py-mdp/Makefile
+++ b/science/py-mdp/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mdp
-PORTVERSION= 3.3
-PORTREVISION= 1
+PORTVERSION= 3.5
CATEGORIES= science python
MASTER_SITES= SF/${PORTNAME}-toolkit/${PORTNAME}-toolkit/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/science/py-mdp/distinfo b/science/py-mdp/distinfo
index c54fdb7ff0cc..98248ae01f50 100644
--- a/science/py-mdp/distinfo
+++ b/science/py-mdp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (MDP-3.3.tar.gz) = 3461a54c96a050029ec548c48fa5c60c2bb5b28cc088092438aa95c94d8b3478
-SIZE (MDP-3.3.tar.gz) = 471439
+SHA256 (MDP-3.5.tar.gz) = 33f13804d32a2430caeef04f5cf3a11209a854ab78f5686b75cff4ed6bff812b
+SIZE (MDP-3.5.tar.gz) = 335420
diff --git a/science/py-mdp/files/patch-mdp__configuration.py b/science/py-mdp/files/patch-mdp__configuration.py
index 8eb6b9dcf984..1437060584ae 100644
--- a/science/py-mdp/files/patch-mdp__configuration.py
+++ b/science/py-mdp/files/patch-mdp__configuration.py
@@ -1,11 +1,11 @@
---- ./mdp/configuration.py.orig 2012-06-20 21:46:00.000000000 +1000
-+++ ./mdp/configuration.py 2012-06-20 21:52:56.000000000 +1000
-@@ -360,7 +360,7 @@
+--- mdp/configuration.py.orig 2016-04-10 17:12:43 UTC
++++ mdp/configuration.py
+@@ -388,7 +388,7 @@ def set_configuration():
try:
import svm as libsvm
libsvm.libsvm
-- except ImportError, exc:
-+ except (ImportError, OSError) as exc:
+- except ImportError as exc:
++ except (ImportError, OSError) as exc:
config.ExternalDepFailed('libsvm', exc)
- except AttributeError, exc:
+ except AttributeError as exc:
config.ExternalDepFailed('libsvm', 'libsvm version >= 2.91 required')