diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-04-20 13:47:07 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-04-20 13:47:43 -0700 |
commit | 97c28a6205418913c189cf2c1d28c5f5b4b212da (patch) | |
tree | 675124f3af90ea58d644381982379a01fee22bca /misc/py-xgboost/files/patch-xgboost_libpath.py | |
parent | misc/xgboost: Update 1.2.1 -> 1.4.1 (diff) |
misc/py-xgboost: Update 1.2.1 -> 1.4.1
Reported by: portscout
Diffstat (limited to 'misc/py-xgboost/files/patch-xgboost_libpath.py')
-rw-r--r-- | misc/py-xgboost/files/patch-xgboost_libpath.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/py-xgboost/files/patch-xgboost_libpath.py b/misc/py-xgboost/files/patch-xgboost_libpath.py index 12916ce3222b..e3f94a08c138 100644 --- a/misc/py-xgboost/files/patch-xgboost_libpath.py +++ b/misc/py-xgboost/files/patch-xgboost_libpath.py @@ -1,14 +1,14 @@ ---- xgboost/libpath.py.orig 2020-10-12 22:10:16 UTC +--- xgboost/libpath.py.orig 2021-04-20 00:31:38 UTC +++ xgboost/libpath.py -@@ -4,6 +4,7 @@ - import os +@@ -5,6 +5,7 @@ import os import platform + from typing import List import sys +import sysconfig # from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247408#c0 class XGBoostLibraryNotFound(Exception): -@@ -20,6 +21,8 @@ def find_lib_path(): +@@ -21,6 +22,8 @@ def find_lib_path() -> List[str]: """ curr_path = os.path.dirname(os.path.abspath(os.path.expanduser(__file__))) dll_path = [ |