git: c79e33cb9407 - main - net/py-impacket: Fix dependencies, undeprecate

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Thu, 07 Jul 2022 11:58:13 UTC
The branch main has been updated by grembo:

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

commit c79e33cb940794ef34e5343a40e9c0d88fe72f4c
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2022-07-07 11:56:33 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2022-07-07 11:56:33 +0000

    net/py-impacket: Fix dependencies, undeprecate
    
    Upstream switched from py-pycrypto to py-pycryptodome in 2018.
    Do the same in the port and undeprecate.
---
 net/py-impacket/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/net/py-impacket/Makefile b/net/py-impacket/Makefile
index b6031214c75d..cac4e37aa924 100644
--- a/net/py-impacket/Makefile
+++ b/net/py-impacket/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	impacket
 PORTVERSION=	0.9.17
+PORTREVISION=	1
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP \
 		https://github.com/CoreSecurity/impacket/releases/download/impacket_${PORTVERSION:S,.,_,g}/
@@ -14,12 +15,9 @@ LICENSE=	APACHE11 ZLIB
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-DEPRECATED=	Depends on expired security/py-pycrypto
-EXPIRATION_DATE=2022-09-30
-
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pcapy>=0:net/py-pcapy@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}
 
 USES=		dos2unix python:3.6+
 USE_PYTHON=	autoplist distutils