summaryrefslogtreecommitdiff
path: root/misc/py-safetensors/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-safetensors/Makefile')
-rw-r--r--misc/py-safetensors/Makefile54
1 files changed, 27 insertions, 27 deletions
diff --git a/misc/py-safetensors/Makefile b/misc/py-safetensors/Makefile
index d5aee35c9788..b0df6168590e 100644
--- a/misc/py-safetensors/Makefile
+++ b/misc/py-safetensors/Makefile
@@ -1,14 +1,15 @@
PORTNAME= safetensors
DISTVERSIONPREFIX= v
-DISTVERSION= 0.5.3
-PORTREVISION= 2
+DISTVERSION= 0.6.0
+PORTREVISION= 1
CATEGORIES= misc python # machine-learning
#MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Simple, safe way to store and distribute tensors
-WWW= https://huggingface.co/docs/safetensors/index
+WWW= https://huggingface.co/docs/safetensors/index \
+ https://github.com/huggingface/safetensors
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/../../LICENSE
@@ -18,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-rust>0:devel/py-setuptools-rust
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}pytorch>=1.10:misc/py-pytorch@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h5py>=3.7.0:science/py-h5py@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}huggingface_hub>=0.12.1:misc/py-huggingface-hub@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}huggingface-hub>=0.12.1:misc/py-huggingface-hub@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=6.70.2:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=4.0.0:devel/py-pytest-benchmark@${PY_FLAVOR}
@@ -30,32 +31,31 @@ GH_ACCOUNT= huggingface
WRKSRC_SUBDIR= bindings/python
-CARGO_CRATES= autocfg-1.4.0 \
- cfg-if-1.0.0 \
+CARGO_CRATES= autocfg-1.5.0 \
heck-0.5.0 \
- indoc-2.0.5 \
- itoa-1.0.14 \
- libc-0.2.170 \
- memchr-2.7.4 \
+ indoc-2.0.6 \
+ itoa-1.0.15 \
+ libc-0.2.174 \
+ memchr-2.7.5 \
memmap2-0.9.5 \
memoffset-0.9.1 \
- once_cell-1.20.3 \
- portable-atomic-1.11.0 \
- proc-macro2-1.0.93 \
- pyo3-0.23.5 \
- pyo3-build-config-0.23.5 \
- pyo3-ffi-0.23.5 \
- pyo3-macros-0.23.5 \
- pyo3-macros-backend-0.23.5 \
- quote-1.0.38 \
- ryu-1.0.19 \
- serde-1.0.218 \
- serde_derive-1.0.218 \
- serde_json-1.0.139 \
- syn-2.0.98 \
- target-lexicon-0.12.16 \
- unicode-ident-1.0.17 \
- unindent-0.2.3
+ once_cell-1.21.3 \
+ portable-atomic-1.11.1 \
+ proc-macro2-1.0.95 \
+ pyo3-0.25.1 \
+ pyo3-build-config-0.25.1 \
+ pyo3-ffi-0.25.1 \
+ pyo3-macros-0.25.1 \
+ pyo3-macros-backend-0.25.1 \
+ quote-1.0.40 \
+ ryu-1.0.20 \
+ serde-1.0.219 \
+ serde_derive-1.0.219 \
+ serde_json-1.0.140 \
+ syn-2.0.104 \
+ target-lexicon-0.13.2 \
+ unicode-ident-1.0.18 \
+ unindent-0.2.4
CARGO_BUILD= no
CARGO_INSTALL= no