git: 4ce5d39f0dca - main - misc/py-llama-cpp-python: update 0.2.84 → 0.2.85

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 01 Aug 2024 14:38:33 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4ce5d39f0dca2b6804ddf4020ae4caf1a6e5f5f3

commit 4ce5d39f0dca2b6804ddf4020ae4caf1a6e5f5f3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-01 14:36:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-01 14:38:25 +0000

    misc/py-llama-cpp-python: update 0.2.84 → 0.2.85
    
    Reported by:    portscout
---
 misc/py-llama-cpp-python/Makefile                             |  2 +-
 misc/py-llama-cpp-python/distinfo                             |  6 +++---
 misc/py-llama-cpp-python/files/patch-llama__cpp_llama__cpp.py | 11 -----------
 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",
-         ]