git: e81cb55d3a2d - main - net/scapy: Remove DEPRECATION

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 04 Jul 2022 15:47:20 UTC
The branch main has been updated by bofh:

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

commit e81cb55d3a2d93356159ffa0d923a0863cedc8eb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-07-04 12:25:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-07-04 15:46:48 +0000

    net/scapy: Remove DEPRECATION
    
    - Use security/py-pycryptodome instead of security/py-pycrypto which is
      now defunct
---
 net/scapy/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/net/scapy/Makefile b/net/scapy/Makefile
index 3772f4bd8fba..3f987deeb894 100644
--- a/net/scapy/Makefile
+++ b/net/scapy/Makefile
@@ -1,5 +1,4 @@
 # Created by: vanhu <vanhu@netasq.com>
-
 PORTNAME=	scapy
 PORTVERSION=	2.4.5
 CATEGORIES=	net python
@@ -12,9 +11,6 @@ COMMENT=	Powerful interactive packet manipulation program in python
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-DEPRECATED=	Depends on expired security/py-pycrypto
-EXPIRATION_DATE=2022-09-30
-
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libdnet>0:net/py-libdnet@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pypcap>0:net/py-pypcap@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}
@@ -42,7 +38,7 @@ NMAP_RUN_DEPENDS=	${LOCALBASE}/share/nmap/nmap-os-db:security/nmap
 MANUF_RUN_DEPENDS=	${LOCALBASE}/share/wireshark/manuf:net/wireshark
 MATPLOT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}
 P0F_BASE_RUN_DEPENDS=	${LOCALBASE}/etc/p0f.fp:net-mgmt/p0f
-PYCRYPTO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR}
+PYCRYPTO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}
 PYX_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyx>0:graphics/py-pyx@${PY_FLAVOR}
 SOX_RUN_DEPENDS=	${LOCALBASE}/bin/sox:audio/sox