git: bd902c76791d - main - databases/py-valkey: Use RUN_DEPENDS to install cryptography
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Jul 2025 21:53:19 UTC
The branch main has been updated by dtxdf:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bd902c76791dd5f663ff391a8a3563ffa420da91
commit bd902c76791dd5f663ff391a8a3563ffa420da91
Author: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2025-07-20 06:00:34 +0000
Commit: Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2025-07-20 21:51:20 +0000
databases/py-valkey: Use RUN_DEPENDS to install cryptography
OCSP_USE_PYTHON helper have no effect, although the dependencies
are installed anyway due to other dependencies. However, adding
'cryptography' to OCSP_RUN_DEPENDS does have an effect.
Approved by: acm (mentor)
---
databases/py-valkey/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/databases/py-valkey/Makefile b/databases/py-valkey/Makefile
index 09f156c56b01..261331e82005 100644
--- a/databases/py-valkey/Makefile
+++ b/databases/py-valkey/Makefile
@@ -1,5 +1,6 @@
PORTNAME= valkey
DISTVERSION= 6.1.0
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,9 +22,9 @@ LIBVALKEY_DESC= Install valkey with libvalkey support
OCSP_DESC= Enable support for OCSP stapling
LIBVALKEY_RUN_DEPENDS= libvalkey>=0:databases/libvalkey
-OCSP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \
+OCSP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
-OCSP_USE_PYTHON= cryptography
.include <bsd.port.pre.mk>