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,40 +1,42 @@ PORTNAME= huggingface-hub -DISTVERSION= 1.10.1 +DISTVERSION= 1.12.0 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} MAINTAINER= tagattie@FreeBSD.org COMMENT= Official Python client for the Huggingface Hub 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} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.42.1:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>0:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.1.0:devel/py-typing-extensions@${PY_FLAVOR} \ ${RUN_DEPENDS_${ARCH}} RUN_DEPENDS_amd64= ${PYTHON_PKGNAMEPREFIX}hf-xet>=1.4.3<2.0.0:misc/py-hf-xet@${PY_FLAVOR} 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 PORTDOCS= README.md OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include 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