From 5793bc0b896667d59b8cbcbd95459f9a9c64e785 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Tue, 24 Oct 2023 14:36:53 +0200 Subject: [PATCH] net/scapy: Remove test file - Scapy installs tests file in confliciting locations. Although there has been a new test framework introduced in the HEAD it's still not released. So for now the file is deleted as there is no test framework in scapt itself. PR: 271169 Reported by: dvl richard@highwayman.com --- net/scapy/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/scapy/Makefile b/net/scapy/Makefile index 6a6384989b5e..89d1d79137eb 100644 --- a/net/scapy/Makefile +++ b/net/scapy/Makefile @@ -1,6 +1,6 @@ PORTNAME= scapy PORTVERSION= 2.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -43,6 +43,7 @@ PYX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyx>0:graphics/py-pyx@${PY_FLAVOR} SOX_RUN_DEPENDS= ${LOCALBASE}/bin/sox:audio/sox post-patch: + @${RM} ${WRKSRC}/test/__init__.py @${REINPLACE_CMD} "s,share/man/man1,man/man1," ${WRKSRC}/setup.py @${REINPLACE_CMD} "s,/usr/share/,${LOCALBASE}/share/," \ ${WRKSRC}/scapy/modules/nmap.py