diff options
author | Alex Kozlov <ak@FreeBSD.org> | 2012-08-08 21:27:15 +0000 |
---|---|---|
committer | Alex Kozlov <ak@FreeBSD.org> | 2012-08-08 21:27:15 +0000 |
commit | 6f4e46eee7be593e87685f166c33da74bcf4f299 (patch) | |
tree | a01618b54d29a1456fc50b258334caaa0b29ce5d /science/py-mdp/files/patch-mdp__configuration.py | |
parent | add new port: games/moagg (diff) |
- Update to 3.2
- Convert to new options framework
- make py-scipy optional dependency
- Remove py-symeig, symeig routines come with mdp
- Add py-pp and libsvm-python OPTIONS
- Add OPTIONSFILE for sane make config across python versions
- Patch config.py to handle OSError as exception when it cant find libsvm.so
- Update and sort pkg-plist
- Add LICENSE
PR: ports/169266
Submitted by: koobs <koobs.freebsd@gmail.com>
Approved by: Li-Lun "Leland" Wang <llwang@infor.org> (maintainer)
Notes
Notes:
svn path=/head/; revision=302307
Diffstat (limited to 'science/py-mdp/files/patch-mdp__configuration.py')
-rw-r--r-- | science/py-mdp/files/patch-mdp__configuration.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/science/py-mdp/files/patch-mdp__configuration.py b/science/py-mdp/files/patch-mdp__configuration.py new file mode 100644 index 000000000000..8eb6b9dcf984 --- /dev/null +++ b/science/py-mdp/files/patch-mdp__configuration.py @@ -0,0 +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 @@ + try: + import svm as libsvm + libsvm.libsvm +- except ImportError, exc: ++ except (ImportError, OSError) as exc: + config.ExternalDepFailed('libsvm', exc) + except AttributeError, exc: + config.ExternalDepFailed('libsvm', 'libsvm version >= 2.91 required') |