git: 1c10d679f329 - main - devel/py-cattrs: Add CBOR2, MSGPACK, MSGSPEC, ORJSON, PYYAML, TOMLKIT and UJSON options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jun 2025 11:35:27 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1c10d679f32978f4edf2ac4f1e24a9a002d17f80
commit 1c10d679f32978f4edf2ac4f1e24a9a002d17f80
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-13 11:35:16 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-13 11:35:16 +0000
devel/py-cattrs: Add CBOR2, MSGPACK, MSGSPEC, ORJSON, PYYAML, TOMLKIT and UJSON options
---
devel/py-cattrs/Makefile | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/devel/py-cattrs/Makefile b/devel/py-cattrs/Makefile
index b49eac8fc2b3..cd2552d6cacd 100644
--- a/devel/py-cattrs/Makefile
+++ b/devel/py-cattrs/Makefile
@@ -23,4 +23,21 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+OPTIONS_DEFINE= CBOR2 MSGPACK MSGSPEC ORJSON PYYAML TOMLKIT UJSON
+CBOR2_DESC= cobr2 serialization support
+MSGPACK_DESC= msgpack serialization support
+MSGSPEC_DESC= msgspec serialization support
+ORJSON_DESC= orjson serialization support
+PYYAML_DESC= PyYAML serialization support
+TOMLKIT_DESC= tomlkit serialization support
+UJSON_DESC= UltraJSON serialization support
+
+CBOR2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cbor2>=5.4.6:devel/py-cbor2@${PY_FLAVOR}
+MSGPACK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=1.0.5:devel/py-msgpack@${PY_FLAVOR}
+MSGSPEC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgspec>=0.19.0:devel/py-msgspec@${PY_FLAVOR}
+ORJSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}orjson>=3.10.7:devel/py-orjson@${PY_FLAVOR}
+PYYAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR}
+TOMLKIT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.11.8:textproc/py-tomlkit@${PY_FLAVOR}
+UJSON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ujson>=5.10.0:devel/py-ujson@${PY_FLAVOR}
+
.include <bsd.port.mk>