pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-gguf: switch to pypi distfile



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Jul 1 15:10:37 2026 +0200
Changeset:	eea3fd955e64a22e0375dff11da061a7e38292be

Modified Files:
	py-gguf/Makefile
	py-gguf/distinfo

Log Message:
py-gguf: switch to pypi distfile

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=eea3fd955e64a22e0375dff11da061a7e38292be

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-gguf/Makefile | 15 +++++----------
 py-gguf/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 13 deletions(-)

diffs:
diff --git a/py-gguf/Makefile b/py-gguf/Makefile
index 8fb1193e54..c706d4c6c6 100644
--- a/py-gguf/Makefile
+++ b/py-gguf/Makefile
@@ -1,10 +1,9 @@
 # $NetBSD$
 
-.include "../../wip/llama.cpp/Makefile.common"
-
-GGUF_VER=	0.19.0
-PKGNAME=	${PYPKGPREFIX}-gguf-${GITHUB_TAG:S/b/${GGUF_VER}./}
+DISTNAME=	gguf-0.19.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PYPI:=g/gguf/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://pypi.org/project/gguf/
@@ -15,15 +14,11 @@ TOOL_DEPENDS+=	${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
 DEPENDS+=	${PYPKGPREFIX}-numpy>=1.17:../../math/py-numpy
 DEPENDS+=	${PYPKGPREFIX}-yaml>=5.1:../../textproc/py-yaml
 
-REPLACE_PYTHON+=		gguf-py/gguf/*.py
-REPLACE_PYTHON+=		gguf-py/gguf/scripts/*.py
+REPLACE_PYTHON+=	gguf/*.py
+REPLACE_PYTHON+=	gguf/scripts/*.py
 
 USE_LANGUAGES=	# none
 
-PYSETUPSUBDIR=	gguf-py
-
-WHEEL_NAME=	gguf-${GGUF_VER}
-
 .include "../../lang/python/application.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-gguf/distinfo b/py-gguf/distinfo
index 51ab02682b..08c2e8dc58 100644
--- a/py-gguf/distinfo
+++ b/py-gguf/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-BLAKE2s (llama.cpp-b9837.tar.gz) = 3b297913a7d7eb834b32690ce81a9f6f6daa3510264896f443b26434c33e4327
-SHA512 (llama.cpp-b9837.tar.gz) = 12c177f3653c608be7bce1e9a10fac7229bd16298023a419c97880250e4c3394525e1f609a6b4add1895db435eae745c77593aa8208eba864179de9860661ffb
-Size (llama.cpp-b9837.tar.gz) = 35060928 bytes
+BLAKE2s (gguf-0.19.0.tar.gz) = fa1f141036b26e21a06f8050f8151755dafdc25e782a0c510c8791a204d0bdc9
+SHA512 (gguf-0.19.0.tar.gz) = e3607121bbb16ef9713a042ebd0ce1db7ccfd7885009236ba4dcb142e99232667c49f283148609e4ad937ce45f3a390eae3f6b7fc9d53a1c093ad8f65b4613bd
+Size (gguf-0.19.0.tar.gz) = 111220 bytes


Home | Main Index | Thread Index | Old Index