git: 5793bc0b8966 - main - net/scapy: Remove test file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Oct 2023 13:08:46 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5793bc0b896667d59b8cbcbd95459f9a9c64e785
commit 5793bc0b896667d59b8cbcbd95459f9a9c64e785
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-24 12:36:53 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-24 13:08:28 +0000
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