Date: Fri, 25 Mar 2022 13:50:46 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 33c9be9a2266 - main - science/py-mdp: Fix build with setuptools 58.0.0+ Message-ID: <202203251350.22PDokO6037386@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=33c9be9a2266c6d67f8a21aae681fef694903f30 commit 33c9be9a2266c6d67f8a21aae681fef694903f30 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-25 13:33:34 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-25 13:38:19 +0000 science/py-mdp: Fix build with setuptools 58.0.0+ With hat: python --- science/py-mdp/files/patch-mdp__configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/science/py-mdp/files/patch-mdp__configuration.py b/science/py-mdp/files/patch-mdp__configuration.py index 1437060584ae..3a15968aa3b3 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 2016-04-10 17:12:43 UTC +--- mdp/configuration.py.orig 2016-03-04 08:39:38 UTC +++ mdp/configuration.py @@ -388,7 +388,7 @@ def set_configuration(): try: import svm as libsvm libsvm.libsvm - except ImportError as exc: -+ except (ImportError, OSError) as exc: ++ except (ImportError, OSError) as exc: config.ExternalDepFailed('libsvm', exc) except AttributeError as exc: config.ExternalDepFailed('libsvm', 'libsvm version >= 2.91 required')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203251350.22PDokO6037386>