git: b6f1c7a1bcdc - main - databases/py-cymysql: Add VECTOR and ZSTD options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Aug 2026 05:23:07 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b6f1c7a1bcdcbfa8b8ff824a06166d8bb8eea2fe
commit b6f1c7a1bcdcbfa8b8ff824a06166d8bb8eea2fe
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-08-24 05:00:27 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-08-24 05:16:29 +0000
databases/py-cymysql: Add VECTOR and ZSTD options
---
databases/py-cymysql/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/databases/py-cymysql/Makefile b/databases/py-cymysql/Makefile
index b4cd683a7b17..0865f44556a3 100644
--- a/databases/py-cymysql/Makefile
+++ b/databases/py-cymysql/Makefile
@@ -18,6 +18,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${P
USES= python
USE_PYTHON= autoplist concurrent cython pep517
+OPTIONS_DEFINE= VECTOR ZSTD
+VECTOR_DESC= VECTOR type support
+
+VECTOR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
+ZSTD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyzstd>=0:archivers/py-pyzstd@${PY_FLAVOR}
+
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +