summaryrefslogtreecommitdiff
path: root/misc/py-llama-cpp-python
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-08-01 07:36:41 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-08-01 07:38:25 -0700
commit4ce5d39f0dca2b6804ddf4020ae4caf1a6e5f5f3 (patch)
tree2689466291142b8df81d93ad1b154012e4f54ba1 /misc/py-llama-cpp-python
parentmisc/py-censys: update 2.2.12 → 2.2.13 (diff)
misc/py-llama-cpp-python: update 0.2.84 → 0.2.85
Reported by: portscout
Diffstat (limited to 'misc/py-llama-cpp-python')
-rw-r--r--misc/py-llama-cpp-python/Makefile2
-rw-r--r--misc/py-llama-cpp-python/distinfo6
-rw-r--r--misc/py-llama-cpp-python/files/patch-llama__cpp_llama__cpp.py11
3 files changed, 4 insertions, 15 deletions
diff --git a/misc/py-llama-cpp-python/Makefile b/misc/py-llama-cpp-python/Makefile
index 1a8d2ad7f44b..5ab186090049 100644
--- a/misc/py-llama-cpp-python/Makefile
+++ b/misc/py-llama-cpp-python/Makefile
@@ -1,6 +1,6 @@
PORTNAME= llama-cpp-python
DISTVERSIONPREFIX= v
-DISTVERSION= 0.2.84
+DISTVERSION= 0.2.85
CATEGORIES= misc # machine-learning
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/misc/py-llama-cpp-python/distinfo b/misc/py-llama-cpp-python/distinfo
index 79307b9535ed..defc070cb9bf 100644
--- a/misc/py-llama-cpp-python/distinfo
+++ b/misc/py-llama-cpp-python/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1722209930
-SHA256 (abetlen-llama-cpp-python-v0.2.84_GH0.tar.gz) = 5b030c3ee8aeefa2f3b49c0788f34b7da3fef2502dd856c68d9ede6b93dd8e53
-SIZE (abetlen-llama-cpp-python-v0.2.84_GH0.tar.gz) = 274756
+TIMESTAMP = 1722503336
+SHA256 (abetlen-llama-cpp-python-v0.2.85_GH0.tar.gz) = 6178d60b757d49dcd58694d38198514fa4b0acd37bbb0d01fd25f18a6476b64a
+SIZE (abetlen-llama-cpp-python-v0.2.85_GH0.tar.gz) = 274880
SHA256 (ggerganov-llama.cpp-4730fac_GH0.tar.gz) = 8b54c2f6c0560e48cf2af91840c33d81f688edfecbd11043d4bf7c098a125497
SIZE (ggerganov-llama.cpp-4730fac_GH0.tar.gz) = 19005559
diff --git a/misc/py-llama-cpp-python/files/patch-llama__cpp_llama__cpp.py b/misc/py-llama-cpp-python/files/patch-llama__cpp_llama__cpp.py
deleted file mode 100644
index 64e43300b493..000000000000
--- a/misc/py-llama-cpp-python/files/patch-llama__cpp_llama__cpp.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- llama_cpp/llama_cpp.py.orig 2024-07-28 03:36:26 UTC
-+++ llama_cpp/llama_cpp.py
-@@ -28,7 +28,7 @@ def _load_shared_library(lib_base_name: str):
- # for llamacpp) and "llama" (default name for this repo)
- _lib_paths: List[pathlib.Path] = []
- # Determine the file extension based on the platform
-- if sys.platform.startswith("linux"):
-+ if sys.platform.startswith("linux") or sys.platform.startswith("freebsd"):
- _lib_paths += [
- _base_path / f"lib{lib_base_name}.so",
- ]