git: 641046531d46 - main - security/py-pycrypto: Mark DEPRECATED and set EXPIRATION_DATE to 2022-06-30

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:46:22 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=641046531d466db8ca742980607c08455dbe700e

commit 641046531d466db8ca742980607c08455dbe700e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:31:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:36 +0000

    security/py-pycrypto: Mark DEPRECATED and set EXPIRATION_DATE to 2022-06-30
    
    PR:             263586
    Reported by:    amdmi3
---
 security/py-pycrypto/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/security/py-pycrypto/Makefile b/security/py-pycrypto/Makefile
index b2967d671229..8791a05141e4 100644
--- a/security/py-pycrypto/Makefile
+++ b/security/py-pycrypto/Makefile
@@ -13,11 +13,14 @@ COMMENT=	Python Cryptography Toolkit
 LICENSE=	PD
 LICENSE_FILE=	${WRKSRC}/COPYRIGHT
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}pycryptodome
+DEPRECATED=	Unmaintained, obsolete, and contains security vulnerabilities. Use security/py-pycryptodome instead
+EXPIRATION_DATE=2022-06-30
 
 USES=		cpe python:3.6-3.10
 USE_PYTHON=	distutils autoplist
 
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}pycryptodome
+
 CPE_VENDOR=	dlitz
 
 GNU_CONFIGURE=	yes
@@ -37,7 +40,7 @@ pre-patch:
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/*/*.so
 
-regression-test: build
+do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 
 .include <bsd.port.mk>