git: d9e4bc4a1378 - main - misc/py-huggingface-hub: Update to 1.12.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Sat, 25 Apr 2026 04:57:09 UTC
The branch main has been updated by tagattie:

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

commit d9e4bc4a1378f8966481468ecc7734184568ad88
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-04-25 04:55:50 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-04-25 04:57:01 +0000

    misc/py-huggingface-hub: Update to 1.12.0
    
    Changelog:
    - https://github.com/huggingface/huggingface_hub/releases/tag/v1.10.2
    - https://github.com/huggingface/huggingface_hub/releases/tag/v1.11.0
    - https://github.com/huggingface/huggingface_hub/releases/tag/v1.12.0
    
    Reported by:    portscout
---
 misc/py-huggingface-hub/Makefile | 6 ++++--
 misc/py-huggingface-hub/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/misc/py-huggingface-hub/Makefile b/misc/py-huggingface-hub/Makefile
index e1ed6457eda4..4bc373be953f 100644
--- a/misc/py-huggingface-hub/Makefile
+++ b/misc/py-huggingface-hub/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	huggingface-hub
-DISTVERSION=	1.10.1
+DISTVERSION=	1.12.0
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,8 @@ WWW=		https://github.com/huggingface/huggingface_hub
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}filelock>=3.10.0:sysutils/py-filelock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}fsspec>=2023.5.0:filesystems/py-fsspec@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}httpx>=0.23.0<1:www/py-httpx@${PY_FLAVOR} \
@@ -25,7 +27,7 @@ RUN_DEPENDS_amd64=	${PYTHON_PKGNAMEPREFIX}hf-xet>=1.4.3<2.0.0:misc/py-hf-xet@${P
 RUN_DEPENDS_aarch4=	${PYTHON_PKGNAMEPREFIX}hf-xet>=1.4.3<2.0.0:misc/py-hf-xet@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/misc/py-huggingface-hub/distinfo b/misc/py-huggingface-hub/distinfo
index 485bae73fb44..d4f236efdabe 100644
--- a/misc/py-huggingface-hub/distinfo
+++ b/misc/py-huggingface-hub/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1775877876
-SHA256 (huggingface_hub-1.10.1.tar.gz) = 696c53cf9c2ac9befbfb5dd41d05392a031c69fc6930d1ed9671debd405b6fff
-SIZE (huggingface_hub-1.10.1.tar.gz) = 758094
+TIMESTAMP = 1777091985
+SHA256 (huggingface_hub-1.12.0.tar.gz) = 7c3fe85e24b652334e5d456d7a812cd9a071e75630fac4365d9165ab5e4a34b6
+SIZE (huggingface_hub-1.12.0.tar.gz) = 763091