git: 68ca6857b571 - main - security/py-keyrings.alt: adjust optional dependency (unbreak)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Thu, 18 May 2023 10:09:02 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68ca6857b571a1304bc3f2fc73ae67663bb397f8

commit 68ca6857b571a1304bc3f2fc73ae67663bb397f8
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-05-18 10:08:02 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-05-18 10:08:02 +0000

    security/py-keyrings.alt: adjust optional dependency (unbreak)
    
    In commit a16d8f14ce3b, deprecation of `security/py-pycrypto' had
    not been handled completely: one optional dependency which is off
    by default was still referencing the expiring port.
    
    According to release notes, EncryptedFileKeyring now supports both
    pycryptodome and pycryptodomex (preferring the latter), so prefer
    the latter.
    
    Reported by:    someone on t.me/freebsd_ru
---
 security/py-keyrings.alt/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/py-keyrings.alt/Makefile b/security/py-keyrings.alt/Makefile
index bb77f7242bd3..5756b2a3546c 100644
--- a/security/py-keyrings.alt/Makefile
+++ b/security/py-keyrings.alt/Makefile
@@ -29,7 +29,7 @@ ENCRYPTED_FILE_DESC=	Install pycrypto to support the Encrypted File backend
 GNOME_KEYRING_DESC=	Install GNOME Keyring to support the Gnome backend
 PYFS_DESC=		Install pyfilesystem to support the pyfs backend
 
-ENCRYPTED_FILE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:security/py-pycrypto@${PY_FLAVOR}
+ENCRYPTED_FILE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycryptodomex>0:security/py-pycryptodomex@${PY_FLAVOR}
 GNOME_KEYRING_USES=		gnome
 GNOME_KEYRING_USE=		GNOME=pygobject3
 PYFS_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR}