git: f2a9a5c3bbd5 - main - security/py-stem: Replace 'pycrypto with 'cryptography'

From: Vinícius Zavam <egypcio_at_FreeBSD.org>
Date: Sun, 07 Aug 2022 14:59:22 UTC
The branch main has been updated by egypcio:

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

commit f2a9a5c3bbd57761069645e422ed63fc64a694bd
Author:     Vinícius Zavam <egypcio@FreeBSD.org>
AuthorDate: 2022-08-07 14:53:48 +0000
Commit:     Vinícius Zavam <egypcio@FreeBSD.org>
CommitDate: 2022-08-07 14:59:16 +0000

    security/py-stem: Replace 'pycrypto with 'cryptography'
    
      * Fix 'DEPRECATED';
      * Maintainer reset per long time hiatus in Bugzilla (6months+);
      * Replace 'pycrypto with 'cryptography' (follow upstream);
    
      https://gitlab.torproject.org/legacy/trac/-/issues/21086#note_2236877
    
    PR:             248712
    Reported by:    John W. O'Brien <john % saltant.com>
    Approved by:    rene@
---
 security/py-stem/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/security/py-stem/Makefile b/security/py-stem/Makefile
index 80bde3cc27c7..4b5a57e83a4d 100644
--- a/security/py-stem/Makefile
+++ b/security/py-stem/Makefile
@@ -1,19 +1,17 @@
 PORTNAME=	stem
 PORTVERSION=	1.8.0
+PORTREVISION=	1
 CATEGORIES=	security net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	cs@FreeBSD.org
+MAINTAINER=	egypcio@FreeBSD.org
 COMMENT=	Python controller library for Tor
 
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-DEPRECATED=	Depends on expired security/py-pycrypto
-EXPIRATION_DATE=2022-09-30
-
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyflakes>0:devel/py-pyflakes@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR}