1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

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
This commit is contained in:
Muhammad Moinur Rahman 2023-10-24 14:36:53 +02:00
parent 2214c4a7e1
commit 5793bc0b89

View File

@ -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