Skip to content

Commit

Permalink
net/scapy: Remove test file
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
5u623l20 committed Oct 24, 2023
1 parent 2214c4a commit 5793bc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5793bc0

Please sign in to comment.